How can I build a monolithic firmware?

Hi all,

I’m trying to build my own device os for Boron LTE in order to enable system debug (details here). I have downloaded device os source code and I run this command from modules folder:

make PLATFORM=boron all

After this, I flash




But I want to build a monolithic firmware. How can I do that?

And what is the application file I have to modify in order to code the application?

Thank you,

Manuel Montenegro

From main (not modules):

make PLATFORM=boron MODULAR=n all APPDIR=/path/to/your/app/dir

Usually you’d specify the source directory using APPDIR. The monolithic binary will go into the target subdirectory in that directory.

1 Like

Thank you for your response.

But I can’t do this work. From device-os/main I run this:

make PLATFORM=boron MODULAR=n all APPDIR=/Users/manuel/ParticleDesarrollo/build

But I get this error:

/Library/Developer/CommandLineTools/usr/bin/make -C …/newlib_nano
make[1]: Nothing to be done for `all’.
/Library/Developer/CommandLineTools/usr/bin/make -C …/user *** “No sources found in /Users/manuel/ParticleDesarrollo/build/”. Stop.
make: *** [user] Error 2

Sorry, I didn’t understand what is APPDIR. Now it’s building…

Now it’s working. Thank you,

Manuel Montenegro