Skip to content

Commit 946198e

Browse files
committed
Fix P4 UF2 ID and memory layout
1 parent b202ddd commit 946198e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ports/espressif/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,7 @@ endif
769769

770770
UF2_FAMILY_ID_esp32s2 = 0xbfdd4eee
771771
UF2_FAMILY_ID_esp32s3 = 0xc47e5767
772+
UF2_FAMILY_ID_esp32p4 = 0x540ddf62
772773

773774
$(BUILD)/firmware.uf2: $(BUILD)/circuitpython-firmware.bin
774775
$(STEPECHO) "Create $@"

ports/espressif/tools/build_memory_info.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@
4040
],
4141
"esp32p4": [
4242
# Name, Start, Length
43-
("RTC Fast Memory", (0x600F_E000,), 8 * 1024),
44-
("RTC Slow Memory", (0x5000_0000,), 8 * 1024),
45-
("Internal SRAM 0", (0x4037_0000,), 32 * 1024),
46-
("Internal SRAM 1", (0x3FC8_0000, 0x4037_8000), 416 * 1024),
47-
("Internal SRAM 2", (0x3FCF_0000,), 64 * 1024),
43+
("HP RAM", (0x3010_0000,), 8 * 1024),
44+
("PSRAM", (0x4800_0000,), 64 * 1024 * 1024),
45+
("L2MEM", (0x4FF0_0000,), 768 * 1024),
46+
("LP RAM", (0x5010_8000,), 32 * 1024),
4847
],
4948
"esp32c2": [
5049
# Name, Start, Length

0 commit comments

Comments
 (0)