mirror of https://github.com/sqfmi/Watchy.git
Compare commits
11 Commits
35dc364f6c
...
825e7fc614
Author | SHA1 | Date |
---|---|---|
Elías Angulo | 825e7fc614 | |
Elías Angulo | ccfad545f6 | |
Elías Angulo | 6c22dd8b9a | |
Elías Angulo | e6b04575e9 | |
Elías Angulo | c0012df0c3 | |
Elías Angulo | d7a36ef688 | |
Elías Angulo | d3978c0f59 | |
Elías Angulo | 2e1bb8ef5b | |
Elías Angulo | 23974379ee | |
Elías A. Angulo Klein | 72fd470169 | |
Elías A. Angulo Klein | 0bdc561546 |
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue