More work on mk20dx128vlf5 port.
- Basic compilation and loading is working - LED can be turned on/off - USB not yet working
This commit is contained in:
		
							parent
							
								
									acf8cb979c
								
							
						
					
					
						commit
						99d4aaba84
					
				
					 13 changed files with 190 additions and 189 deletions
				
			
		| 
						 | 
				
			
			@ -136,7 +136,7 @@ add_definitions( "-mcpu=${CPU} -DF_CPU=${F_CPU} -D_${CHIP}_=1 -O${OPT} ${TUNING}
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
#| Linker Flags
 | 
			
		||||
set( LINKER_FLAGS "-mcpu=${CPU} -Wl,-Map=${TARGET}.map,--cref -Wl,--gc-sections -mthumb -Wl,--no-wchar-size-warning -T${CMAKE_CURRENT_SOURCE_DIR}/Lib/${CHIP}.ld" )
 | 
			
		||||
set( LINKER_FLAGS "-mcpu=${CPU} -Wl,-Map=link.map,--cref -Wl,--gc-sections -mthumb -Wl,--no-wchar-size-warning -T${CMAKE_CURRENT_SOURCE_DIR}/Lib/${CHIP}.ld" )
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#| Hex Flags (XXX, CMake seems to have issues if you quote the arguments for the custom commands...)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -132,7 +132,7 @@ add_definitions( "-mmcu=${MCU} -DF_CPU=${F_CPU} -D_${MCU}_=1 -O${OPT} ${TUNING}
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
#| Linker Flags
 | 
			
		||||
set( LINKER_FLAGS "-mmcu=${MCU} -Wl,-Map=${TARGET}.map,--cref -Wl,--relax -Wl,--gc-sections" )
 | 
			
		||||
set( LINKER_FLAGS "-mmcu=${MCU} -Wl,-Map=link.map,--cref -Wl,--relax -Wl,--gc-sections" )
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#| Hex Flags (XXX, CMake seems to have issues if you quote the arguments for the custom commands...)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue