14 lines
		
	
	
		
			398 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			398 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(CMAKE_SYSTEM_PROCESSOR cortex-m4 CACHE INTERNAL "System Processor")
 | |
| set(MCU_VARIANT ra4m1)
 | |
| 
 | |
| set(JLINK_DEVICE R7FA4M1AB)
 | |
| set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld)
 | |
| 
 | |
| function(update_board TARGET)
 | |
|   target_compile_definitions(${TARGET} PUBLIC
 | |
|     CFG_EXAMPLE_VIDEO_READONLY
 | |
|     )
 | |
| #  target_sources(${TARGET} PRIVATE)
 | |
| #  target_include_directories(${BOARD_TARGET} PUBLIC)
 | |
| endfunction()
 | 
