Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate MSP-GCC 7.3.1.24 in main distribution channel #74

Open
rei-vilo opened this issue Oct 27, 2018 · 2 comments
Open

Integrate MSP-GCC 7.3.1.24 in main distribution channel #74

rei-vilo opened this issue Oct 27, 2018 · 2 comments

Comments

@rei-vilo
Copy link
Member

rei-vilo commented Oct 27, 2018

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.

@rei-vilo
Copy link
Member Author

Once #79 has been solved.

@tarunrtes
Copy link

Build options changed, rebuilding all
In file included from E:\Tarun Karak\Energia\Energia_software\energia-1.8.7E21\libraries\SparkFun_9DoF_IMU_Breakout___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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___ICM_20948___Arduino_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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants