DoctorP 0 Posted February 19, 2015 Share Posted February 19, 2015 Hi, Is there an 'easy' way to add a new micro, lets say the msp430G2232, to Energia?. I'm developing a new application that will run in this micro, and I would like to make it in Energia, for showing it to my students, but I don't know how to compile a sketch for a micro non-supported. I guess that I should add a library with the physical addresses of the peripherals and pins, but i really don't know if the effort will be worth. Thanks, DoctorP Quote Link to post Share on other sites
spirilis 1,265 Posted February 19, 2015 Share Posted February 19, 2015 See about making a new boards.txt entry with the intended chip. Look in energia-0101E0014/hardware/msp430 for that file. Quote Link to post Share on other sites
DoctorP 0 Posted February 19, 2015 Author Share Posted February 19, 2015 Thanks a lot, Spirilis! Done and working!. In fact, all the 'hard work' had been done, and the libraries are included for all the 'G2 family and many other micros. Really, it was very easy, so I will try to adapt my 'c' code (based on timer interrupts) to Energia. I believe that it will be less optimal (low power modes and so on), but more clear for the students, being their first approach to a microcontroller. Quote Link to post Share on other sites
spirilis 1,265 Posted February 19, 2015 Share Posted February 19, 2015 Play with sleep(), sleepSeconds(), suspend() and wakeup() for a good introduction into low power sleep modes Sent from my Galaxy Note II with Tapatalk 4 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.