-
Notifications
You must be signed in to change notification settings - Fork 54
Add Espressif C5 devkit #835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
1bd7427
8813764
3e921e7
7cefcf3
cdcd90b
1969fcb
f3ecc12
94130b1
04d0642
564a014
325d63b
08990f6
70b0023
2c2755a
da343ff
37e8f30
48c5acb
a70e176
dd8a7e0
ed67e3e
d85a868
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -72,7 +72,7 @@ jobs: | |
| - uses: actions/checkout@v4 | ||
| with: | ||
| repository: adafruit/ci-arduino | ||
| ref: ci-wippersnapper | ||
| ref: ci-wippersnapper-esp333 | ||
| path: ci | ||
| - name: Checkout Board Definitions | ||
| uses: actions/checkout@v4 | ||
|
|
@@ -145,6 +145,8 @@ jobs: | |
| board_name=${board_name%_noota} | ||
| # Remove 'wippersnapper_' prefix if present | ||
| board_name=${board_name#wippersnapper_} | ||
| # Remove 'espressif_' prefix if present | ||
| board_name=${board_name#espressif_} | ||
| content=$(cat ws-boards/boards/${board_name//_/-}/definition.json) | ||
| { | ||
| echo 'boardJson<<EOF' | ||
|
|
@@ -289,7 +291,7 @@ jobs: | |
| - uses: actions/checkout@v4 | ||
| with: | ||
| repository: adafruit/ci-arduino | ||
| ref: ci-wippersnapper | ||
| ref: ci-wippersnapper-esp333 | ||
| path: ci | ||
| - name: Install CI-Arduino | ||
| run: bash ci/actions_install.sh | ||
|
|
@@ -367,6 +369,7 @@ jobs: | |
| "itsybitsy_esp32", | ||
| "dfrobot_beetle_esp32c3", | ||
| "wippersnapper_qtpy_esp32c3", | ||
| "espressif_esp32c5_devkitc_1_n8r4", | ||
| "wippersnapper_feather_esp32c6" | ||
| ] | ||
| include: | ||
|
|
@@ -375,6 +378,8 @@ jobs: | |
| arduino-platform: "dfrobot_beetle_esp32c3" | ||
| - offset: "0x0" | ||
| arduino-platform: "wippersnapper_qtpy_esp32c3" | ||
| - offset: "0x2000" | ||
| arduino-platform: "espressif_esp32c5_devkitc_1_n8r4" | ||
| - offset: "0x0" | ||
| arduino-platform: "wippersnapper_feather_esp32c6" | ||
| steps: | ||
|
|
@@ -406,13 +411,14 @@ jobs: | |
| - uses: actions/checkout@v4 | ||
| with: | ||
| repository: adafruit/ci-arduino | ||
| ref: ci-wippersnapper | ||
| ref: ci-wippersnapper-esp333 | ||
| path: ci | ||
| - name: Checkout Board Definitions | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| repository: adafruit/Wippersnapper_Boards | ||
| path: ws-boards | ||
| ref: add-c5devkit | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will this ref be removed after the boards repo PR is merged? |
||
| - name: Install CI-Arduino | ||
| run: bash ci/actions_install.sh | ||
| - name: Install extra Arduino libraries | ||
|
|
@@ -450,7 +456,7 @@ jobs: | |
| mv nanopb/pb.h src/nanopb/nanopb.pb.h | ||
| - name: Install Dependencies | ||
| run: | | ||
| pip install esptool==4.6 | ||
| pip install esptool | ||
| - name: build ESP32 platforms | ||
| run: python3 ci/build_platform.py ${{ matrix.arduino-platform }} --build_timeout 48000 | ||
| - name: Check artifacts | ||
|
|
@@ -459,6 +465,7 @@ jobs: | |
| - name: Rename build artifacts to reflect the platform name | ||
| run: | | ||
| mv examples/Wippersnapper_demo/build/*/Wippersnapper_demo.ino.bin wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.bin | ||
| # mv examples/Wippersnapper_demo/build/*/Wippersnapper_demo.ino.merged.bin wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.auto-merge.bin | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If commenting out, please add another commented line explaining why you are commenting this out |
||
| mv examples/Wippersnapper_demo/build/*/Wippersnapper_demo.ino.elf wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.elf | ||
| mv examples/Wippersnapper_demo/build/*/Wippersnapper_demo.ino.map wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.map | ||
| mv examples/Wippersnapper_demo/build/*/Wippersnapper_demo.ino.bootloader.bin wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.bootloader.bin | ||
|
|
@@ -482,6 +489,8 @@ jobs: | |
| board_name=${board_name%_noota} | ||
| # Remove 'wippersnapper_' prefix if present | ||
| board_name=${board_name#wippersnapper_} | ||
| # Remove 'espressif_' prefix if present | ||
| board_name=${board_name#espressif_} | ||
| content=$(cat ws-boards/boards/${board_name//_/-}/definition.json) | ||
| { | ||
| echo 'boardJson<<EOF' | ||
|
|
@@ -492,14 +501,11 @@ jobs: | |
| run: | | ||
| echo ${{ steps.get_board_json.outputs.boardJson }} | ||
| echo ${{ fromJson(steps.get_board_json.outputs.boardJson) }} | ||
| python3 -m esptool --chip ${{fromJson(steps.get_board_json.outputs.boardJson).esptool.chip}} merge_bin \ | ||
| --flash_mode ${{fromJson(steps.get_board_json.outputs.boardJson).esptool.flashMode}} \ | ||
| --flash_freq ${{fromJson(steps.get_board_json.outputs.boardJson).esptool.flashFreq}} \ | ||
| --flash_size ${{fromJson(steps.get_board_json.outputs.boardJson).esptool.flashSize}} \ | ||
| python3 -m esptool --chip ${{fromJson(steps.get_board_json.outputs.boardJson).esptool.chip}} merge-bin \ | ||
| --flash-mode keep --flash-freq keep --flash-size keep \ | ||
| -o wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.combined.bin \ | ||
| ${{ matrix.offset }} wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.bootloader.bin \ | ||
| 0x8000 wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.partitions.bin \ | ||
| 0xe000 wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.boot_app0.bin \ | ||
| 0x10000 wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.bin | ||
| - name: Zip build artifacts | ||
| run: | | ||
|
|
@@ -835,7 +841,7 @@ jobs: | |
| - uses: actions/checkout@v4 | ||
| with: | ||
| repository: adafruit/ci-arduino | ||
| ref: ci-wippersnapper | ||
| ref: ci-wippersnapper-esp333 | ||
| path: ci | ||
| - name: Install CI-Arduino | ||
| run: bash ci/actions_install.sh | ||
|
|
@@ -905,11 +911,15 @@ jobs: | |
| arduino-platform: | ||
| [ | ||
| "wippersnapper_feather_esp32c6_debug", | ||
| "espressif_esp32c5_devkitc_1_n8r4_debug", | ||
| ] | ||
| include: | ||
| - offset: "0x1000" | ||
| - offset: "0x0" | ||
| arduino-platform: "wippersnapper_feather_esp32c6_debug" | ||
| - offset: "0x2000" | ||
| arduino-platform: "espressif_esp32c5_devkitc_1_n8r4_debug" | ||
|
|
||
| steps: | ||
| - name: "skip if unwanted" | ||
| continue-on-error: true | ||
|
|
@@ -939,13 +949,14 @@ jobs: | |
| - uses: actions/checkout@v4 | ||
| with: | ||
| repository: adafruit/ci-arduino | ||
| ref: ci-wippersnapper | ||
| ref: ci-wippersnapper-esp333 | ||
| path: ci | ||
| - name: Checkout Board Definitions | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| repository: adafruit/Wippersnapper_Boards | ||
| path: ws-boards | ||
| ref: add-c5devkit | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Make sure to change this when the ws-boards branch is merged please! |
||
| - name: Install CI-Arduino | ||
| run: bash ci/actions_install.sh | ||
| - name: Install extra Arduino libraries | ||
|
|
@@ -983,7 +994,7 @@ jobs: | |
| mv nanopb/pb.h src/nanopb/nanopb.pb.h | ||
| - name: Install Dependencies | ||
| run: | | ||
| pip3 install esptool==4.6 | ||
| pip3 install esptool | ||
| - name: build ESP32 platforms | ||
| run: python3 ci/build_platform.py ${{ matrix.arduino-platform }} --build_timeout 48000 | ||
| - name: Check artifacts | ||
|
|
@@ -992,6 +1003,7 @@ jobs: | |
| - name: Rename build artifacts to reflect the platform name | ||
| run: | | ||
| mv examples/wippersnapper_debug/build/*/wippersnapper_debug.ino.bin wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.bin | ||
| mv examples/wippersnapper_debug/build/*/wippersnapper_debug.ino.merged.bin wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.auto-merge.bin | ||
| mv examples/wippersnapper_debug/build/*/wippersnapper_debug.ino.elf wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.elf | ||
| mv examples/wippersnapper_debug/build/*/wippersnapper_debug.ino.map wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.map | ||
| mv examples/wippersnapper_debug/build/*/wippersnapper_debug.ino.bootloader.bin wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.bootloader.bin | ||
|
|
@@ -1017,6 +1029,8 @@ jobs: | |
| board_name=${board_name%_debug} | ||
| # Remove 'wippersnapper_' prefix if present | ||
| board_name=${board_name#wippersnapper_} | ||
| # Remove 'espressif_' prefix if present | ||
| board_name=${board_name#espressif_} | ||
| content=$(cat ws-boards/boards/${board_name//_/-}/definition.json) | ||
| { | ||
| echo 'boardJson<<EOF' | ||
|
|
@@ -1027,14 +1041,11 @@ jobs: | |
| run: | | ||
| echo ${{ steps.get_board_json.outputs.boardJson }} | ||
| echo ${{ fromJson(steps.get_board_json.outputs.boardJson) }} | ||
| python3 -m esptool --chip ${{fromJson(steps.get_board_json.outputs.boardJson).esptool.chip}} merge_bin \ | ||
| --flash_mode ${{fromJson(steps.get_board_json.outputs.boardJson).esptool.flashMode}} \ | ||
| --flash_freq ${{fromJson(steps.get_board_json.outputs.boardJson).esptool.flashFreq}} \ | ||
| --flash_size ${{fromJson(steps.get_board_json.outputs.boardJson).esptool.flashSize}} \ | ||
| python3 -m esptool --chip ${{fromJson(steps.get_board_json.outputs.boardJson).esptool.chip}} merge-bin \ | ||
| --flash-mode keep --flash-freq keep --flash-size keep \ | ||
| -o wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.combined.bin \ | ||
| ${{ matrix.offset }} wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.bootloader.bin \ | ||
| 0x8000 wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.partitions.bin \ | ||
| 0xe000 wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.boot_app0.bin \ | ||
| 0x10000 wippersnapper.${{ matrix.arduino-platform }}.littlefs.${{ env.WS_VERSION }}.bin | ||
| - name: Zip build artifacts | ||
| run: | | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we are going to use this branch, across this ci, shouldn't we merge the
esp333work intoci-wippersnapperand use that instead?