-
Notifications
You must be signed in to change notification settings - Fork 12
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
PLACE_IN_FRAM Error Message #70
Comments
Same with CCS. The code
returns the message
It is not clear whether the message is a warning or an error. |
Just made a quick test with below code but could not see an issue. // most launchpads have a red LED
#define LED RED_LED
int i PLACE_IN_FRAM ;
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(LED, OUTPUT);
i = 0;
}
// the loop routine runs over and over again forever:
void loop() {
if (i++ == 10)
{
i=0;
digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
} |
The above sketch still outputs the warning / error
Configuration
|
just commited a fix and opened a pull request |
The FRAM space seems to be pretty limited, to 4096 bytes. Having a look at
So the question remains: how to get a large array in FRAM?
|
See https://github.com/energia/msp430-lg-core/blob/new_compiler/extras/readme.txt for support of MSP-GCC 7.3.1.24 with large arrays in FRAM. Tested successfully on macOS with minor adaptations. |
Using
PLACE_IN_FRAM
against the MSP430FR5994 LaunchPad throws this error message:I'm using the latest release of msp430-lg-core/variants/MSP-EXP430FR5994LP/pins_energia.h
msp430-lg-core/variants/MSP-EXP430FR5994LP/pins_energia.h
Line 42 in 0a245b2
How to understand the error message and how to fix it?
See #49 and #31.
The text was updated successfully, but these errors were encountered: