progress?

This commit is contained in:
Andrey 2023-05-31 18:39:14 -04:00
parent b7fd8b3a05
commit 6cd8ce7b92
3 changed files with 7 additions and 5 deletions

View File

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

View File

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

View File

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