* add name field to usbd_class_driver_t * ci: use set matrix py script * add riscv32 and cmake support for ch32v307, fomu, gd32vf103 * update build_cmake.py to take --family --board --toolchain * separate hil test to its own workflow * move esp32 board into separated hil json * add make build to ci * remov build_make.py * build.py support esp32 board * setup toolchain support esp-idf * fix missing click * merge family in matrix build to reduce jobs * skip cifuzz since it still has issue with get_deps and click
		
			
				
	
	
		
			21 lines
		
	
	
		
			436 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			436 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
# makefile for arm gcc toolchain
 | 
						|
 | 
						|
# Can be set by family, default to ARM GCC
 | 
						|
CROSS_COMPILE ?= riscv-none-embed-
 | 
						|
 | 
						|
CC = $(CROSS_COMPILE)gcc
 | 
						|
CXX = $(CROSS_COMPILE)g++
 | 
						|
AS = $(CC) -x assembler-with-cpp
 | 
						|
LD = $(CC)
 | 
						|
 | 
						|
GDB = $(CROSS_COMPILE)gdb
 | 
						|
OBJCOPY = $(CROSS_COMPILE)objcopy
 | 
						|
SIZE = $(CROSS_COMPILE)size
 | 
						|
 | 
						|
CFLAGS += \
 | 
						|
  -fsingle-precision-constant \
 | 
						|
 | 
						|
LIBS += -lgcc -lm -lnosys
 | 
						|
 | 
						|
include ${TOP}/examples/build_system/make/toolchain/gcc_common.mk
 |