Jump to content
Sign in to follow this  

Changing core files for energia - MSP430FR5739

Recommended Posts

Hi, I am trying to modify some of the core Energia files (main.c) so that I can initialize GPIO pins to LOW right away before Energia goes through its startup sequence. I have an LED driver connected to the MSP430FR5739 experimenter board (v1.1). The issue is, during the startup sequence (before my setup() code is running) the control pin from the experimenter board to the LED driver is active high for a few seconds thus turning the LED to full brightness. I would like to avoid using an external resistor if possible. My question is:

1. Is there a better way to initialize GPIO pins in Energia before the startup sequence?

2. I tried modifying main.cpp (under xxx\energia-1.6.10E18\hardware\energia\msp430\cores\msp430), but the changes didn't seem to reflect when I compiled my code with Energia. I even tried putting erroneous statements intentionally to see if this cause the compilation to fail, but it didn't do anything. Is this the correct file? Or does this version of Energia not allow modifications to core files?

Thank you!


Hardware: MSP430FR5739 Experimenter board v1.1

Energia Version: 1.6.10E18

OS: WIndows 7

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this