atanisoft / ESP32CommandStation

An ESP32 based DCC Command Station with integrated OpenLCB (LCC) --- NOTE: this project is not under active development.
https://atanisoft.github.io/ESP32CommandStation/
GNU General Public License v3.0
90 stars 34 forks source link

update build_index_header.py to trigger on Webserver.cpp.o instead of WebServer.o #6

Closed cymen closed 6 years ago

cymen commented 6 years ago

The build wasn't working for me on the Atom version of PlatformIO with 3.5.2rc1. I read through this page to understand how the build_scripts works:

http://docs.platformio.org/en/latest/projectconf/advanced_scripting.html

I noticed it references adding a pre trigger action on compiled file names as file.cpp.o not file.o. I tried making this change and was able to successfully compile.

atanisoft commented 6 years ago

Seems that the behavior of this changed in 3.5.2rc1 vs 3.5.2a6 (what I was on). I refreshed to the latest and it was broken. Thanks for the PR to fix it!