Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

boards.txt.py: add Wemos ESP-WROOM-02 board

Open rotulet opened this issue 3 years ago • 5 comments

Get fixes from https://github.com/esp8266/Arduino/issues/6551#issuecomment-534737671

rotulet avatar Aug 30 '22 17:08 rotulet

Is it really a wemos board? Shouldn't this be just esp wroom-02?

mcspr avatar Sep 01 '22 01:09 mcspr

@mcspr good question! I have got the "official" Wemos logo on it. In many places on internet I found the same board branded Wemos but also clones. But I did not find any references on the Wemos web site!

rotulet avatar Sep 12 '22 06:09 rotulet

@AronHetLam Sorry but I do not understand what is the error? Can you explain please?

rotulet avatar Oct 08 '22 13:10 rotulet

@rotulet, I'm not sure what exactly you are unsure about, but I'll explain the problem i had. When I ran the script for the ESP-wroom-02 board i got an exception because there was no entry in the macros dict for flashfreq_26. Adding it, as you've done one the fix you pushed, fixed the issue for me, and i was able to generate a boards.txt with the entries needed for ESP-wroom-02. I ran the scrip as standalone, and didn't look to deep into how it's all put together. As you can see in the issue I referenced this issue from, I had someone with a ESP-wroom-02 board that couldn't get my code compiled correctly.

AronHetLam avatar Oct 09 '22 16:10 AronHetLam

Simply run the boards script and commit changes to boards.txt and documentation.

Our Check expects that we have the same filesystem contents before and after running it https://github.com/esp8266/Arduino/actions/runs/3099983428/jobs/5202829401 (unfold the crossed out section, it shows a git-diff output of what boards.txt.py generated and what changed in the repo)

mcspr avatar Oct 10 '22 14:10 mcspr

Sorry for the delay...

Thanks @mcspr for the hint!

@AronHetLam I updated the board.txt file and rebased on master.

rotulet avatar Oct 31 '22 18:10 rotulet