Skip to content
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ You can use these links to buy a developer board. If you want to support this pr
- ESP32 P4 with dual-core processor up to 400 MHz
- [10.1" ESP32-P4 LCD Display Development Board](https://s.click.aliexpress.com/e/_c2vAKbXD)* with 1280x800 Capacitive Touch Screen, Wi-Fi 6, battery and speaker
- [JC-ESP32P4-M3-DEV](https://s.click.aliexpress.com/e/_c39YU9i9)* GUITION ESP32-P4 with ESP32-C6 Mini, Wi-Fi 6, Ethernet, TF card slot, Speaker header, Li-Ion Battery connector, microphone
- [C4880P443C-I-W-Y](https://s.click.aliexpress.com/e/_c4TfKXmd)* GUITION ESP32-P4 with ESP32-C6, 4.3 inch 480 * 800 IPS capacitive touch, 2MP camera module, Wi-Fi 6, Ethernet, TF card slot, Speaker header, Li-Ion Battery connector, BT 5

## Protoyping

Expand Down
5 changes: 4 additions & 1 deletion extra_configs/extra.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
; optional flags only needed for base esp32 boards
; specific boards or boards under the /boards directory are already configured with psram support
build_flags_psram =
-DBOARD_HAS_PSRAM=1
-D BOARD_HAS_PSRAM=1
-mfix-esp32-psram-cache-issue ; https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/external-ram.html#esp32-rev-v1
build_flags_native_usb =
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1

; platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
; or use platformio, versions: https://github.com/platformio/platform-espressif32/releases
Expand Down
13 changes: 12 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -278,11 +278,22 @@ board = esp32-p4-evboard
board_build.partitions = partitions/partitions_16mb_ota_phy.csv
upload_speed = 1500000

; ESP32-P4 JC-ESP32P4-M3-DEV
; ESP32-P4 M3 (GUITION JC-ESP32P4-M3-DEV)
; board: https://github.com/pioarduino/platform-espressif32/blob/main/boards/esp32-p4.json
[env:esp32_p4_m3_dev]
extends = esp32p4
board = esp32-p4
board_build.partitions = partitions/partitions_16mb_ota_phy.csv
board_build.variant = ${PIOENV}
board_build.variants_dir = variants

; ESP32-P4 M3 with native USB serial port (GUITION C4880P443C-I-W-Y)
; board: https://github.com/pioarduino/platform-espressif32/blob/main/boards/esp32-p4.json
[env:esp32_p4_m3_dev_native_usb]
extends = env:esp32_p4_m3_dev
; TODO: check if the same board config can be used for both M3
board_build.variant = esp32_p4_m3_dev
board_build.variants_dir = variants
build_flags =
${env:esp32_p4_m3_dev.build_flags}
${extra.build_flags_native_usb}
Loading