contiki-ng / mspsim

Official MSPSim git repository
BSD 3-Clause "New" or "Revised" License
66 stars 83 forks source link

fixed configuration for maximum DCO clock speed #46

Closed joakimeriksson closed 9 years ago

joakimeriksson commented 9 years ago

This fix adds the possibility to configure the max DCO clock speed used to clock the MCU. It defaults to the previously hardcoded value but adds a new value inspired from the pull request #38 to the f2xxx MCUs (used in Z1).

nfi commented 9 years ago

:+1:

joakimeriksson commented 9 years ago

If we find a reason for that in the MSP430 datasheets we should add that too. The MAX is obviously different on the different MSP430 families.

cmorty commented 9 years ago

I understand that, but why is the static removed from MIN_DCO_FRQ? This isn't about whether it is sensible to do one or the other, but I was wondering about consistency of the patch.