8 years, 5 months ago.

Compile error

When I try to compile this I get the following error: "Error: Cannot open source input file "hal.h": No such file or directory in "lmic_MOTE_L152RC/oslmic.h", Line: 38, Col: 18" Target platform is NUCLEO-L152RE. Can't find platform NAMote-72, even in beta mode.

Question relating to:

LMIC transmit example for NAmote-72 with GPS

2 Answers

8 years, 5 months ago.

The NAMote-72 platform will be released soon, but for today you must enable betamode in mbed to see this platform.

As far as I know I'm in beta mode ("Beta" in upper right hand corner). When I press "Add Platform" it takes me to the page https://developer.mbed.org/platforms/ but I don't see it. Do I need to do something else?

posted by Barry O'Mahony 28 Oct 2015
8 years, 5 months ago.

Barry,

Try this:

Enable Beta mode with: https://developer.mbed.org/betamode/?pre=newboards Bring in the NAMote-72 Platform target by creating a blank project: https://developer.mbed.org/compiler/#platform:NAMote-72

After that you should be able to open lmic_NAmote_GPS project and assign NAMote-72 as target

That worked, thanks!

Not getting the error any more, either!

posted by Barry O'Mahony 28 Oct 2015