forked from xuos/xiuos
				
			e22lora branch update nuttx10.3
This commit is contained in:
		
							parent
							
								
									da565b079d
								
							
						
					
					
						commit
						c47aaa6cba
					
				| 
						 | 
					@ -10,11 +10,11 @@ if ADD_NUTTX_FETURES
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    config ADAPTER_E22_M0_PATH
 | 
					    config ADAPTER_E22_M0_PATH
 | 
				
			||||||
        string "E22 M0 pin device"
 | 
					        string "E22 M0 pin device"
 | 
				
			||||||
        default "/dev/gpout0"
 | 
					        default "/dev/gpio0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    config ADAPTER_E22_M1_PATH
 | 
					    config ADAPTER_E22_M1_PATH
 | 
				
			||||||
        string "E22 M1 pin device"
 | 
					        string "E22 M1 pin device"
 | 
				
			||||||
        default "/dev/gpout1"
 | 
					        default "/dev/gpio1"
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    config ADAPTER_E22_DRIVER
 | 
					    config ADAPTER_E22_DRIVER
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -64,7 +64,7 @@ CONFIG_CONNECTION_FRAMEWORK_DEBUG=y
 | 
				
			||||||
CONFIG_CONNECTION_ADAPTER_LORA=y
 | 
					CONFIG_CONNECTION_ADAPTER_LORA=y
 | 
				
			||||||
CONFIG_ADAPTER_E22=y
 | 
					CONFIG_ADAPTER_E22=y
 | 
				
			||||||
CONFIG_ADAPTER_LORA_E22="e22"
 | 
					CONFIG_ADAPTER_LORA_E22="e22"
 | 
				
			||||||
CONFIG_ADAPTER_E22_M0_PATH="/dev/gpout0"
 | 
					CONFIG_ADAPTER_E22_M0_PATH="/dev/gpio0"
 | 
				
			||||||
CONFIG_ADAPTER_E22_M1_PATH="/dev/gpout1"
 | 
					CONFIG_ADAPTER_E22_M1_PATH="/dev/gpio1"
 | 
				
			||||||
CONFIG_ADAPTER_E22_DRIVER="/dev/ttyS3"
 | 
					CONFIG_ADAPTER_E22_DRIVER="/dev/ttyS3"
 | 
				
			||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
 | 
					CONFIG_USER_ENTRYPOINT="nsh_main"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -20,7 +20,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
include $(TOPDIR)/Make.defs
 | 
					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)
 | 
					ifeq ($(CONFIG_ARCH_LEDS),y)
 | 
				
			||||||
CSRCS += stm32_autoleds.c
 | 
					CSRCS += stm32_autoleds.c
 | 
				
			||||||
| 
						 | 
					@ -28,10 +28,6 @@ else
 | 
				
			||||||
CSRCS += stm32_userleds.c
 | 
					CSRCS += stm32_userleds.c
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ifeq ($(CONFIG_SCHED_CRITMONITOR),y)
 | 
					 | 
				
			||||||
CSRCS += stm32_critmon.c
 | 
					 | 
				
			||||||
endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
ifeq ($(CONFIG_AUDIO_CS43L22),y)
 | 
					ifeq ($(CONFIG_AUDIO_CS43L22),y)
 | 
				
			||||||
CSRCS += stm32_cs43l22.c
 | 
					CSRCS += stm32_cs43l22.c
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
| 
						 | 
					@ -40,7 +36,7 @@ ifeq ($(CONFIG_ARCH_BUTTONS),y)
 | 
				
			||||||
CSRCS +=  stm32_buttons.c
 | 
					CSRCS +=  stm32_buttons.c
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ifeq ($(CONFIG_CAN),y)
 | 
					ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
 | 
				
			||||||
CSRCS += stm32_can.c
 | 
					CSRCS += stm32_can.c
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,7 +22,7 @@
 | 
				
			||||||
* @file stm32_goio.c
 | 
					* @file stm32_goio.c
 | 
				
			||||||
* @brief nuttx source code
 | 
					* @brief nuttx source code
 | 
				
			||||||
*                https://github.com/apache/incubator-nuttx.git
 | 
					*                https://github.com/apache/incubator-nuttx.git
 | 
				
			||||||
* @version 10.2.0 
 | 
					* @version 10.3.0 
 | 
				
			||||||
* @author AIIT XUOS Lab
 | 
					* @author AIIT XUOS Lab
 | 
				
			||||||
* @date 2022-05-19
 | 
					* @date 2022-05-19
 | 
				
			||||||
*/
 | 
					*/
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,7 +22,7 @@
 | 
				
			||||||
* @file stm32f4discovery.h
 | 
					* @file stm32f4discovery.h
 | 
				
			||||||
* @brief nuttx source code
 | 
					* @brief nuttx source code
 | 
				
			||||||
*                https://github.com/apache/incubator-nuttx.git
 | 
					*                https://github.com/apache/incubator-nuttx.git
 | 
				
			||||||
* @version 10.2.0 
 | 
					* @version 10.3.0 
 | 
				
			||||||
* @author AIIT XUOS Lab
 | 
					* @author AIIT XUOS Lab
 | 
				
			||||||
* @date 2022-05-19
 | 
					* @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);
 | 
					int stm32_can_setup(void);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue