Arduino M5Stack

Hi,
I tried to run my m5 stack core with platformio and arduino framework, but when I build, got this error :
In file included from C:/Users/joach/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:24,
from src/main.cpp:1:
c:\users\joach.platformio\packages\toolchain-xtensa-esp32\lib\gcc\xtensa-esp32-elf\8.4.0\include\stdint.h:9:16: fatal error: stdint.h: No such file or directory

I checked this, but file is existing.

Are there things with installing, that leads to this error? br joachim

With what platformio.ini is that?

this one:

[env:m5stack-core-esp32]
platform = espressif32
board = m5stack-core-esp32
framework = arduino

br joachim

Okay that should definitely not be failing. Please remove the folders

  • C:/Users/joach/.platformio/packages/framework-arduinoespressif32
  • c:\users\joach\.platformio\packages\toolchain-xtensa-esp32
  • C:/Users/joach/.platformio/.cache

and build the project again to get a clean redownload of compiler + framework.

Hi Max, fine. Now it is working. Have I made something wrong during init? br joachim