Open rei-vilo opened 5 years ago
Once #79 has been solved.
Build options changed, rebuilding all In file included from E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/util/ICM_20948_C.h:15:0,
from E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout___ICM_20948___Arduino_Library-1.2.7\src/ICM_20948.h:10,
from C:\Users\TARUN KARAK\Documents\Energia\libraries\SparkFun_9DoF_IMU_Breakout___ICM_20948___Arduino_Library-1.2.7\examples\Arduino\Example1_Basics\Example1_Basics.ino:12:
E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/util/ICM_20948_REGISTERS.h:761:13: error: expected unqualified-id before numeric constant
E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/util/ICM_20948_REGISTERS.h:761:13: error: expected ')' before numeric constant
In file included from E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/util/ICM_20948_C.h:18:0,
from E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout___ICM_20948___Arduino_Library-1.2.7\src/ICM_20948.h:10,
from C:\Users\TARUN KARAK\Documents\Energia\libraries\SparkFun_9DoF_IMU_Breakout___ICM_20948___Arduino_Library-1.2.7\examples\Arduino\Example1_Basics\Example1_Basics.ino:12:
E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/util/ICM_20948_DMP.h:548:17: error: expected unqualified-id before numeric constant
E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/util/ICM_20948_DMP.h:548:17: error: expected ')' before numeric constant
E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/util/ICM_20948_DMP.h:558:17: error: expected unqualified-id before numeric constant
E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/util/ICM_20948_DMP.h:558:17: error: expected ')' before numeric constant
E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/util/ICM_20948_DMP.h:571:17: error: expected unqualified-id before numeric constant
E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/util/ICM_20948_DMP.h:571:17: error: expected ')' before numeric constant
E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/util/ICM_20948_DMP.h:634:17: error: expected unqualified-id before numeric constant
E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/util/ICM_20948_DMP.h:634:17: error: expected ')' before numeric constant
E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/util/ICM_20948_DMP.h:644:17: error: expected unqualified-id before numeric constant
E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/util/ICM_20948_DMP.h:644:17: error: expected ')' before numeric constant
In file included from C:\Users\TARUN KARAK\Documents\Energia\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\examples\Arduino\Example1_Basics\Example1_Basics.ino:12:0:
E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/ICM_20948.h:24:22: error: ISO C++ forbids initialization of member '_printDebug' [-fpermissive]
E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/ICM_20948.h:24:22: error: making '_printDebug' static [-fpermissive]
E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/ICM_20948.h:24:22: error: ISO C++ forbids in-class initialization of non-const static member '_printDebug'
E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/ICM_20948.h:26:43: error: ISO C++ forbids initialization of member 'MAX_MAGNETOMETER_STARTS' [-fpermissive]
E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout_ICM20948Arduino_Library-1.2.7\src/ICM_20948.h:26:43: error: making 'MAX_MAGNETOMETER_STARTS' static [-fpermissive]
exit status 1 Error compiling for board MSP-EXP430FR5994LP.
I am migrating a project from Arduino to energia. Why I am getting these errors? please help.
Branch https://github.com/energia/msp430-lg-core/tree/new_compiler brings support for MSP-GCC 7.3.1.24 with large arrays in FRAM.
I tested successfully building and linking on macOS, with minor adaptations of the
pack_mito_gcc.sh
package generation utility.However, I couldn't test uploading and running the executable on the MSP430 boards, as DSLite has a compatibility issue with macOS 10.14. The bug was reported at macOS 10.14 — Upload to MSP430FR5994 Fails #69 on GitHub and MSP-EXP430FR5994: macOS 10.14 Mojave — Upload to MSP430FR5994 ezFET Fails on the E2E forum.
Wouldn't be nice to release the MSP-GCC 7.3.1.24 version through the main distribution channel, preferably as a new boards package MSP430-New along existing MSP430-Legacy? MSP430-New would target MSP430 MCUs with large FRAM while MSP430-Legacy would focus on MSP430 MCUs with no or small FRAM.
This would answer issues #70, #63, #49.