Compare commits

...

10 Commits

Author SHA1 Message Date
Elías Angulo ccfad545f6
Update dev.actions.yml 2024-07-22 09:29:19 +02:00
Elías Angulo 6c22dd8b9a
Update main.actions.yml 2024-07-22 09:28:42 +02:00
Elías Angulo e6b04575e9
Update v3.actions.yml 2024-07-22 09:28:14 +02:00
Elías Angulo c0012df0c3
Update test.actions.yml 2024-07-22 09:24:23 +02:00
Elías Angulo d7a36ef688
Update test.actions.yml 2024-07-22 09:19:13 +02:00
Elías Angulo d3978c0f59
Update dev.actions.yml 2024-07-22 09:01:07 +02:00
Elías Angulo 2e1bb8ef5b
Update test.actions.yml 2024-07-22 08:57:06 +02:00
Elías Angulo 23974379ee
Create test.actions.yml 2024-07-22 08:49:01 +02:00
Elías A. Angulo Klein 72fd470169 Update platformio.ini 2024-07-22 08:33:27 +02:00
Elías A. Angulo Klein 0bdc561546 Update platformio.ini 2024-07-22 07:47:15 +02:00
5 changed files with 58 additions and 13 deletions

View File

@ -16,7 +16,7 @@ jobs:
with: with:
arduino-board-fqbn: esp32:esp32:watchy:Revision=v20,PartitionScheme=min_spiffs,UploadSpeed=921600,DebugLevel=none,EraseFlash=none arduino-board-fqbn: esp32:esp32:watchy:Revision=v20,PartitionScheme=min_spiffs,UploadSpeed=921600,DebugLevel=none,EraseFlash=none
platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
arduino-platform: esp32:esp32@3.0.3 arduino-platform: esp32:esp32@2.0.17
required-libraries: Adafruit GFX Library,Arduino_JSON,DS3232RTC,NTPClient,Rtc_Pcf8563,GxEPD2,WiFiManager required-libraries: Adafruit GFX Library,Arduino_JSON,DS3232RTC,NTPClient,Rtc_Pcf8563,GxEPD2,WiFiManager
set-build-path: true set-build-path: true
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3

View File

@ -16,7 +16,7 @@ jobs:
with: with:
arduino-board-fqbn: esp32:esp32:watchy:Revision=${{ matrix.board-revisions }},PartitionScheme=huge_app,UploadSpeed=921600,DebugLevel=none,EraseFlash=none arduino-board-fqbn: esp32:esp32:watchy:Revision=${{ matrix.board-revisions }},PartitionScheme=huge_app,UploadSpeed=921600,DebugLevel=none,EraseFlash=none
platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
arduino-platform: esp32:esp32@3.0.3 arduino-platform: esp32:esp32@2.0.17
required-libraries: Adafruit GFX Library,Arduino_JSON,DS3232RTC,NTPClient,Rtc_Pcf8563,GxEPD2,WiFiManager required-libraries: Adafruit GFX Library,Arduino_JSON,DS3232RTC,NTPClient,Rtc_Pcf8563,GxEPD2,WiFiManager
set-build-path: true set-build-path: true
- name: Rename binaries with board revision - name: Rename binaries with board revision

28
.github/workflows/test.actions.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: Build Example Watchfaces
on:
push:
branches:
- "dev"
pull_request:
branches:
- "dev"
jobs:
build:
name: Build Example Watchfaces
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: ArminJo/arduino-test-compile@v3
with:
arduino-board-fqbn: espressif32:esp32:esp32:Revision=v20,PartitionScheme=min_spiffs,UploadSpeed=921600,DebugLevel=none,EraseFlash=none
platform-url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
arduino-platform: espressif32:esp32:esp32
required-libraries: Adafruit GFX Library,Arduino_JSON,DS3232RTC,NTPClient,Rtc_Pcf8563,GxEPD2,WiFiManager
set-build-path: true
- uses: actions/upload-artifact@v3
with:
name: binaries
path: ${{ github.workspace }}/examples/WatchFaces/**/build/*.bin
- uses: actions/download-artifact@v3
- name: Display structure of downloaded files
run: ls -R

View File

@ -16,7 +16,7 @@ jobs:
with: with:
arduino-board-fqbn: esp32:esp32:esp32s3:FlashSize=8M,PartitionScheme=default_8MB,UploadSpeed=921600,DebugLevel=none,EraseFlash=none arduino-board-fqbn: esp32:esp32:esp32s3:FlashSize=8M,PartitionScheme=default_8MB,UploadSpeed=921600,DebugLevel=none,EraseFlash=none
platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
arduino-platform: esp32:esp32@3.0.3 arduino-platform: esp32:esp32@2.0.17
required-libraries: Adafruit GFX Library,Arduino_JSON,DS3232RTC,NTPClient,Rtc_Pcf8563,GxEPD2,WiFiManager required-libraries: Adafruit GFX Library,Arduino_JSON,DS3232RTC,NTPClient,Rtc_Pcf8563,GxEPD2,WiFiManager
set-build-path: true set-build-path: true
- name: Rename binaries with board revision - name: Rename binaries with board revision

View File

@ -13,14 +13,20 @@
platform = espressif32@6.7.0 platform = espressif32@6.7.0
framework = arduino framework = arduino
;CDC enabled on boot: ;CDC enabled on boot:
build_flags = -DCDC_ENABLED build_flags = -DCDC_ENABLED -DJTAG_ENABLED -DMSC_ENABLED
;erase flash before upload: ;erase flash before upload:
;upload_flags = --erase-all ;upload_flags = --erase-all
;upload speed: ;upload speed:
upload_speed = 115200 upload_speed = 115200
;build mode debug
build_type = debug
;upload port (put yours here): ;upload port (put yours here):
upload_port = COM7 ;upload_port = COM7 ;for windows
;upload_port = /dev/ttyACM0 for linux ;monitor_port = COM7 ;for windows
;upload_port = /dev/ttyACM0 ;for linux
;monitor_port = /dev/ttyACM0 ;for linux
;upload_port = /dev/cu.usbserial-0001 ;for mac
;monitor_port = /dev/cu.usbserial-0001 ;for mac
board_build.partitions = default_8MB.csv board_build.partitions = default_8MB.csv
monitor_speed = 115200 monitor_speed = 115200
lib_deps = lib_deps =
@ -33,15 +39,26 @@ lib_deps =
https://github.com/tzapu/WiFiManager.git#master https://github.com/tzapu/WiFiManager.git#master
[env:esp32-s3-devkitc-1] [env:v3_0]
; This is for v3 ; This is for v3
extends = env:base extends = env:base
board = esp32-s3-devkitc-1 board = esp32-s3-devkitc-1
board_build.mcu = esp32s3 build_flags = -DARDUINO_ESP32S3_DEV
framework = arduino
[env:esp32-pico-devkitm-2] [env:v2_0]
; This is for v1, v1.5, v2 ; This is for v3
extends = env:base extends = env:base
board = esp32-pico-devkitm-2 board = watchy
framework = arduino build_flags = -DARDUINO_WATCHY_V20
[env:v1_5]
; This is for v3
extends = env:base
board = watchy
build_flags = -DARDUINO_WATCHY_V15
[env:v1_0]
; This is for v3
extends = env:base
board = watchy
build_flags = -DARDUINO_WATCHY_V10