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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...