-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preprocessor script for printing the library versions to boot_out.txt #598
Comments
Just spotted this issue, can't believe I missed it 🤦 Looks like I can get what we need from the arduino-cli using --only-compilation-database as this outputs exactly what we need. Now sure that is doesn't just do a build anyway, it does all the precursor work but ignores generating compiled objects/binaries.
Also testing --dump-profile. Detailsoutput: C:\dev\arduino\Adafruit_Wippersnapper_Arduino\src [main ≡ +1 ~0 -0 !]> arduino-cli.exe --additional-urls="https://adafruit.github.io/arduino-board-index/package_adafruit_index.json,http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json,https://sandeepmistry.github.io/arduino-nRF5/package_nRF5_boards_index.json,https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json" compile -b esp32:esp32:adafruit_metro_esp32s2 ..\examples\Wippersnapper_demo --dump-profile -j0 Sketch uses 1337398 bytes (92%) of program storage space. Maximum is 1441792 bytes. Global variables use 62348 bytes (19%) of dynamic memory, leaving 265332 bytes for local variables. Maximum is 327680 bytes. |
Create a preprocessor script to enumerate the arduino libaries and their versions into a string. The string should be placed into a header file. The header file is then included in the firmware, compiled in, and the string should be printed to the
boot_out.txt
file.1a. Enumerate the libraries, obtain their names and versions, store in a string, generate header file containing this string
This was requested by @ladyada during the Wednesday CE meeting
The text was updated successfully, but these errors were encountered: