Seeking PlatformIO Example for ESP-IDF on M5 PaperS3 (Non-Arduino)
-
Hi everyone,
I’m trying to start a project using the M5 PaperS3 with ESP-IDF (without Arduino) in PlatformIO, but I’m struggling to set up the platformio.ini configuration correctly.
Could anyone share a minimal test project or an example platformio.ini file for the M5 PaperS3 using ESP-IDF? I’ve reviewed PlatformIO’s documentation and existing examples, but they focused on Arduino project.
-
To set up PlatformIO with ESP-IDF for M5 PaperS3, create a new project in PlatformIO, selecting ESP32 as the board and ESP-IDF as the framework. In platformio.ini, specify the M5 PaperS3 board. Install ESP-IDF if not already done. Write your application code in main.c or main.cpp to interact with the M5 PaperS3’s display or other features. Build and upload the code using PlatformIO’s interface for development.
-
@peolsolutions
Thank you for your patience. Let me clarify the core issue to ensure we’re aligned:- ESP32-S3 architecture(not generic ESP32),
- ESP-IDF framework (no Arduino framework),
- M5PaperS3 libraries from M5Paper S3 docs page
What I’ve already try:
- Followed M5Stack’s docs, but their examples for Arduino platform and lack S3-specific configurations.
- Try combining
board = esp32-s3-devkitc-1
(as in M5 Core S3 docs) withespidf
andM5GFX
&epdiy
libraries in platformio.ini file.
So:
If anyone has successfully linked ESP-IDF, ESP32-S3, and M5PaperS3 libraries in PlatformIO, could you share:- Your
platformio.ini
- Any critical patches or forks of
M5GFX
/epdiy
required for ESP-IDF compatibility. - A minimal project (even just initializing the e-paper display) to start development under board.
-
Hello everyone,
I’ve narrowed down my compilation issue to the epdiy library when working with ESP-IDF on the M5PaperS3 (ESP32-S3). Here’s my setup and error details:
Configuration Without epdiy (Compiles Successfully):
[env:esp32-s3-devkitm-1]
platform = espressif32
board = esp32-s3-devkitm-1
framework = espidf
board_upload.flash_size = 16MB
board_upload.maximum_size = 16777216
board_build.arduino.memory_type = qio_opi
build_flags = -DBOARD_HAS_PSRAMAdd epdiy dep(Compilation fails):
lib_deps =
epdiy=https://github.com/vroland/epdiy.gitError:
Multiple ways to build the same target were specified for: /epdiy/output_common/lut.o
(from ['/epdiy/src/output_common/lut.S'] and from ['/epdiy/src/output_common/lut.c'])