tinygo.org/x/drivers@v0.27.1-0.20240509133757-7dbca2a54349/smoketest.sh (about)

     1  #!/bin/sh
     2  # These commands are run when running `make smoke-test`.
     3  # They are all run in parallel with the -o flag changed to something unique (to
     4  # avoid a race condition between writing the output and reading the result to
     5  # get an md5sum).
     6  
     7  
     8  tinygo build -size short -o ./build/test.hex -target=feather-rp2040 ./examples/adafruit4650
     9  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/adt7410/main.go
    10  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/adxl345/main.go
    11  tinygo build -size short -o ./build/test.hex -target=pybadge ./examples/amg88xx
    12  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/apa102/main.go
    13  tinygo build -size short -o ./build/test.hex -target=nano-33-ble ./examples/apds9960/proximity/main.go
    14  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/apa102/itsybitsy-m0/main.go
    15  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/at24cx/main.go
    16  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/bh1750/main.go
    17  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/blinkm/main.go
    18  tinygo build -size short -o ./build/test.hex -target=pinetime     ./examples/bma42x/main.go
    19  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/bmi160/main.go
    20  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/bmp180/main.go
    21  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/bmp280/main.go
    22  tinygo build -size short -o ./build/test.hex -target=trinket-m0 ./examples/bmp388/main.go
    23  tinygo build -size short -o ./build/test.hex -target=bluepill ./examples/ds1307/sram/main.go
    24  tinygo build -size short -o ./build/test.hex -target=bluepill ./examples/ds1307/time/main.go
    25  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/ds3231/main.go
    26  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/easystepper/main.go
    27  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/flash/console/spi
    28  tinygo build -size short -o ./build/test.hex -target=pyportal ./examples/flash/console/qspi
    29  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/gc9a01/main.go
    30  tinygo build -size short -o ./build/test.hex -target=feather-m0 ./examples/gps/i2c/main.go
    31  tinygo build -size short -o ./build/test.hex -target=feather-m0 ./examples/gps/uart/main.go
    32  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/hcsr04/main.go
    33  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/hd44780/customchar/main.go
    34  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/hd44780/text/main.go
    35  tinygo build -size short -o ./build/test.hex -target=arduino-nano33 ./examples/hd44780i2c/main.go
    36  tinygo build -size short -o ./build/test.hex -target=nano-33-ble ./examples/hts221/main.go
    37  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/hub75/main.go
    38  tinygo build -size short -o ./build/test.hex -target=pyportal ./examples/ili9341/basic
    39  tinygo build -size short -o ./build/test.hex -target=xiao ./examples/ili9341/basic
    40  tinygo build -size short -o ./build/test.hex -target=pyportal ./examples/ili9341/pyportal_boing
    41  tinygo build -size short -o ./build/test.hex -target=pyportal ./examples/ili9341/scroll
    42  tinygo build -size short -o ./build/test.hex -target=xiao ./examples/ili9341/scroll
    43  tinygo build -size short -o ./build/test.hex -target=pyportal ./examples/ili9341/slideshow
    44  tinygo build -size short -o ./build/test.hex -target=circuitplay-express ./examples/lis3dh/main.go
    45  tinygo build -size short -o ./build/test.hex -target=nano-33-ble ./examples/lps22hb/main.go
    46  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/lsm303agr/main.go
    47  tinygo build -size short -o ./build/test.hex -target=arduino-nano33 ./examples/lsm6ds3/main.go
    48  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/mag3110/main.go
    49  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/mcp23017/main.go
    50  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/mcp23017-multiple/main.go
    51  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/mcp3008/main.go
    52  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/mcp2515/main.go
    53  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/microbitmatrix/main.go
    54  tinygo build -size short -o ./build/test.hex -target=microbit-v2 ./examples/microbitmatrix/main.go
    55  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/mma8653/main.go
    56  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/mpu6050/main.go
    57  tinygo build -size short -o ./build/test.hex -target=p1am-100 ./examples/p1am/main.go
    58  tinygo build -size short -o ./build/test.hex -target=pico ./examples/pca9685/main.go
    59  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/pcd8544/setbuffer/main.go
    60  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/pcd8544/setpixel/main.go
    61  tinygo build -size short -o ./build/test.hex -target=feather-rp2040 ./examples/seesaw
    62  tinygo build -size short -o ./build/test.hex -target=arduino ./examples/servo
    63  tinygo build -size short -o ./build/test.hex -target=pico     ./examples/sgp30
    64  tinygo build -size short -o ./build/test.hex -target=pybadge ./examples/shifter/main.go
    65  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/sht3x/main.go
    66  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/sht4x/main.go
    67  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/shtc3/main.go
    68  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/ssd1306/i2c_128x32/main.go
    69  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/ssd1306/spi_128x64/main.go
    70  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/ssd1331/main.go
    71  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/st7735/main.go
    72  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/st7789/main.go
    73  tinygo build -size short -o ./build/test.hex -target=circuitplay-express ./examples/thermistor/main.go
    74  tinygo build -size short -o ./build/test.hex -target=circuitplay-bluefruit ./examples/tone
    75  tinygo build -size short -o ./build/test.hex -target=arduino-nano33 ./examples/tm1637/main.go
    76  tinygo build -size short -o ./build/test.hex -target=pyportal ./examples/touch/resistive/fourwire/main.go
    77  tinygo build -size short -o ./build/test.hex -target=pyportal ./examples/touch/resistive/pyportal_touchpaint/main.go
    78  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/vl53l1x/main.go
    79  tinygo build -size short -o ./build/test.hex -target=itsybitsy-m0 ./examples/vl6180x/main.go
    80  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/waveshare-epd/epd2in13/main.go
    81  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/waveshare-epd/epd2in13x/main.go
    82  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/waveshare-epd/epd4in2/main.go
    83  tinygo build -size short -o ./build/test.hex -target=circuitplay-express ./examples/ws2812
    84  tinygo build -size short -o ./build/test.bin -target=m5stamp-c3          ./examples/ws2812
    85  tinygo build -size short -o ./build/test.hex -target=feather-nrf52840 ./examples/is31fl3731/main.go
    86  tinygo build -size short -o ./build/test.hex -target=arduino   ./examples/ws2812
    87  tinygo build -size short -o ./build/test.hex -target=digispark ./examples/ws2812
    88  tinygo build -size short -o ./build/test.hex -target=trinket-m0 ./examples/bme280/main.go
    89  tinygo build -size short -o ./build/test.hex -target=circuitplay-express ./examples/microphone/main.go
    90  tinygo build -size short -o ./build/test.hex -target=circuitplay-express ./examples/buzzer/main.go
    91  tinygo build -size short -o ./build/test.hex -target=trinket-m0 ./examples/veml6070/main.go
    92  tinygo build -size short -o ./build/test.hex -target=arduino-nano33 ./examples/l293x/simple/main.go
    93  tinygo build -size short -o ./build/test.hex -target=arduino-nano33 ./examples/l293x/speed/main.go
    94  tinygo build -size short -o ./build/test.hex -target=arduino-nano33 ./examples/l9110x/simple/main.go
    95  tinygo build -size short -o ./build/test.hex -target=arduino-nano33 ./examples/l9110x/speed/main.go
    96  tinygo build -size short -o ./build/test.hex -target=nucleo-f103rb ./examples/shiftregister/main.go
    97  tinygo build -size short -o ./build/test.hex -target=hifive1b ./examples/ssd1351/main.go
    98  tinygo build -size short -o ./build/test.hex -target=circuitplay-express ./examples/lis2mdl/main.go
    99  tinygo build -size short -o ./build/test.hex -target=arduino-nano33 ./examples/max72xx/main.go
   100  tinygo build -size short -o ./build/test.hex -target=feather-m0 ./examples/dht/main.go
   101  # tinygo build -size short -o ./build/test.hex -target=arduino ./examples/keypad4x4/main.go
   102  tinygo build -size short -o ./build/test.hex -target=feather-rp2040 ./examples/pcf8523/
   103  tinygo build -size short -o ./build/test.hex -target=xiao ./examples/pcf8563/alarm/
   104  tinygo build -size short -o ./build/test.hex -target=xiao ./examples/pcf8563/clkout/
   105  tinygo build -size short -o ./build/test.hex -target=xiao ./examples/pcf8563/time/
   106  tinygo build -size short -o ./build/test.hex -target=xiao ./examples/pcf8563/timer/
   107  tinygo build -size short -o ./build/test.hex -target=pico ./examples/qmi8658c/main.go
   108  tinygo build -size short -o ./build/test.hex -target=feather-m0 ./examples/ina260/main.go
   109  tinygo build -size short -o ./build/test.hex -target=nucleo-l432kc ./examples/aht20/main.go
   110  tinygo build -size short -o ./build/test.hex -target=feather-m4 ./examples/sdcard/console/
   111  tinygo build -size short -o ./build/test.hex -target=feather-m4 ./examples/i2csoft/adt7410/
   112  tinygo build -size short -o ./build/test.elf -target=wioterminal ./examples/axp192/m5stack-core2-blinky/
   113  tinygo build -size short -o ./build/test.uf2 -target=pico ./examples/xpt2046/main.go
   114  tinygo build -size short -o ./build/test.elf -target=m5stack-core2 ./examples/ft6336/basic/
   115  tinygo build -size short -o ./build/test.elf -target=m5stack-core2 ./examples/ft6336/touchpaint/
   116  tinygo build -size short -o ./build/test.hex -target=nucleo-wl55jc ./examples/sx126x/lora_rxtx/
   117  tinygo build -size short -o ./build/test.uf2 -target=pico ./examples/ssd1289/main.go
   118  tinygo build -size short -o ./build/test.hex -target=pico ./examples/irremote/main.go
   119  tinygo build -size short -o ./build/test.hex -target=badger2040 ./examples/uc8151/main.go
   120  tinygo build -size short -o ./build/test.uf2 -target=pico ./examples/scd4x/main.go
   121  tinygo build -size short -o ./build/test.uf2 -target=circuitplay-express ./examples/makeybutton/main.go
   122  tinygo build -size short -o ./build/test.hex -target=arduino-nano33 ./examples/ds18b20/main.go
   123  tinygo build -size short -o ./build/test.hex -target=nucleo-wl55jc ./examples/lora/lorawan/atcmd/
   124  tinygo build -size short -o ./build/test.uf2 -target=pico ./examples/as560x/main.go
   125  tinygo build -size short -o ./build/test.uf2 -target=pico ./examples/mpu6886/main.go
   126  tinygo build -size short -o ./build/test.hex -target=arduino-nano33 ./examples/ttp229/main.go
   127  tinygo build -size short -o ./build/test.hex -target=pico ./examples/ndir/main_ndir.go
   128  tinygo build -size short -o ./build/test.hex -target=microbit ./examples/ndir/main_ndir.go
   129  tinygo build -size short -o ./build/test.hex -target=arduino-nano33 ./examples/ndir/main_ndir.go
   130  tinygo build -size short -o ./build/test.uf2 -target=pico ./examples/mpu9150/main.go
   131  tinygo build -size short -o ./build/test.hex -target=macropad-rp2040 ./examples/sh1106/macropad_spi
   132  tinygo build -size short -o ./build/test.hex -target=macropad-rp2040 ./examples/encoders/quadrature-interrupt
   133  # network examples (espat)
   134  tinygo build -size short -o ./build/test.hex -target=challenger-rp2040 ./examples/net/ntpclient/
   135  # network examples (wifinina)
   136  tinygo build -size short -o ./build/test.hex -target=pyportal -stack-size 8kb ./examples/net/http-get/
   137  tinygo build -size short -o ./build/test.hex -target=arduino-nano33 -stack-size 8kb ./examples/net/tcpclient/
   138  tinygo build -size short -o ./build/test.hex -target=nano-rp2040 -stack-size 8kb ./examples/net/websocket/dial/
   139  tinygo build -size short -o ./build/test.hex -target=metro-m4-airlift -stack-size 8kb ./examples/net/socket/
   140  tinygo build -size short -o ./build/test.hex -target=matrixportal-m4 -stack-size 8kb ./examples/net/webstatic/
   141  tinygo build -size short -o ./build/test.hex -target=arduino-mkrwifi1010 -stack-size 8kb ./examples/net/tlsclient/
   142  tinygo build -size short -o ./build/test.hex -target=nano-rp2040 -stack-size 8kb ./examples/net/mqttclient/natiu/
   143  # network examples (rtl8720dn)
   144  tinygo build -size short -o ./build/test.hex -target=wioterminal -stack-size 8kb ./examples/net/webclient/
   145  tinygo build -size short -o ./build/test.hex -target=wioterminal -stack-size 8kb ./examples/net/webserver/
   146  tinygo build -size short -o ./build/test.hex -target=wioterminal -stack-size 8kb ./examples/net/mqttclient/paho/