[RTduino][ch32v208]修正rtconfig.h配置 (#6920)

This commit is contained in:
Yaochenger 2023-02-10 11:55:52 +08:00 committed by GitHub
parent 657cbfdac7
commit ee121d25dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 77 deletions

View File

@ -134,7 +134,9 @@ CONFIG_RT_USING_PWM=y
# CONFIG_RT_USING_MTD_NAND is not set
# CONFIG_RT_USING_PM is not set
# CONFIG_RT_USING_FDT is not set
# CONFIG_RT_USING_RTC is not set
CONFIG_RT_USING_RTC=y
# CONFIG_RT_USING_ALARM is not set
# CONFIG_RT_USING_SOFT_RTC is not set
# CONFIG_RT_USING_SDIO is not set
# CONFIG_RT_USING_SPI is not set
# CONFIG_RT_USING_WDT is not set
@ -181,8 +183,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
#
# Socket is in the 'Network' category
#
CONFIG_RT_USING_CPLUSPLUS=y
# CONFIG_RT_USING_CPLUSPLUS11 is not set
# CONFIG_RT_USING_CPLUSPLUS is not set
#
# Network
@ -745,20 +746,7 @@ CONFIG_RT_USING_CPLUSPLUS=y
#
# Arduino libraries
#
CONFIG_PKG_USING_RTDUINO=y
CONFIG_PKG_RTDUINO_PATH="/packages/arduino/RTduino"
# CONFIG_RTDUINO_NO_SETUP_LOOP is not set
CONFIG_RTDUINO_THREAD_SIZE=1536
CONFIG_RTDUINO_THREAD_PRIO=30
# CONFIG_RTDUINO_TINY_MODE is not set
# CONFIG_RTDUINO_SUPPORT_FLOAT_STRING is not set
# CONFIG_RTDUINO_USING_WIRE is not set
# CONFIG_RTDUINO_USING_SPI is not set
# CONFIG_RTDUINO_USING_SERVO is not set
# CONFIG_RTDUINO_USING_USBSERIAL is not set
# CONFIG_RTDUINO_USING_SHELL_CMD is not set
CONFIG_PKG_USING_RTDUINO_LATEST_VERSION=y
CONFIG_PKG_RTDUINO_VER="latest"
# CONFIG_PKG_USING_RTDUINO is not set
#
# Projects
@ -985,45 +973,15 @@ CONFIG_BSP_USING_UART1=y
# CONFIG_BSP_USING_UART6 is not set
# CONFIG_BSP_USING_UART7 is not set
# CONFIG_BSP_USING_UART8 is not set
CONFIG_BSP_USING_ADC=y
CONFIG_BSP_USING_ADC1=y
# CONFIG_BSP_USING_ADC2 is not set
# CONFIG_ADC_CHANNEL_16 is not set
# CONFIG_ADC_CHANNEL_17 is not set
# CONFIG_BSP_USING_ADC is not set
# CONFIG_BSP_USING_DAC is not set
CONFIG_BSP_USING_SOFT_I2C=y
CONFIG_BSP_USING_I2C1=y
#
# Notice: PC7 --> 39; PC6 --> 38
#
CONFIG_BSP_I2C1_SCL_PIN=38
CONFIG_BSP_I2C1_SDA_PIN=39
# CONFIG_BSP_USING_I2C2 is not set
# CONFIG_BSP_USING_SOFT_I2C is not set
# CONFIG_BSP_USING_SPI is not set
# CONFIG_BSP_USING_RTC is not set
CONFIG_LSI_VALUE=40000
# CONFIG_BSP_USING_IWDT is not set
# CONFIG_BSP_USING_CAN is not set
CONFIG_BSP_USING_TIM=y
CONFIG_BSP_USING_HWTIMER=y
# CONFIG_BSP_USING_PWM is not set
CONFIG_BSP_USING_TIM1=y
CONFIG_BSP_USING_TIM1_HWTIMER=y
# CONFIG_BSP_USING_TIM1_PWM is not set
# CONFIG_BSP_USING_TIM2 is not set
CONFIG_BSP_USING_TIM3=y
CONFIG_BSP_USING_TIM3_HWTIMER=y
# CONFIG_BSP_USING_TIM3_PWM is not set
CONFIG_BSP_USING_TIM4=y
CONFIG_BSP_USING_TIM4_HWTIMER=y
# CONFIG_BSP_USING_TIM4_PWM is not set
# CONFIG_BSP_USING_TIM5 is not set
# CONFIG_BSP_USING_TIM6 is not set
# CONFIG_BSP_USING_TIM7 is not set
# CONFIG_BSP_USING_TIM8 is not set
# CONFIG_BSP_USING_TIM9 is not set
# CONFIG_BSP_USING_TIM10 is not set
# CONFIG_BSP_USING_TIM is not set
#
# Board extended module Drivers

View File

@ -74,12 +74,8 @@
#define RT_USING_SERIAL
#define RT_USING_SERIAL_V1
#define RT_SERIAL_RB_BUFSZ 64
#define RT_USING_HWTIMER
#define RT_USING_I2C
#define RT_USING_I2C_BITOPS
#define RT_USING_PIN
#define RT_USING_ADC
#define RT_USING_PWM
/* Using USB */
@ -96,7 +92,6 @@
/* Socket is in the 'Network' category */
#define RT_USING_CPLUSPLUS
/* Network */
@ -191,10 +186,6 @@
/* Arduino libraries */
#define PKG_USING_RTDUINO
#define RTDUINO_THREAD_SIZE 1536
#define RTDUINO_THREAD_PRIO 30
#define PKG_USING_RTDUINO_LATEST_VERSION
/* Projects */
@ -241,24 +232,7 @@
#define BSP_USING_GPIO
#define BSP_USING_UART
#define BSP_USING_UART1
#define BSP_USING_ADC
#define BSP_USING_ADC1
#define BSP_USING_SOFT_I2C
#define BSP_USING_I2C1
/* Notice: PC7 --> 39; PC6 --> 38 */
#define BSP_I2C1_SCL_PIN 38
#define BSP_I2C1_SDA_PIN 39
#define LSI_VALUE 40000
#define BSP_USING_TIM
#define BSP_USING_HWTIMER
#define BSP_USING_TIM1
#define BSP_USING_TIM1_HWTIMER
#define BSP_USING_TIM3
#define BSP_USING_TIM3_HWTIMER
#define BSP_USING_TIM4
#define BSP_USING_TIM4_HWTIMER
/* Board extended module Drivers */