forked from xuos/xiuos
				
			add board/xiwangtong-arm32 Makefile and path_kernel.mk configure
This commit is contained in:
		
							parent
							
								
									b5495f108a
								
							
						
					
					
						commit
						6c80a2da18
					
				| 
						 | 
				
			
			@ -6,7 +6,7 @@ MAKEFLAGS += --no-print-directory
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
riscv_support := kd233 maix-go hifive1-rev-B gapuino gd32vf103-rvstar rv32m1-vega aiit-riscv64-board xidatong-riscv64
 | 
			
		||||
arm_support += stm32f407-st-discovery stm32f407zgt6 stm32f103-nano nuvoton-m2354 ok1052-c imxrt1176-sbc aiit-arm32-board xidatong-arm32 
 | 
			
		||||
arm_support += stm32f407-st-discovery stm32f407zgt6 stm32f103-nano nuvoton-m2354 ok1052-c imxrt1176-sbc aiit-arm32-board xidatong-arm32 xiwangtong-arm32
 | 
			
		||||
emulator_support += hifive1-emulator k210-emulator cortex-m0-emulator cortex-m3-emulator cortex-m4-emulator
 | 
			
		||||
support := $(riscv_support) $(arm_support) $(emulator_support) 
 | 
			
		||||
SRC_DIR :=
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -55,6 +55,39 @@ KERNELPATHS += \
 | 
			
		|||
endif 
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
ifeq ($(BSP_ROOT),$(KERNEL_ROOT)/board/xiwangtong-arm32)
 | 
			
		||||
KERNELPATHS += \
 | 
			
		||||
	-I$(KERNEL_ROOT)/arch/arm/cortex-m7 \
 | 
			
		||||
	-I$(BSP_ROOT)/third_party_driver \
 | 
			
		||||
	-I$(BSP_ROOT)/third_party_driver/include \
 | 
			
		||||
	-I$(BSP_ROOT)/third_party_driver/sdio/sdmmc/inc \
 | 
			
		||||
	-I$(BSP_ROOT)/third_party_driver/sdio/sdmmc/port \
 | 
			
		||||
	-I$(BSP_ROOT)/third_party_driver/usb/nxp_usb_driver/host \
 | 
			
		||||
	-I$(BSP_ROOT)/third_party_driver/usb/nxp_usb_driver/host/class \
 | 
			
		||||
	-I$(BSP_ROOT)/third_party_driver/usb/nxp_usb_driver/include \
 | 
			
		||||
	-I$(BSP_ROOT)/third_party_driver/usb/nxp_usb_driver/osa \
 | 
			
		||||
	-I$(BSP_ROOT)/third_party_driver/usb/nxp_usb_driver/phy \
 | 
			
		||||
	-I$(BSP_ROOT)/third_party_driver/ethernet \
 | 
			
		||||
	-I$(BSP_ROOT)/third_party_driver/ethernet/lan8720 \
 | 
			
		||||
	-I$(BSP_ROOT)/third_party_driver/CMSIS/Include \
 | 
			
		||||
	-I$(BSP_ROOT)/include \
 | 
			
		||||
	-I$(BSP_ROOT)/xip \
 | 
			
		||||
	-I$(KERNEL_ROOT)/include \
 | 
			
		||||
	-I$(KERNEL_ROOT)/resources/include 
 | 
			
		||||
 | 
			
		||||
ifeq ($(CONFIG_RESOURCES_LWIP),y)
 | 
			
		||||
KERNELPATHS += \
 | 
			
		||||
	-I$(KERNEL_ROOT)/resources/ethernet/LwIP/include \
 | 
			
		||||
	-I$(KERNEL_ROOT)/resources/ethernet/LwIP \
 | 
			
		||||
	-I$(KERNEL_ROOT)/resources/ethernet/LwIP/include/compat \
 | 
			
		||||
	-I$(KERNEL_ROOT)/resources/ethernet/LwIP/include/lwip \
 | 
			
		||||
	-I$(KERNEL_ROOT)/resources/ethernet/LwIP/include/netif \
 | 
			
		||||
	-I$(KERNEL_ROOT)/resources/ethernet/LwIP/include/lwip/apps \
 | 
			
		||||
	-I$(KERNEL_ROOT)/resources/ethernet/LwIP/include/lwip/priv \
 | 
			
		||||
	-I$(KERNEL_ROOT)/resources/ethernet/LwIP/include/lwip/prot \
 | 
			
		||||
	-I$(KERNEL_ROOT)/resources/ethernet/LwIP/arch 
 | 
			
		||||
endif 
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
ifeq ($(BSP_ROOT),$(KERNEL_ROOT)/board/xidatong-riscv64)
 | 
			
		||||
KERNELPATHS += \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue