diff --git a/.github/workflows/build_firmware.yml b/.github/workflows/build_firmware.yml index c7ef3e37d..40a47f1ea 100644 --- a/.github/workflows/build_firmware.yml +++ b/.github/workflows/build_firmware.yml @@ -22,7 +22,7 @@ jobs: pip install --upgrade platformio - name: Build for Arduino UNO run: | - platformio run --environment uno + platformio run --environment uno-avr mkdir -p build mv .pio/build/uno/firmware.hex build/ayab_monolithic_uno.hex - name: Cache build asset diff --git a/platformio.ini b/platformio.ini index 720ed8bd6..5eee9080b 100644 --- a/platformio.ini +++ b/platformio.ini @@ -9,11 +9,19 @@ ; https://docs.platformio.org/page/projectconf.html [platformio] -default_envs = uno +default_envs = uno-avr [env] framework = arduino -[env:uno] +[env:uno-avr] platform = atmelavr board = uno + +[env:uno-r4-minima] +platform = renesas-ra +board = uno_r4_minima + +[env:uno-r4-wifi] +platform = renesas-ra +board = uno_r4_wifi \ No newline at end of file diff --git a/src/ayab/board.h b/src/ayab/board.h index 8a4d286e0..d29919b37 100644 --- a/src/ayab/board.h +++ b/src/ayab/board.h @@ -54,7 +54,7 @@ constexpr uint16_t START_KNITTING_DELAY = 2000U; #if defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__) // Arduino Uno #else -#error "untested board" +#warning "untested board" #endif #endif // BOARD_H_