platformio / platform-espressif32

Espressif 32: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/espressif32
Apache License 2.0
896 stars 602 forks source link

Add support for M5Atom #389

Closed doctortee closed 3 years ago

doctortee commented 4 years ago

(I don't know if this should be posted here, or on the main repo...)

PlatformIO actually supports M5Stack and M5Stick, but doesn't yet support M5Atom. The configuration seems to be similar, but it has a dedicated library located here : https://github.com/m5stack/M5Atom

Would it be possible to add a dedicated board configuration for them ? Many thanks !

TimDeve commented 4 years ago

For people like me who ended up here looking for how to use platformio with the atom, looking at the M5 docs you can see that the Arduino IDE board is the same as the M5Stick.

This example config works:

[env:atom]
platform = espressif32
board = m5stick-c
framework = arduino
upload_speed = 1500000
monitor_speed = 115200

lib_deps =
  M5Atom@0.0.1
  FastLED@3.3.3
szymoni commented 3 years ago

Hi, were you able to connect M5Atom to WiFi on this board configuration (alternatively board=pico32)?

TimDeve commented 3 years ago

Yeah, no problem with the wifi, you can check out my project for an example.

eliabieri commented 3 years ago

any updates on this?