e22lora branch update nuttx10.3

This commit is contained in:
wgzAIIT 2022-06-29 17:04:02 +08:00
parent da565b079d
commit c47aaa6cba
5 changed files with 9 additions and 13 deletions

View File

@ -10,11 +10,11 @@ if ADD_NUTTX_FETURES
config ADAPTER_E22_M0_PATH
string "E22 M0 pin device"
default "/dev/gpout0"
default "/dev/gpio0"
config ADAPTER_E22_M1_PATH
string "E22 M1 pin device"
default "/dev/gpout1"
default "/dev/gpio1"
config ADAPTER_E22_DRIVER

View File

@ -64,7 +64,7 @@ CONFIG_CONNECTION_FRAMEWORK_DEBUG=y
CONFIG_CONNECTION_ADAPTER_LORA=y
CONFIG_ADAPTER_E22=y
CONFIG_ADAPTER_LORA_E22="e22"
CONFIG_ADAPTER_E22_M0_PATH="/dev/gpout0"
CONFIG_ADAPTER_E22_M1_PATH="/dev/gpout1"
CONFIG_ADAPTER_E22_M0_PATH="/dev/gpio0"
CONFIG_ADAPTER_E22_M1_PATH="/dev/gpio1"
CONFIG_ADAPTER_E22_DRIVER="/dev/ttyS3"
CONFIG_USER_ENTRYPOINT="nsh_main"

View File

@ -20,7 +20,7 @@
include $(TOPDIR)/Make.defs
CSRCS = stm32_boot.c stm32_bringup.c stm32_spi.c
CSRCS = stm32_boot.c stm32_bringup.c stm32_spi.c stm32_perfcount.c
ifeq ($(CONFIG_ARCH_LEDS),y)
CSRCS += stm32_autoleds.c
@ -28,10 +28,6 @@ else
CSRCS += stm32_userleds.c
endif
ifeq ($(CONFIG_SCHED_CRITMONITOR),y)
CSRCS += stm32_critmon.c
endif
ifeq ($(CONFIG_AUDIO_CS43L22),y)
CSRCS += stm32_cs43l22.c
endif
@ -40,7 +36,7 @@ ifeq ($(CONFIG_ARCH_BUTTONS),y)
CSRCS += stm32_buttons.c
endif
ifeq ($(CONFIG_CAN),y)
ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
CSRCS += stm32_can.c
endif

View File

@ -22,7 +22,7 @@
* @file stm32_goio.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @version 10.3.0
* @author AIIT XUOS Lab
* @date 2022-05-19
*/

View File

@ -22,7 +22,7 @@
* @file stm32f4discovery.h
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @version 10.3.0
* @author AIIT XUOS Lab
* @date 2022-05-19
*/
@ -583,7 +583,7 @@ int stm32_pwm_setup(void);
*
****************************************************************************/
#ifdef CONFIG_CAN
#ifdef CONFIG_STM32_CAN_CHARDRIVER
int stm32_can_setup(void);
#endif