Skip to content

Commit aa1cf86

Browse files
authored
p4 changes
1 parent 23005eb commit aa1cf86

File tree

6 files changed

+20
-15
lines changed

6 files changed

+20
-15
lines changed

.github/workflows/parallel_build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: IDF v5.5 based build
1+
name: IDF v5.5 gcc 15.2
22

33
on:
44
workflow_dispatch: # Manually start a workflow

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ Tested on Ubuntu and MacOS.
66

77
### Build on Ubuntu
88
```bash
9-
sudo apt-get install git wget curl libssl-dev libncurses-dev flex bison gperf python python-pip python-setuptools python-serial python-click python-cryptography python-future python-pyparsing python-pyelftools cmake ninja-build ccache jq
10-
sudo pip install --upgrade pip
9+
sudo apt update
10+
sudo apt install -y git wget curl libssl-dev libncurses-dev flex bison gperf python-setuptools gperf cmake ninja-build ccache jq xz-utils
11+
curl -LsSf https://astral.sh/uv/install.sh | sh
12+
uv venv
13+
uv pip install future pyelftools
1114
git clone https://github.com/espressif/esp32-arduino-lib-builder
1215
cd esp32-arduino-lib-builder
1316
./build.sh
@@ -26,7 +29,7 @@ To use it, follow these steps:
2629
- Python 3.10 or later
2730
- All the dependencies listed in the previous section
2831

29-
2. Install the required UI packages using `pip install -r tools/config_editor/requirements.txt`.
32+
2. Install the required UI packages using `uv pip install -r tools/config_editor/requirements.txt`.
3033

3134
3. Execute the script `tools/config_editor/app.py` from any folder. It will automatically detect the path to the root of the repository.
3235

configs/builds.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,12 @@
6767
{
6868
"target": "esp32p4",
6969
"features":["qio_ram"],
70-
"idf_libs":["qio","80m"],
70+
"idf_libs":["qio","200m"],
7171
"bootloaders":[
72-
["qio","80m"],
73-
["dio","80m"],
74-
["qio","40m"],
75-
["dio","40m"]
72+
["qio","200m"]
7673
],
7774
"mem_variants":[
78-
["dio","80m"]
75+
[]
7976
]
8077
},
8178
{

configs/defconfig.200m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
2+
CONFIG_SPIRAM_SPEED_200M=y
3+
CONFIG_SPIRAM_SPEED=200

configs/defconfig.esp32p4

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
CONFIG_IDF_EXPERIMENTAL_FEATURES=y
22

3+
CONFIG_SPIRAM=y
4+
35
CONFIG_NEWLIB_NANO_FORMAT=y
46
CONFIG_COMPILER_FLOAT_LIB_FROM_RVFPLIB=y
57

8+
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
9+
CONFIG_ESPTOOLPY_FLASHSIZE="16MB"
10+
611
# Enable LP Core
712
CONFIG_ULP_COPROC_ENABLED=y
813
CONFIG_ULP_COPROC_TYPE_LP_CORE=y
@@ -12,9 +17,6 @@ CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_360=y
1217
CONFIG_COMPILER_ORPHAN_SECTIONS_PLACE=y
1318
# CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1 is not set
1419

15-
CONFIG_SPIRAM=y
16-
CONFIG_SPIRAM_SPEED_200M=y
17-
1820
CONFIG_RTC_CLK_CAL_CYCLES=576
1921
# CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND is not set
2022
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y

tools/config_editor/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ It allows the user to select the targets to compile, change the configuration op
55
It has mouse support and can be pre-configured using command line arguments.
66

77
## Requirements
8-
- Python 3.9 or later
9-
- Install the required packages using `pip install -r requirements.txt`
8+
- Python 3.10 or later
9+
- Install the required packages using `uv pip install -r requirements.txt`
1010
- The requirements from esp32-arduino-lib-builder
1111

1212
## Troubleshooting

0 commit comments

Comments
 (0)