Skip to content
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

Rename espressif port #172

Merged
merged 3 commits into from
Dec 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.