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

Request for Espressif ESP32-S2-DevKitC-1-N8R2 Board #1502

Open
dustinlaroche opened this issue Dec 3, 2024 · 2 comments
Open

Request for Espressif ESP32-S2-DevKitC-1-N8R2 Board #1502

dustinlaroche opened this issue Dec 3, 2024 · 2 comments

Comments

@dustinlaroche
Copy link

dustinlaroche commented Dec 3, 2024

I would like to see the Espressif ESP32-S2-DevKitC-1-N8R2 board being supported for development using PlatformIO. Thanks!

@ivankravets ivankravets transferred this issue from platformio/platformio-core Dec 4, 2024
@ForrestFire0
Copy link

I am also interested in developing with a similar board on platformio.

Here's the board: ESP32-S2-DevKitM-1U-N4R2

@ForrestFire0
Copy link

I modified the S2 Solad board definition to work with my dev board.

Here's the relevant bits

board = esp32-s2-saola-1

board_build.name = Espressif ESP32-S2-DevKitM-1U-N4R2
board_build.url = https://www.espressif.com/en/products/devkits/esp32-s2-devkitm-1

board_build.extra_flags =
    -DARDUINO_ESP32S2_DEV
    -DARDUINO_USB_MODE=1
    -DARDUINO_RUNNING_CORE=1
    -DARDUINO_EVENT_RUNNING_CORE=1
board_build.psram = enabled

With my entire config being

; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[common]

[env:esp32dev]
monitor_speed = 115200
board = esp32-s2-saola-1

board_build.name = Espressif ESP32-S2-DevKitM-1U-N4R2
board_build.url = https://www.espressif.com/en/products/devkits/esp32-s2-devkitm-1

board_build.extra_flags =
    -DARDUINO_ESP32S2_DEV
    -DARDUINO_USB_MODE=1
    -DARDUINO_RUNNING_CORE=1
    -DARDUINO_EVENT_RUNNING_CORE=1
board_build.psram = enabled


platform = espressif32 @ 6.7.0
framework = arduino
; Below are github packages but are frozen with a release.
platform_packages=
    framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32/releases/download/3.0.2/esp32-3.0.2.zip
    framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.2/esp32-arduino-libs-3.0.2.zip
    toolchain-riscv32-esp @ 12.2.0+20230208
    toolchain-xtensa-esp32s2 @ 12.2.0+20230208

lib_deps =
    ArduinoJson
monitor_filters = esp32_exception_decoder

I have found the platform_packages version pinning to crucial to getting this to work. But this just uploaded! IDK about PSRAM yet or any other peripherals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants