progress?
This commit is contained in:
parent
b7fd8b3a05
commit
6cd8ce7b92
7
board.mk
7
board.mk
|
@ -1,4 +1,9 @@
|
|||
DDEFS += -DFIRMWARE_ID=\"AT32F435\"
|
||||
DDEFS += -DSHORT_BOARD_NAME=AT32F435
|
||||
|
||||
DDEFS += -DAT32F435VGT7
|
||||
DDEFS += -DAT32F435xx
|
||||
|
||||
# well, LOL
|
||||
#DDEFS += -DSTM32F437xx
|
||||
DDEFS += -DSTM32F4xx_MCUCONF
|
||||
#DDEFS += -DSTM32F437_MCUCONF
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
CPU_STARTUP_DIR = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f7xx.mk
|
||||
CPU_STARTUP_DIR = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_at32f4xx.mk
|
||||
CPU_PLATFORM = $(CHIBIOS)/os/hal/ports/AT32/AT32F4xx/platform.mk
|
||||
CPU_HWLAYER = ../../../../hw_layer_at
|
|
@ -28,9 +28,6 @@
|
|||
#ifndef CHCONF_H
|
||||
#define CHCONF_H
|
||||
|
||||
// todo: access some existing configuration field
|
||||
#define STM32_SYSCLK 192000000 // 192 MHz
|
||||
|
||||
#define _CHIBIOS_RT_CONF_
|
||||
#define _CHIBIOS_RT_CONF_VER_6_1_
|
||||
|
||||
|
|
Loading…
Reference in New Issue