energia / msp432r-core

MSP432 EMT core for the production silicon (RED LaunchPad only)
2 stars 5 forks source link

Anaren CC110L Examples Fail to Compile Against MSP432 #3

Closed rei-vilo closed 6 years ago

rei-vilo commented 6 years ago

The examples provided by Energia for the Anaren CC110L fail to compile against the MSP432.

In file included from ~/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/AIR430BoostEuropeETSI/utility/A110x2500Radio.cpp:29:0:
~/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/AIR430BoostEuropeETSI/utility/Platform.h:31:31: fatal error: driverlib/rom_map.h: No such file or directory
 #include <driverlib/rom_map.h>

                               ^
compilation terminated.

https://github.com/energia/msp432r-core/blob/57227b88de66a7874435dd50a13e8f612e39d602/libraries/AIR430BoostEuropeETSI/utility/Platform.h#L31

when rom_map.h has migrated to driverlib/MSP432P4xx/rom_map.h.

Change lines 31-33 to

#include <driverlib/MSP432P4xx/rom_map.h>
#include <driverlib/MSP432P4xx/gpio.h>
#include <driverlib/MSP432P4xx/spi.h>
rei-vilo commented 6 years ago

See PR https://github.com/energia/msp432r-core/pull/4

rei-vilo commented 6 years ago

MSP432 RED is not affected, only MSP432 non-RED.