Jump to content

Recommended Posts

Some topics come aver and over again. Here are the most frequent questions.

Wouldn't be nice to have all of them in one single place?

Listed questions:

  • Netiquette for Newbies
  • What Information to Provide When Asking for Help
  • I²C Check-List 
  • Porting an Arduino library to Energia
  • Use Pins Number instead of Pins Names with Energia
  • Add a New Board to Energia
  • LaunchPad and BoosterPack Pins Maps
  • Boards Supporting the Galaxia Library

 

 

  • Netiquette for Newbies
  •  What Information to Provide When Asking for Help 
  • I²C Check-List 
  • Porting an Arduino library to Energia

 

Quote

You’d need to use a library for Arduino and port it to Energia. 

Please find some useful links:

Generally speaking, all calls to low-level functions related to the MCU are not portable, because they rely on the MCU architecture. 

Share this post


Link to post
Share on other sites
  • Use Pins Number instead of Pins Names with Energia

See Energia website > Pin Maps > Pin Naming

Quote

Pin Naming
Users are encouraged to use the physical pin numbers (1-20, 1-40, or 1-80 depending on the LaunchPad) of the BoosterPack header pins as identifiers in their software.  Because these numbers are consistent between all Launchpads, this help to ensure the portability of the user’s software.  Some LaunchPads also support the use of GPIO or Port numbers such as “P1_3”.  These names are not recommended for use and will be deprecated in the future.  New LaunchPads that are added to Energia will not support pin names based on GPIO or Port numbers.

 

  • Add a New Board to Energia 

See Is it Better to Change Header or Remap GPIO in my Sketch?

 

Share this post


Link to post
Share on other sites
  • Boards Supporting the Galaxia Library

The Galaxia library only works on boards running on EMT = Energia Multi-Tasking.

Quote

The Galaxia library relies on the Energia MT implementation of RTOS. As so, some RTOS elements may work with one distribution of Energia but not antoher. Similarly, some RTOS elements may have been removed from the last distribution of Energia MT.

Currently, those boards include the MSP432, CC13x0 and CC32x0.

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

×