[riot-devel] questions on MSP430 CPU-specific code

ROUSSEL Kévin Kevin.Roussel at inria.fr
Thu Dec 19 11:52:28 CET 2013


Hello everyone,

I have two questions concerning the handling of MSP 430 CPUs in RIOT's 
kernel:

a) there is a definition of the MCU main frequency ('F_CPU' macro) in 
the 'cpu/msp430-common/include/cpu.h' file... That seems quite strange, 
since that frequency is probably different from a model to another (e.g. 
F1611, F2617, CC6137...), possibly even from a board to another.
Maybe should it instead be defined in 'board.h' files?

b) I couldn't find where LPM functions (those defined in 
'core/include/lpm.h') are implemented for MSP430 MCUs. Is it still a 
work to do?

Best regards,
-- 


      Kévin Roussel
      Doctorant, projet LAR
      Équipe MADYNES, INRIA Nancy Grand-Est / LORIA
      Tél. : +33 3 54 95 86 27
      Kevin.Roussel at inria.fr



More information about the devel mailing list