Skip to content

feat(esp32p4): Build libs for ESP32-P4 #221

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

Merged
merged 6 commits into from
Sep 24, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
targets: "esp32,esp32s2,esp32s3,esp32c3,esp32c6,esp32h2"
- idf_branch: "release/v5.3"
lib_builder_branch: "release/v5.3"
targets: "esp32,esp32s2,esp32s3,esp32c3,esp32c6,esp32h2"
targets: "esp32,esp32s2,esp32s3,esp32c3,esp32c6,esp32h2,esp32p4"
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
target: [esp32, esp32s2, esp32s3, esp32c2, esp32c3, esp32c6, esp32h2]
target: [esp32, esp32s2, esp32s3, esp32c2, esp32c3, esp32c6, esp32h2, esp32p4]
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand Down
12 changes: 8 additions & 4 deletions configs/builds.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"file":"libspi_flash.a",
"src":"build/esp-idf/spi_flash/libspi_flash.a",
"out":"lib/libspi_flash.a",
"targets":["esp32","esp32c2","esp32c3","esp32s2","esp32s3","esp32c6","esp32h2"]
"targets":["esp32","esp32c2","esp32c3","esp32s2","esp32s3","esp32c6","esp32h2","esp32p4"]
},
{
"file":"libesp_psram.a",
Expand Down Expand Up @@ -46,13 +46,17 @@
"targets":[
{
"target": "esp32p4",
"skip": 1,
"features":[],
"idf_libs":["qio","80m"],
"bootloaders":[
["qio","80m"]
["qio","80m"],
["dio","80m"],
["qio","40m"],
["dio","40m"]
],
"mem_variants":[]
"mem_variants":[
["dio","80m"]
]
},
{
"target": "esp32c2",
Expand Down
2 changes: 1 addition & 1 deletion main/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
# Required IDF version
idf: ">=5.1"
idf: ">=5.3"
espressif/esp32-camera:
version: "master"
git: https://github.com/espressif/esp32-camera.git
Expand Down
12 changes: 0 additions & 12 deletions patches/esp32c6_provisioning_bluedroid.diff

This file was deleted.

24 changes: 0 additions & 24 deletions patches/mmu_map.diff

This file was deleted.

2 changes: 0 additions & 2 deletions tools/install-esp-idf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ if [ ! -x $idf_was_installed ] || [ ! -x $commit_predefined ]; then
# Temporarily patch the ESP32-S2 I2C LL driver to keep the clock source
cd $IDF_PATH
patch -p1 -N -i $AR_PATCHES/esp32s2_i2c_ll_master_init.diff
patch -p1 -N -i $AR_PATCHES/mmu_map.diff
patch -p1 -N -i $AR_PATCHES/lwip_max_tcp_pcb.diff
patch -p1 -N -i $AR_PATCHES/esp32c6_provisioning_bluedroid.diff
cd -
fi

Expand Down