Skip to content

Commit

Permalink
Merge pull request #172 from adafruit/rename-espressif-port
Browse files Browse the repository at this point in the history
Rename espressif port
  • Loading branch information
hathach authored Dec 23, 2021
2 parents 70f0afd + 291a848 commit 06a65c8
Show file tree
Hide file tree
Showing 164 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_esp32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# ---------------------------------------
# Build ESP32SX family
# ---------------------------------------
ESP32-S2:
ESP:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -61,18 +61,18 @@ jobs:
run: git submodule update --init lib/tinyusb lib/uf2

- name: Build
run: docker run --rm -v $PWD:/project -w /project espressif/idf:release-v4.4 make -C ports/esp32s2/ BOARD=${{ matrix.board }} all self-update copy-artifact
run: docker run --rm -v $PWD:/project -w /project espressif/idf:release-v4.4 make -C ports/espressif/ BOARD=${{ matrix.board }} all self-update copy-artifact

- uses: actions/upload-artifact@v2
with:
name: ${{ matrix.board }}
path: ports/esp32s2/_bin/${{ matrix.board }}/
path: ports/espressif/_bin/${{ matrix.board }}/

- name: Create Release Asset
if: ${{ github.event_name == 'release' }}
run: |
#for f in ports/esp32s2/_bin/${{ matrix.board }}/*; do mv $f ${f%.*}-${{ github.event.release.tag_name }}."${f#*.}"; done
zip -jr tinyuf2-${{ matrix.board }}-${{ github.event.release.tag_name }}.zip ports/esp32s2/_bin/${{ matrix.board }}
#for f in ports/espressif/_bin/${{ matrix.board }}/*; do mv $f ${f%.*}-${{ github.event.release.tag_name }}."${f#*.}"; done
zip -jr tinyuf2-${{ matrix.board }}-${{ github.event.release.tag_name }}.zip ports/espressif/_bin/${{ matrix.board }}
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
Expand All @@ -92,6 +92,6 @@ jobs:
if: ${{ github.event_name == 'release' }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ports/esp32s2/_bin/${{ matrix.board }}/update-tinyuf2.uf2
asset_path: ports/espressif/_bin/${{ matrix.board }}/update-tinyuf2.uf2
asset_name: update-tinyuf2-${{ matrix.board }}-${{ github.event.release.tag_name }}.uf2
asset_content_type: application/x-binary
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This repo is cross-platform UF2 Bootloader projects for MCUs based on [TinyUSB](
├── apps # Useful applications such as self-update, erase firmware
├── lib # Sources from 3rd party such as tinyusb, mcu drivers ...
├── ports # Port/family specific sources
│   ├── esp32s2
│   ├── espressif
│   │   └── boards/ # Board specific sources
│   │   └── Makefile # Makefile for this port
│   └── mimxrt10xx
Expand All @@ -20,7 +20,7 @@ This repo is cross-platform UF2 Bootloader projects for MCUs based on [TinyUSB](

TODO more docs later

- Support ESP32-S2, iMXRT10xx, LPC55xx, STM32F3, STM32F4
- Support ESP32-S2, ESP32-S3, iMXRT10xx, LPC55xx, STM32F3, STM32F4
- Self update with update file in uf2 format
- Indicator: LED, RGB
- Debug log with uart/swd
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ target_include_directories(${COMPONENT_TARGET} PUBLIC
"${FREERTOS_ORIG_INCLUDE_PATH}"
"${TOP}/src"
"${TOP}/lib/tinyusb/src"
"${TOP}/ports/esp32s2"
"${TOP}/ports/espressif"
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 06a65c8

Please sign in to comment.