platform-espressif8266 icon indicating copy to clipboard operation
platform-espressif8266 copied to clipboard

Add support for ESP8266 DEAUTHER board.

Open SubCoderHUN opened this issue 3 years ago • 1 comments

References:

https://github.com/SpacehuhnTech/esp8266_deauther https://raw.githubusercontent.com/SpacehuhnTech/arduino/main/package_spacehuhn_index.json

SubCoderHUN avatar Oct 16 '22 15:10 SubCoderHUN

What's so different compared to NodeMCU or Wemos? I am using one of the newer 8266 Deauther board (the one with 18650 battery and RGB led) as a HomeAssistant ESPHome display and can't remember any difficulties, when replacing my breadboard-wired NodeMCUv2 with the Deauther. So in my opinion, the "DSTIKE 8266MOD" on Deauther is very similar to "AZ-Delivery 8266MOD 12-F", and even Spacehuhn points to similar details here.

So for my understanding, the trick is not to try following the All-at-once-Board-definition Spacehuhn made for the Arduino IDE. Because his Arduino "Board" package contains a lot of stuff which is organized diferently in PlatformIO. If you follow his Arduino IDE instructions, you inherit all the dependencies, from compiler via libraries. PIO is working a little bit different. A Board is a board. Dependencies are mainatined in platformio.ini.

Quite a some hours task to adopt this. But if you really need it, you could either ask Spacehuhn or could start a 8266 Arduino project in PIO, add his code and complete the dependencies by compile, error, look at his json for the lib name, add it, retry...

HTH, Moritz

modem-man-gmx avatar Sep 25 '24 17:09 modem-man-gmx