mirror of https://github.com/ARMmbed/mbed-os.git
Move OS CLOCK rate to target define
parent
dcaa34a9d6
commit
52ac44b482
|
@ -152,9 +152,6 @@
|
|||
#elif defined(TARGET_STM32F103RB)
|
||||
# define OS_CLOCK 72000000
|
||||
|
||||
#elif defined(TARGET_MTS_MDOT)
|
||||
# define OS_CLOCK 48000000
|
||||
|
||||
# else
|
||||
# error "no target defined"
|
||||
# endif
|
||||
|
|
|
@ -594,7 +594,7 @@ class MTS_MDOT(Target):
|
|||
Target.__init__(self)
|
||||
self.core = "Cortex-M4F"
|
||||
self.extra_labels = ['STM', 'STM32F4', 'STM32F405RG']
|
||||
self.macros = ['HSE_VALUE=26000000']
|
||||
self.macros = ['HSE_VALUE=26000000', 'OS_CLOCK=48000000']
|
||||
self.supported_toolchains = ["ARM", "uARM", "GCC_ARM", "IAR"]
|
||||
self.is_disk_virtual = True
|
||||
self.default_toolchain = "ARM"
|
||||
|
|
Loading…
Reference in New Issue