diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..3119723 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Build all boards +on: + push: + branches: + - master + +jobs: + main: + name: Build all boards + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Setup Python + uses: actions/setup-python@master + with: + python-version: '3.x' + - name: Install Platform IO + run: | + python -m pip install --upgrade pip + pip install -U platformio + - name: Build + run: platformio run -e esp32-a1s -e lolin32 -e lolin_d32 -e lolin_d32_pro -e nodemcu-32s -e az-delivery-devkit-v4 -e ttgo_t8 diff --git a/README.md b/README.md index d2c68d9..3fbde5f 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ ## NEWS * EN: I've set up a primarily German-speaking community with much documentation. Also an international corner for non-German-speakers is available at https://forum.espuino.de. Github-Login can be used there but it's not necessary. * DE: Ich habe ein primär deutschsprachiges Forum aufgesetzt, welches ich mit reichlich Doku versehen habe. Würde mich freuen, euch dort zu sehen: https://forum.espuino.de. Ihr könnt euch dort mit eurem Github-Login einloggen, jedoch auch "normal" anmelden. Dokumenation findet ihr insbesondere hier: https://forum.espuino.de/c/dokumentation/anleitungen/10 +## Build status +![build workflow](https://github.com/biologist79/ESPuino/actions/workflows/build.yml/badge.svg) ## Changelog Moved to [another location](changelog.md) as it became to prominent here. Only last three events are kept: * 26.02.2021: Shutdown via webgui is now available. diff --git a/platformio.ini b/platformio.ini index 4e141c3..199161a 100644 --- a/platformio.ini +++ b/platformio.ini @@ -26,19 +26,19 @@ lib_deps_external = [env:common] platform = espressif32 -build_flags = -DHAL=1 -DHAL=3 -DHAL=4 ; Don't forget to run this script if you changed the html-files provided in any way extra_scripts = pre:processHtml.py -[env:esp32-a12] +[env:esp32-a1s] platform = espressif32 board = esp-wrover-kit framework = arduino monitor_speed = 115200 -board_build.partitions = huge_ap.csv +board_build.partitions = huge_app.csv build_flags = -DHAL=2 + -DRFID_READER_TYPE_MFRC522_I2C -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue lib_deps = @@ -56,6 +56,7 @@ board = lolin32 framework = arduino monitor_speed = 115200 board_build.partitions = huge_app.csv +build_flags = -DHAL=1 lib_deps = ${common.lib_deps_builtin} ${common.lib_deps_external} @@ -74,6 +75,7 @@ board = lolin_d32 framework = arduino monitor_speed = 115200 board_build.partitions = huge_app.csv +build_flags = -DHAL=3 lib_deps = ${common.lib_deps_builtin} ${common.lib_deps_external} @@ -100,7 +102,8 @@ lib_deps = extra_scripts = ${env:common.extra_scripts} upload_port = /dev/cu.wchusbserial1410 monitor_port = /dev/cu.wchusbserial1410 -build_flags = -DBOARD_HAS_PSRAM +build_flags = -DHAL=4 + -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue platform_packages = platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.5-rc6 @@ -156,7 +159,8 @@ lib_deps = extra_scripts = ${env:common.extra_scripts} upload_port = /dev/cu.SLAB_USBtoUART monitor_port = /dev/cu.SLAB_USBtoUART -build_flags = -DBOARD_HAS_PSRAM +build_flags = -DHAL=5 + -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue platform_packages = platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.5-rc6