summaryrefslogtreecommitdiff
path: root/bsp/stm32
diff options
context:
space:
mode:
authorliukangcc <[email protected]>2021-10-14 16:48:55 +0800
committerliukangcc <[email protected]>2021-10-14 18:09:08 +0800
commit7e88605008bc36352f99091d77a1d307da42cbb6 (patch)
treed24f04129f92f599ae2cea52c7f8c2b18213f1f8 /bsp/stm32
parenteb962237f599d1eaa6861fe3e68b62033f4a523c (diff)
[update] delete undefined function
Diffstat (limited to 'bsp/stm32')
-rw-r--r--bsp/stm32/stm32f302-st-nucleo/.config71
-rw-r--r--bsp/stm32/stm32f302-st-nucleo/rtconfig.h48
2 files changed, 11 insertions, 108 deletions
diff --git a/bsp/stm32/stm32f302-st-nucleo/.config b/bsp/stm32/stm32f302-st-nucleo/.config
index 445c84afd7..0043f908df 100644
--- a/bsp/stm32/stm32f302-st-nucleo/.config
+++ b/bsp/stm32/stm32f302-st-nucleo/.config
@@ -1,4 +1,7 @@
-# Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib)
+#
+# Automatically generated file; DO NOT EDIT.
+# RT-Thread Configuration
+#
#
# RT-Thread Kernel
@@ -24,8 +27,7 @@ CONFIG_IDLE_THREAD_STACK_SIZE=256
#
# CONFIG_RT_KSERVICE_USING_STDLIB is not set
# CONFIG_RT_KSERVICE_USING_TINY_SIZE is not set
-# end of kservice optimization
-
+# CONFIG_RT_USING_ASM_MEMCPY is not set
CONFIG_RT_DEBUG=y
CONFIG_RT_DEBUG_COLOR=y
# CONFIG_RT_DEBUG_INIT_CONFIG is not set
@@ -48,7 +50,6 @@ CONFIG_RT_USING_EVENT=y
CONFIG_RT_USING_MAILBOX=y
CONFIG_RT_USING_MESSAGEQUEUE=y
# CONFIG_RT_USING_SIGNALS is not set
-# end of Inter-Thread communication
#
# Memory Management
@@ -61,7 +62,6 @@ CONFIG_RT_USING_SMALL_MEM=y
# CONFIG_RT_USING_USERHEAP is not set
# CONFIG_RT_USING_MEMTRACE is not set
CONFIG_RT_USING_HEAP=y
-# end of Memory Management
#
# Kernel Device Object
@@ -73,15 +73,12 @@ CONFIG_RT_USING_CONSOLE=y
CONFIG_RT_CONSOLEBUF_SIZE=128
CONFIG_RT_CONSOLE_DEVICE_NAME="uart2"
# CONFIG_RT_PRINTF_LONGLONG is not set
-# end of Kernel Device Object
-
CONFIG_RT_VER_NUM=0x40004
-# end of RT-Thread Kernel
-
CONFIG_ARCH_ARM=y
CONFIG_RT_USING_CPU_FFS=y
CONFIG_ARCH_ARM_CORTEX_M=y
CONFIG_ARCH_ARM_CORTEX_M4=y
+# CONFIG_ARCH_CPU_STACK_GROWS_UPWARD is not set
#
# RT-Thread Components
@@ -95,7 +92,6 @@ CONFIG_RT_MAIN_THREAD_PRIORITY=10
# C++ features
#
# CONFIG_RT_USING_CPLUSPLUS is not set
-# end of C++ features
#
# Command shell
@@ -115,13 +111,11 @@ CONFIG_FINSH_USING_DESCRIPTION=y
# CONFIG_FINSH_ECHO_DISABLE_DEFAULT is not set
# CONFIG_FINSH_USING_AUTH is not set
CONFIG_FINSH_ARG_MAX=10
-# end of Command shell
#
# Device virtual file system
#
# CONFIG_RT_USING_DFS is not set
-# end of Device virtual file system
#
# Device Drivers
@@ -135,25 +129,20 @@ CONFIG_RT_USING_SERIAL_V1=y
CONFIG_RT_SERIAL_USING_DMA=y
CONFIG_RT_SERIAL_RB_BUFSZ=64
# CONFIG_RT_USING_CAN is not set
-CONFIG_RT_USING_HWTIMER=y
+# CONFIG_RT_USING_HWTIMER is not set
# CONFIG_RT_USING_CPUTIME is not set
# CONFIG_RT_USING_I2C is not set
# CONFIG_RT_USING_PHY is not set
CONFIG_RT_USING_PIN=y
# CONFIG_RT_USING_ADC is not set
# CONFIG_RT_USING_DAC is not set
-CONFIG_RT_USING_PWM=y
+# CONFIG_RT_USING_PWM is not set
# CONFIG_RT_USING_MTD_NOR is not set
# CONFIG_RT_USING_MTD_NAND is not set
# CONFIG_RT_USING_PM is not set
# CONFIG_RT_USING_RTC is not set
# CONFIG_RT_USING_SDIO is not set
-CONFIG_RT_USING_SPI=y
-# CONFIG_RT_USING_QSPI is not set
-# CONFIG_RT_USING_SPI_MSD is not set
-# CONFIG_RT_USING_SFUD is not set
-# CONFIG_RT_USING_ENC28J60 is not set
-# CONFIG_RT_USING_SPI_WIFI is not set
+# CONFIG_RT_USING_SPI is not set
# CONFIG_RT_USING_WDT is not set
# CONFIG_RT_USING_AUDIO is not set
# CONFIG_RT_USING_SENSOR is not set
@@ -168,8 +157,6 @@ CONFIG_RT_USING_SPI=y
#
# CONFIG_RT_USING_USB_HOST is not set
# CONFIG_RT_USING_USB_DEVICE is not set
-# end of Using USB
-# end of Device Drivers
#
# POSIX layer and C standard library
@@ -178,7 +165,6 @@ CONFIG_RT_USING_SPI=y
# CONFIG_RT_USING_PTHREADS is not set
CONFIG_RT_LIBC_USING_TIME=y
CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
-# end of POSIX layer and C standard library
#
# Network
@@ -188,32 +174,26 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# Socket abstraction layer
#
# CONFIG_RT_USING_SAL is not set
-# end of Socket abstraction layer
#
# Network interface device
#
# CONFIG_RT_USING_NETDEV is not set
-# end of Network interface device
#
# light weight TCP/IP stack
#
# CONFIG_RT_USING_LWIP is not set
-# end of light weight TCP/IP stack
#
# AT commands
#
# CONFIG_RT_USING_AT is not set
-# end of AT commands
-# end of Network
#
# VBUS(Virtual Software BUS)
#
# CONFIG_RT_USING_VBUS is not set
-# end of VBUS(Virtual Software BUS)
#
# Utilities
@@ -223,16 +203,12 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_RT_USING_UTEST is not set
# CONFIG_RT_USING_VAR_EXPORT is not set
# CONFIG_RT_USING_RT_LINK is not set
-# end of Utilities
-
# CONFIG_RT_USING_LWP is not set
-# end of RT-Thread Components
#
# RT-Thread Utestcases
#
# CONFIG_RT_USING_UTESTCASES is not set
-# end of RT-Thread Utestcases
#
# RT-Thread online packages
@@ -267,17 +243,12 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# Marvell WiFi
#
# CONFIG_PKG_USING_WLANMARVELL is not set
-# end of Marvell WiFi
#
# Wiced WiFi
#
# CONFIG_PKG_USING_WLAN_WICED is not set
-# end of Wiced WiFi
-
# CONFIG_PKG_USING_RW007 is not set
-# end of Wi-Fi
-
# CONFIG_PKG_USING_COAP is not set
# CONFIG_PKG_USING_NOPOLL is not set
# CONFIG_PKG_USING_NETUTILS is not set
@@ -299,8 +270,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_JIOT-C-SDK is not set
# CONFIG_PKG_USING_UCLOUD_IOT_SDK is not set
# CONFIG_PKG_USING_JOYLINK is not set
-# end of IoT Cloud
-
# CONFIG_PKG_USING_NIMBLE is not set
# CONFIG_PKG_USING_OTA_DOWNLOADER is not set
# CONFIG_PKG_USING_IPMSG is not set
@@ -334,7 +303,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set
# CONFIG_PKG_USING_LORA_PKT_SNIFFER is not set
# CONFIG_PKG_USING_HM is not set
-# end of IoT - internet of things
#
# security packages
@@ -344,7 +312,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_TINYCRYPT is not set
# CONFIG_PKG_USING_TFM is not set
# CONFIG_PKG_USING_YD_CRYPTO is not set
-# end of security packages
#
# language packages
@@ -353,7 +320,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_JERRYSCRIPT is not set
# CONFIG_PKG_USING_MICROPYTHON is not set
# CONFIG_PKG_USING_PIKASCRIPT is not set
-# end of language packages
#
# multimedia packages
@@ -367,8 +333,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
#
# CONFIG_PKG_USING_LITTLEVGL2RTT is not set
# CONFIG_PKG_USING_LVGL is not set
-# end of lvgl: powerful and easy-to-use embedded GUI library
-
# CONFIG_PKG_USING_WAVPLAYER is not set
# CONFIG_PKG_USING_TJPGD is not set
# CONFIG_PKG_USING_PDFGEN is not set
@@ -385,8 +349,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
#
# CONFIG_PKG_USING_U8G2_OFFICIAL is not set
# CONFIG_PKG_USING_U8G2 is not set
-# end of u8g2: a monochrome graphic library
-# end of multimedia packages
#
# tools packages
@@ -429,7 +391,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_MEM_SANDBOX is not set
# CONFIG_PKG_USING_SOLAR_TERMS is not set
# CONFIG_PKG_USING_GAN_ZHI is not set
-# end of tools packages
#
# system packages
@@ -442,7 +403,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_QFPLIB_M0_FULL is not set
# CONFIG_PKG_USING_QFPLIB_M0_TINY is not set
# CONFIG_PKG_USING_QFPLIB_M3 is not set
-# end of acceleration: Assembly language or algorithmic acceleration packages
#
# Micrium: Micrium software products porting for RT-Thread
@@ -453,8 +413,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_UC_CLK is not set
# CONFIG_PKG_USING_UC_COMMON is not set
# CONFIG_PKG_USING_UC_MODBUS is not set
-# end of Micrium: Micrium software products porting for RT-Thread
-
# CONFIG_PKG_USING_GUIENGINE is not set
# CONFIG_PKG_USING_PERSIMMON is not set
# CONFIG_PKG_USING_CAIRO is not set
@@ -489,7 +447,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_WCWIDTH is not set
# CONFIG_PKG_USING_MCUBOOT is not set
# CONFIG_PKG_USING_TINYUSB is not set
-# end of system packages
#
# peripheral libraries and drivers
@@ -565,7 +522,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_MISAKA_RGB_BLING is not set
# CONFIG_PKG_USING_BL_MCU_SDK is not set
# CONFIG_PKG_USING_SOFT_SERIAL is not set
-# end of peripheral libraries and drivers
#
# AI packages
@@ -579,7 +535,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_ULAPACK is not set
# CONFIG_PKG_USING_QUEST is not set
# CONFIG_PKG_USING_NAXOS is not set
-# end of AI packages
#
# miscellaneous packages
@@ -592,7 +547,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set
# CONFIG_PKG_USING_NETWORK_SAMPLES is not set
# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set
-# end of samples: kernel and components samples
#
# entertainment: terminal games and other interesting software packages
@@ -606,8 +560,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_SNAKE is not set
# CONFIG_PKG_USING_TETRIS is not set
# CONFIG_PKG_USING_DONUT is not set
-# end of entertainment: terminal games and other interesting software packages
-
# CONFIG_PKG_USING_LIBCSV is not set
# CONFIG_PKG_USING_OPTPARSE is not set
# CONFIG_PKG_USING_FASTLZ is not set
@@ -637,9 +589,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_MCURSES is not set
# CONFIG_PKG_USING_COWSAY is not set
# CONFIG_PKG_USING_TERMBOX is not set
-# end of miscellaneous packages
-# end of RT-Thread online packages
-
CONFIG_SOC_FAMILY_STM32=y
CONFIG_SOC_SERIES_STM32F3=y
@@ -660,9 +609,7 @@ CONFIG_BSP_USING_UART=y
CONFIG_BSP_USING_UART2=y
# CONFIG_BSP_UART2_RX_USING_DMA is not set
# CONFIG_BSP_UART2_TX_USING_DMA is not set
-# end of On-chip Peripheral Drivers
#
# Board extended module Drivers
#
-# end of Hardware Drivers Config
diff --git a/bsp/stm32/stm32f302-st-nucleo/rtconfig.h b/bsp/stm32/stm32f302-st-nucleo/rtconfig.h
index e562dfec76..34fefe936c 100644
--- a/bsp/stm32/stm32f302-st-nucleo/rtconfig.h
+++ b/bsp/stm32/stm32f302-st-nucleo/rtconfig.h
@@ -1,7 +1,8 @@
#ifndef RT_CONFIG_H__
#define RT_CONFIG_H__
-/* Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) */
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread Configuration */
/* RT-Thread Kernel */
@@ -18,7 +19,6 @@
/* kservice optimization */
-/* end of kservice optimization */
#define RT_DEBUG
#define RT_DEBUG_COLOR
@@ -29,14 +29,12 @@
#define RT_USING_EVENT
#define RT_USING_MAILBOX
#define RT_USING_MESSAGEQUEUE
-/* end of Inter-Thread communication */
/* Memory Management */
#define RT_USING_MEMPOOL
#define RT_USING_SMALL_MEM
#define RT_USING_HEAP
-/* end of Memory Management */
/* Kernel Device Object */
@@ -44,9 +42,7 @@
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart2"
-/* end of Kernel Device Object */
#define RT_VER_NUM 0x40004
-/* end of RT-Thread Kernel */
#define ARCH_ARM
#define RT_USING_CPU_FFS
#define ARCH_ARM_CORTEX_M
@@ -61,7 +57,6 @@
/* C++ features */
-/* end of C++ features */
/* Command shell */
@@ -78,11 +73,9 @@
#define MSH_USING_BUILT_IN_COMMANDS
#define FINSH_USING_DESCRIPTION
#define FINSH_ARG_MAX 10
-/* end of Command shell */
/* Device virtual file system */
-/* end of Device virtual file system */
/* Device Drivers */
@@ -92,53 +85,38 @@
#define RT_USING_SERIAL_V1
#define RT_SERIAL_USING_DMA
#define RT_SERIAL_RB_BUFSZ 64
-#define RT_USING_HWTIMER
#define RT_USING_PIN
-#define RT_USING_PWM
-#define RT_USING_SPI
/* Using USB */
-/* end of Using USB */
-/* end of Device Drivers */
/* POSIX layer and C standard library */
#define RT_LIBC_USING_TIME
#define RT_LIBC_DEFAULT_TIMEZONE 8
-/* end of POSIX layer and C standard library */
/* Network */
/* Socket abstraction layer */
-/* end of Socket abstraction layer */
/* Network interface device */
-/* end of Network interface device */
/* light weight TCP/IP stack */
-/* end of light weight TCP/IP stack */
/* AT commands */
-/* end of AT commands */
-/* end of Network */
/* VBUS(Virtual Software BUS) */
-/* end of VBUS(Virtual Software BUS) */
/* Utilities */
-/* end of Utilities */
-/* end of RT-Thread Components */
/* RT-Thread Utestcases */
-/* end of RT-Thread Utestcases */
/* RT-Thread online packages */
@@ -149,72 +127,52 @@
/* Marvell WiFi */
-/* end of Marvell WiFi */
/* Wiced WiFi */
-/* end of Wiced WiFi */
-/* end of Wi-Fi */
/* IoT Cloud */
-/* end of IoT Cloud */
-/* end of IoT - internet of things */
/* security packages */
-/* end of security packages */
/* language packages */
-/* end of language packages */
/* multimedia packages */
/* lvgl: powerful and easy-to-use embedded GUI library */
-/* end of lvgl: powerful and easy-to-use embedded GUI library */
/* u8g2: a monochrome graphic library */
-/* end of u8g2: a monochrome graphic library */
-/* end of multimedia packages */
/* tools packages */
-/* end of tools packages */
/* system packages */
/* acceleration: Assembly language or algorithmic acceleration packages */
-/* end of acceleration: Assembly language or algorithmic acceleration packages */
/* Micrium: Micrium software products porting for RT-Thread */
-/* end of Micrium: Micrium software products porting for RT-Thread */
-/* end of system packages */
/* peripheral libraries and drivers */
-/* end of peripheral libraries and drivers */
/* AI packages */
-/* end of AI packages */
/* miscellaneous packages */
/* samples: kernel and components samples */
-/* end of samples: kernel and components samples */
/* entertainment: terminal games and other interesting software packages */
-/* end of entertainment: terminal games and other interesting software packages */
-/* end of miscellaneous packages */
-/* end of RT-Thread online packages */
#define SOC_FAMILY_STM32
#define SOC_SERIES_STM32F3
@@ -229,10 +187,8 @@
#define BSP_USING_GPIO
#define BSP_USING_UART
#define BSP_USING_UART2
-/* end of On-chip Peripheral Drivers */
/* Board extended module Drivers */
-/* end of Hardware Drivers Config */
#endif