[bsp][stm32][nano] support nano version

stm32 BSPs to support nano version (RT_USING_NANO)

这个commit支持到stm32f7之前的BSP
This commit is contained in:
Meco Man
2023-12-03 01:33:34 +08:00
parent 860094e893
commit bb66d1ea50
305 changed files with 1030 additions and 785 deletions

View File

@@ -1,12 +1,5 @@
menu "Hardware Drivers Config"
config SOC_STM32F103C8
bool
select SOC_SERIES_STM32F1
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
config BSP_USING_USB_TO_USART
@@ -79,7 +72,7 @@ menu "On-chip Peripheral Drivers"
default n
endif
source "../libraries/HAL_Drivers/Kconfig"
source "$BSP_DIR/../libraries/HAL_Drivers/drivers/Kconfig"
endmenu

View File

@@ -8,7 +8,8 @@
* 2019-03-08 obito0 first version
*/
#include "board.h"
#include <board.h>
#include <drv_common.h>
void SystemClock_Config(void)
{

View File

@@ -11,10 +11,7 @@
#ifndef __BOARD_H__
#define __BOARD_H__
#include <rtthread.h>
#include <stm32f1xx.h>
#include "drv_common.h"
#include "drv_gpio.h"
#ifdef __cplusplus
extern "C" {