I was trying to compile Electron Power application (locally) but getting following linker error, can someone help?
I am using the cmd line:
make PLATFORM=electron PARTICLE_DEVELOP=1 APP=power
H:\projects\particle\firmware\firmware\user/applications/power/application.cpp:51: undefined reference to `MDMParser::powerOn(char const*)'
H:\projects\particle\firmware\firmware\user/applications/power/application.cpp:112: undefined reference to `electronMDM'
Hi @krvarma I just updated this issue and closed it:
The Power application is really just an old app that we used to test things with the PMIC and Fuel Gauge. It's in a bad state right now, and it will compile easily with a few items removed... but it's unclear what it should really be doing anymore. I.e., it's probably a bad idea to use it without a clear understanding of what everything is doing. If there is something specific you are trying to do with the PMIC and Fuel Gauge, please open a community thread about it. For now I'm going to remove the Power app to avoid future confusion.
Thanks @BDub , I was trying to compile with a firmware which declares extern MDMElectronSerial electronMDM;. Any application with this declaration causes this issue. Simply put this declaration and the linking fails with undefined reference. I just given and example to start with.
Is this is only for internal use or any application can use it?