Add STM32Duino to bootloader selection (#10558)
This commit is contained in:
		
							parent
							
								
									adc06c5b3b
								
							
						
					
					
						commit
						d46b8ef67c
					
				
					 20 changed files with 36 additions and 147 deletions
				
			
		| 
						 | 
				
			
			@ -1,10 +0,0 @@
 | 
			
		|||
/* Address for jumping to bootloader on STM32 chips. */
 | 
			
		||||
/* It is chip dependent, the correct number can be looked up here (page 175):
 | 
			
		||||
 * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf
 | 
			
		||||
 * This also requires a patch to chibios:
 | 
			
		||||
 *  <tmk_dir>/tmk_core/tool/chibios/ch-bootloader-jump.patch
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
// STM32F103* does NOT have an USB bootloader in ROM (only serial),
 | 
			
		||||
//  so setting anything here does not make much sense
 | 
			
		||||
#define STM32_BOOTLOADER_ADDRESS 0x80000000
 | 
			
		||||
| 
						 | 
				
			
			@ -1,12 +1,8 @@
 | 
			
		|||
# MCU name
 | 
			
		||||
MCU = STM32F103
 | 
			
		||||
 | 
			
		||||
# GENERIC STM32F103C8T6 board - stm32duino bootloader
 | 
			
		||||
MCU_LDSCRIPT = STM32F103x8_stm32duino_bootloader
 | 
			
		||||
BOARD = STM32_F103_STM32DUINO
 | 
			
		||||
 | 
			
		||||
DFU_ARGS = -d 1eaf:0003 -a2 -R
 | 
			
		||||
DFU_SUFFIX_ARGS = -v 1eaf -p 0003
 | 
			
		||||
# Bootloader selection
 | 
			
		||||
BOOTLOADER = stm32duino
 | 
			
		||||
 | 
			
		||||
# project specific files
 | 
			
		||||
VPATH += keyboards/cannonkeys/bluepill
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue