This commit is contained in:
rusefi 2019-05-05 10:26:16 -04:00
parent 4aec35f44b
commit 28b6efa003
3 changed files with 4 additions and 6 deletions

View File

@ -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_

View File

@ -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_

View File

@ -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