16 lines
		
	
	
		
			497 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			497 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| #set(MCU_VARIANT MIMXRT1011)
 | |
| set(JLINK_DEVICE STM32G0B1RE)
 | |
| 
 | |
| set(LD_FILE_gcc ${CMAKE_CURRENT_LIST_DIR}/STM32G0B1RETx_FLASH.ld)
 | |
| set(LD_FILE_iar ${ST_CMSIS}/Source/Templates/iar/linker/stm32g0b1xx_flash.icf)
 | |
| 
 | |
| set(STARTUP_FILE_gcc ${ST_CMSIS}/Source/Templates/gcc/startup_stm32g0b1xx.s)
 | |
| set(STARTUP_FILE_iar ${ST_CMSIS}/Source/Templates/iar/startup_stm32g0b1xx.s)
 | |
| 
 | |
| function(update_board TARGET)
 | |
|   target_compile_definitions(${TARGET} PUBLIC
 | |
|     STM32G0B1xx
 | |
|     #HSE_VALUE=8000000U
 | |
|     )
 | |
| endfunction()
 | 
