Created
September 1, 2021 02:53
-
-
Save mikenabhan/a14a74a04beac4bff15a32f6d3a2aa92 to your computer and use it in GitHub Desktop.
This is a GIST that will help you complile MagTag firmware in ESPHome while platformIO is in a transitional state.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
substitutions: | |
devicename: magtag | |
upper_devicename: Magtag | |
esphome: | |
name: magtag | |
platform: esp32 | |
board: esp32dev | |
platformio_options: | |
platform: | |
- https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream | |
platform_packages: | |
- framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.0-rc1 | |
- platformio/tool-esptoolpy @ ~1.30100 | |
- espressif/toolchain-xtensa-esp32 @ 8.4.0+2021r1 | |
board_build.mcu: esp32s2 | |
logger: | |
api: | |
ota: | |
password: !secret ota_password | |
wifi: | |
ssid: !secret wifi_ssid | |
password: !secret wifi_password |
I think this is outdated at this point, a lot has changed since I posted this and there is almost certainly a better way. It looks to me that the library required is not available for your system which appears to be 64bit arm. If you have access to an x86 system I would give that a try. I am not very involved in the Arduino/platformio world so I don't have any more insight.
This GitHub issue may be of some help to you. esphome/feature-requests#996
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks for sharing, can you confirm how you were able to flash the magtag? i cannot download an image, i just the following??. thanks