Westberrytech pr (#14422)
* Added support for WB32 MCU * Modified eeprom_wb32.c * Remove the eeprom_wb32-related code
This commit is contained in:
		
							parent
							
								
									b04f66f245
								
							
						
					
					
						commit
						68838bb700
					
				
					 20 changed files with 1763 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -540,10 +540,39 @@ ifneq (,$(filter $(MCU),STM32L412 STM32L422))
 | 
			
		|||
  UF2_FAMILY ?= STM32L4
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
ifneq ($(findstring WB32F3G71, $(MCU)),)
 | 
			
		||||
  # Cortex version
 | 
			
		||||
  MCU = cortex-m3
 | 
			
		||||
 | 
			
		||||
  # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
 | 
			
		||||
  ARMV = 7
 | 
			
		||||
 | 
			
		||||
  ## chip/board settings
 | 
			
		||||
  # - the next two should match the directories in
 | 
			
		||||
  #   <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
 | 
			
		||||
  MCU_FAMILY = WB32
 | 
			
		||||
  MCU_SERIES = WB32F3G71xx
 | 
			
		||||
 | 
			
		||||
  # Linker script to use
 | 
			
		||||
  # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
 | 
			
		||||
  #   or <keyboard_dir>/ld/
 | 
			
		||||
  MCU_LDSCRIPT ?= WB32F3G71x9
 | 
			
		||||
 | 
			
		||||
  # Startup code to use
 | 
			
		||||
  #  - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
 | 
			
		||||
  MCU_STARTUP ?= wb32f3g71xx
 | 
			
		||||
 | 
			
		||||
  # Board: it should exist either in <chibios>/os/hal/boards/,
 | 
			
		||||
  # <keyboard_dir>/boards/, or drivers/boards/
 | 
			
		||||
  BOARD ?= GENERIC_WB32_F3G71XX
 | 
			
		||||
 | 
			
		||||
  USE_FPU ?= no
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
ifneq ($(findstring GD32VF103, $(MCU)),)
 | 
			
		||||
  # RISC-V
 | 
			
		||||
  MCU = risc-v
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
  # RISC-V extensions and abi configuration
 | 
			
		||||
  MCU_ARCH = rv32imac
 | 
			
		||||
  MCU_ABI = ilp32
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue