question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MACROS.txt: if I change macros, `mbed compile` doesn't detect updates

See original GitHub issue

If I’ve different pre compiler defines in MACROS.txt which configure my application and I’m trying to change configurations and compile with mbed compile it doesn’t detect any of my changes and I get exactly same build than before configuration changes. I think this is not allowed. Same happens with config.json file. What is the current way to “rebuild” my application with new configurations ? perhaps there should be mbed clean command which clean build area…

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
jupecommented, Jun 10, 2016

anyway, I think --clean parameters at least is useful for next week partner workshop, so perhaps that could be added somehow at least for mbed compile --help print…

0reactions
screamerbgcommented, Jun 10, 2016

Now the option is added to help. Thanks @geky

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change "macros" in module.json? · Issue #6699 - GitHub
How can I modify the value of macros defined in module.json? ... I enter the following command mbed compile --config in the terminal...
Read more >
The configuration system - Program setup - Mbed
Using configuration data in code. When compiling or exporting, the configuration system generates C preprocessor macro definitions of the configuration ...
Read more >
Compile - Build tools | Mbed OS 6 Documentation
Use the mbed compile command to compile your code. Supply the -m and -t arguments to set your target and toolchain, respectively.
Read more >
Online Compiler is ignoring MACROS - Mbed
With the last update, the IDE had stop working as expected, the defined MACROS are being ignored by the compiler. With the last...
Read more >
Mbed OS Reference | Error functions
Call this Macro to generate a mbed_error_status_t value for a System error. Parameters. module, Module generating the error code. If its unknown, pass ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found