This commit is contained in:
parent
4aec35f44b
commit
28b6efa003
|
@ -28,9 +28,6 @@
|
|||
#ifndef CHCONF_H
|
||||
#define CHCONF_H
|
||||
|
||||
// todo: access some existing configuration field
|
||||
#define CORE_CLOCK 168000000
|
||||
|
||||
#define _CHIBIOS_RT_CONF_
|
||||
#define _CHIBIOS_RT_CONF_VER_5_1_
|
||||
|
||||
|
|
|
@ -28,9 +28,6 @@
|
|||
#ifndef CHCONF_H
|
||||
#define CHCONF_H
|
||||
|
||||
// todo: access some existing configuration field
|
||||
#define CORE_CLOCK 216000000
|
||||
|
||||
#define _CHIBIOS_RT_CONF_
|
||||
#define _CHIBIOS_RT_CONF_VER_5_1_
|
||||
|
||||
|
|
|
@ -52,6 +52,10 @@ typedef unsigned int time_t;
|
|||
#define VALUE(x) VALUE_TO_STRING(x)
|
||||
#define VAR_NAME_VALUE(var) #var "=" VALUE(var)
|
||||
|
||||
#define CORE_CLOCK STM32_SYSCLK
|
||||
//#pragma message(VAR_NAME_VALUE(CORE_CLOCK))
|
||||
|
||||
|
||||
/**
|
||||
* project-wide default thread stack size
|
||||
* See also PORT_INT_REQUIRED_STACK
|
||||
|
|
Loading…
Reference in New Issue