- Notifications
You must be signed in to change notification settings - Fork1k
Build option#174
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Build option#174
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
fpistm commentedDec 12, 2017 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
One example using the STM32Ethernet and LwIP libraries: But there is a limitation. Even if the "Aggressively cache compiled core" is disabled. |
It is now possible to customize some core definitionsor gcc options thanks a file named "build_opt.h"in the sketch directory. (using@file gcc option)Example of file content to change F_CPU value:-UF_CPU -DF_CPU=72000000ULIf the file does not exist an empty one is created.Fixstm32duino#41Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
It is now possible to customize some core definitions
or gcc options thanks a file named "
build_opt.h"in the sketch directory. (using@file gcc option)
User can add it thanks the Arduino IDE in a tab to easily customize the core options.
That's why '.h' extension is used as IDE allows only those one: ino, h, hpp, c, cpp, pde.
Note: file is automatically copied in the
{build.path}/sketch/directoryExample of file content to change F_CPU value:
-UF_CPU -DF_CPU=72000000ULIf the file does not exist an empty one is created in the
{build.path}/sketch/directory.Fix#41