-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
Add support for global build defines and options #8504
Commits on Mar 6, 2022
-
Add support to specify global build defines and options
A script manages the use of a file with a unique name, like `SketchName.ino.globals.h`, in the Sketch source directory to provide compiler command-line options (build options) and sketch global defines. The build option data is encapsulated in a unique "C" comment block and extracted into the build tree during prebuild.
Configuration menu - View commit details
-
Copy full SHA for 923c686 - Browse repository at this point
Copy the full SHA 923c686View commit details -
Applied os.path.normpath() liberally to input arguments. Fixes window…
…s file path issue. Improved helpful message for adding embedded build options.
Configuration menu - View commit details
-
Copy full SHA for ec9bdd8 - Browse repository at this point
Copy the full SHA ec9bdd8View commit details
Commits on Mar 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for dc74e03 - Browse repository at this point
Copy the full SHA dc74e03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fdfd3b - Browse repository at this point
Copy the full SHA 4fdfd3bView commit details
Commits on Mar 9, 2022
-
added workaround for aggressive caching
Configuration menu - View commit details
-
Copy full SHA for f119fea - Browse repository at this point
Copy the full SHA f119feaView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc3d37c - Browse repository at this point
Copy the full SHA dc3d37cView commit details
Commits on Mar 10, 2022
-
Correct Windows path for preferences.txt
Added portable path for preferences.txt Expanded file timestamp granularity Improved error message printing for Arduino IDE 2.0 RC4
Configuration menu - View commit details
-
Copy full SHA for 8a96eeb - Browse repository at this point
Copy the full SHA 8a96eebView commit details
Commits on Mar 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1e0bf97 - Browse repository at this point
Copy the full SHA 1e0bf97View commit details
Commits on Mar 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1c1236b - Browse repository at this point
Copy the full SHA 1c1236bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8e591b - Browse repository at this point
Copy the full SHA b8e591bView commit details
Commits on Mar 13, 2022
-
When global header file does not exist, this print makes it easier for user to create the header file by providing its name and documentation pointer.
Configuration menu - View commit details
-
Copy full SHA for 02add35 - Browse repository at this point
Copy the full SHA 02add35View commit details -
Compiler command line changes from build.opt are shown to user
Configuration menu - View commit details
-
Copy full SHA for fc52442 - Browse repository at this point
Copy the full SHA fc52442View commit details
Commits on Mar 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e74857f - Browse repository at this point
Copy the full SHA e74857fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7932a24 - Browse repository at this point
Copy the full SHA 7932a24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c45e71 - Browse repository at this point
Copy the full SHA 2c45e71View commit details
Commits on Mar 15, 2022
-
Improve handling stderr/stdout with "no verbose output"
Grouped helpful info to print at the end. Added missing return value.
Configuration menu - View commit details
-
Copy full SHA for 9d6c1cb - Browse repository at this point
Copy the full SHA 9d6c1cbView commit details
Commits on Mar 17, 2022
-
Correct timestamp on CommonHFile.h
More improvements to printing Updated docs.
Configuration menu - View commit details
-
Copy full SHA for 6b01393 - Browse repository at this point
Copy the full SHA 6b01393View commit details
Commits on Mar 23, 2022
-
Support hints for compiler.cache_core. For use when Arduino IDE uses command-line options that override compiler.cache_core. Removed overuse of () Improve FAQ entry
Configuration menu - View commit details
-
Copy full SHA for 84dc987 - Browse repository at this point
Copy the full SHA 84dc987View commit details
Commits on Mar 27, 2022
-
Fix script failure under windows
Rely on argpaser for checking that all arguments are present. Removed redundant argument check in main(). Added '--debug' option and print_dbg method. Rethink failures on overrides. Remove well know path fallbacks, error exit when override file is missing. In well-known path search for preferences.txt, do not assume true. Make failure to find an error exit event. When Windows has two preferences.txt files and they have different values for caching and globals.h is used, error exit. It is not possible to know from the script which is being used.
Configuration menu - View commit details
-
Copy full SHA for b75904e - Browse repository at this point
Copy the full SHA b75904eView commit details
Commits on Mar 30, 2022
-
Update comment Include the @ within the expantion string use quotes around file name. Update doc example to remind and use quotes.
Configuration menu - View commit details
-
Copy full SHA for 75d241e - Browse repository at this point
Copy the full SHA 75d241eView commit details -
Update CI for build option and global support
Added "mkbuildoptglobals.extra_flags=--cache_core" to platform.loca.txt Update "-ide-version=10802" this version number indicates aggressive caching support Added example to test global .h support
Configuration menu - View commit details
-
Copy full SHA for b6cc66d - Browse repository at this point
Copy the full SHA b6cc66dView commit details
Commits on Mar 31, 2022
-
Added --debug to CI - this needs to be removed later Tweaks to touch...
Configuration menu - View commit details
-
Copy full SHA for c4a6724 - Browse repository at this point
Copy the full SHA c4a6724View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0eb497 - Browse repository at this point
Copy the full SHA b0eb497View commit details -
temp CI changes debug crud Added --ci switch
Configuration menu - View commit details
-
Copy full SHA for e76a190 - Browse repository at this point
Copy the full SHA e76a190View commit details -
run_CI_locall.sh works fine locally. Hosted Multi-VM CI fails to work with 'aggressive caching' workaround method. Add #if defined(CORE_MOCK) to failing example.
Configuration menu - View commit details
-
Copy full SHA for f86c640 - Browse repository at this point
Copy the full SHA f86c640View commit details -
Configuration menu - View commit details
-
Copy full SHA for fad05ec - Browse repository at this point
Copy the full SHA fad05ecView commit details
Commits on Apr 1, 2022
-
mkbuildoptglobals.py is optimized around the Arduino IDE 1.x behaviour. One way the CI differs from the Arduino IDE is in the handling of core and caching core. With the Arduino IDE, each sketch has a private copy of core and contributes to a core cache. With the CI, there is one shared copy of core for all sketches. When global options are used, the shared copy of core and cache are removed before and after the build.
Configuration menu - View commit details
-
Copy full SHA for 29852c1 - Browse repository at this point
Copy the full SHA 29852c1View commit details
Commits on Apr 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d7d8a00 - Browse repository at this point
Copy the full SHA d7d8a00View commit details
Commits on May 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ab5b8d2 - Browse repository at this point
Copy the full SHA ab5b8d2View commit details
Commits on May 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fd2959f - Browse repository at this point
Copy the full SHA fd2959fView commit details