SW4STM32 exported Project ignores mbed_app.json

20 Mar 2018

I'm trying to get the mbed-os-example-lorawan example going. I followed the instructions and used mbed cli to compile it, which worked. It won't connect to my gateway yet which is the next problem to solve. It took notice of the changes that I made to mbed_app.json i.e it spotted errors I made.

After I used "mbed export -i SW4STM32 -m nucleo_l152re" to change it into a SW4STM32 project the code compiles OK but any changes to the mbed_app.json file in the project are completely ignored.

Could someone explain how to fix this?

15 Apr 2019

I'm with the same problem with the project MBED_OS_EXAMPLE_LORAWAN exported to SW4STM32 IDE. Target: B-L072Z-LRWAN1

Project compiles successfully after fix some build flags and reserved words problems. Now, I'm trying to make some changes on mbed_app.json but compilation ignores these changes, specifically below values: - "lora.device-eui": "{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02}", - "lora.application-eui": "{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02}", - "lora.application-key": "{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02}"

It doesn't matter if I change, the value used is always: - "lora.device-eui": "{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}", - "lora.application-eui": "{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}", - "lora.application-key": "{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}"