Hello,
I am trying to build a monolithic firmware for the msom. The purpose of the monolithic build is so that I can give the binary to our testing partner and have them flash the device with a single command. We are using a slightly modified device os for this testing. I don't want to have to build the firmware on their computers.
I am using the compile-debug make command in build script 1.13.0, since that contains the MODULAR=n flag in the compile command for monolithic build. Monolithic building doesn't look to be supported in the 1.15.0 build script. I get an error for undefined references to module_user_init, module_user_loop and module_user_setup at the end of compilation.
My exact call to compile-debug is:
make -f /Users/radek/.particle/toolchains/buildscripts/1.13.0/Makefile -s compile-debug PARTICLE_CLI_PATH=/Users/radek/.vscode/extensions/particle.particle-vscode-core-1.16.14/src/cli/bin/darwin/amd64/particle DEVICE_OS_PATH=/Users/radek/.particle/toolchains/deviceOS/5.7.1 APPDIR=/Users/radek/code/cpp/sandbox/MSOM/WiFiScan PLATFORM=msom PLATFORM_ID=35
Where 5.7.1 refers to the modified os (Basically 5.7.0 with a change for wifi scanning and a change to make it log to indicate custom os).