2024-10-04 22:53:56 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
RTOSES="baremetal FreeRTOS"
|
|
|
|
|
|
|
|
|
|
|
|
dotest ()
|
|
|
|
{
|
|
|
|
echo "BOARD=$1 IDE=$2 RTOS=$3" >> test.log
|
|
|
|
make BOARD=$1 IDE=$2 RTOS=$3 || ( \
|
|
|
|
echo "^^^ FAILED ^^^" >> test.log && rm -rf wizard* workspace )
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
cd `dirname "$0"`
|
|
|
|
rm test.log
|
|
|
|
|
|
|
|
|
|
|
|
STM32="f207 f429 f439 f746 f756 f767 h563 h573 h723 h735 h743 h745 h747 h753 h755"
|
|
|
|
STIDES="GCC+make CubeIDE"
|
|
|
|
# Keil: f756
|
|
|
|
for board in $STM32; do
|
|
|
|
for ide in $STIDES; do
|
|
|
|
for rtos in $RTOSES; do
|
|
|
|
dotest $board $ide $rtos
|
|
|
|
done
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
2024-10-04 22:53:56 +08:00
|
|
|
NXP="mcxn947"
|
|
|
|
NXPIDES="GCC+make MCUXpresso"
|
2024-10-04 22:53:56 +08:00
|
|
|
for board in $NXP; do
|
|
|
|
for ide in $NXPIDES; do
|
2024-10-04 22:53:56 +08:00
|
|
|
for rtos in $RTOSES; do
|
2024-10-04 22:53:56 +08:00
|
|
|
dotest $board $ide $rtos
|
|
|
|
done
|
|
|
|
done
|
|
|
|
done
|
2024-10-04 22:53:56 +08:00
|
|
|
NXP="rt1020 rt1024 rt1040 rt1060 rt1064 rt1170"
|
|
|
|
for board in $NXP; do
|
|
|
|
dotest $board "GCC+make" "baremetal"
|
|
|
|
done
|
2024-10-04 22:53:56 +08:00
|
|
|
|
|
|
|
|
|
|
|
INFINEON="xmc4400 xmc4700 xmc7200"
|
|
|
|
INFINEONIDES="GCC+make"
|
|
|
|
for board in $INFINEON; do
|
|
|
|
for ide in $INFINEONIDES; do
|
|
|
|
for rtos in "baremetal"; do
|
|
|
|
dotest $board $ide $rtos
|
|
|
|
done
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
2024-10-04 22:53:56 +08:00
|
|
|
TI="tm4c129"
|
|
|
|
TIIDES="GCC+make"
|
|
|
|
for board in $TI; do
|
|
|
|
for ide in $TIIDES; do
|
|
|
|
for rtos in $RTOSES; do
|
|
|
|
dotest $board $ide $rtos
|
|
|
|
done
|
|
|
|
done
|
|
|
|
done
|
|
|
|
dotest "tms570" "CGT+make" "baremetal"
|
|
|
|
|
|
|
|
|
2024-10-04 22:53:56 +08:00
|
|
|
PICO="evb-pico"
|
|
|
|
for board in $PICO; do
|
|
|
|
for rtos in "baremetal"; do
|
|
|
|
dotest $board "Pico-SDK" $rtos
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
ESP="esp32"
|
|
|
|
for board in $ESP; do
|
|
|
|
dotest $board "ESP-IDF" "baremetal"
|
|
|
|
done
|
|
|
|
|
|
|
|
|
2024-10-04 22:53:56 +08:00
|
|
|
ZEPHYR="f207 f429 f746 f756 f767 h563 h573 h723 h735 h743 h745 h747 h753 h755 mcxn947 rt1060 rt1064 evb-pico"
|
|
|
|
for board in $ZEPHYR; do
|
|
|
|
echo dotest $board "Zephyr" "baremetal"
|
|
|
|
done
|
|
|
|
|
|
|
|
|
2024-10-04 22:53:56 +08:00
|
|
|
ARDUINO="teensy41"
|
|
|
|
|
|
|
|
rm -rf workspace pico-sdk
|
|
|
|
cd -
|