Add new ARCH option to the makefiles to (eventually) specify the target device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
This commit is contained in:
		
							parent
							
								
									100a197d0e
								
							
						
					
					
						commit
						3d4d8e7f62
					
				
					 196 changed files with 1271 additions and 730 deletions
				
			
		|  | @ -63,6 +63,10 @@ | |||
| MCU = at90usb1287 | ||||
| 
 | ||||
| 
 | ||||
| # Target architecture (see library "Board Types" documentation).
 | ||||
| ARCH = AVR8 | ||||
| 
 | ||||
| 
 | ||||
| # Target board (see library "Board Types" documentation, NONE for projects not requiring
 | ||||
| # LUFA board drivers). If USER is selected, put custom board drivers in a directory called
 | ||||
| # "Board" inside the application directory.
 | ||||
|  | @ -177,7 +181,7 @@ CSTANDARD = -std=c99 | |||
| # Place -D or -U options here for C sources
 | ||||
| CDEFS  = -DF_CPU=$(F_CPU)UL | ||||
| CDEFS += -DF_CLOCK=$(F_CLOCK)UL | ||||
| CDEFS += -DBOARD=BOARD_$(BOARD) | ||||
| CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH) | ||||
| CDEFS += $(LUFA_OPTS) | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dean Camera
						Dean Camera