'make' will produce two outputs: - bootloader.elf to be loaded into the bitstream - app.bin to be loaded through the programmer Loading app.bin is as simple as: - reset the board - `python3 prog.py app.bin`
		
			
				
	
	
		
			35 lines
		
	
	
		
			470 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			470 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| MEMORY
 | |
| {
 | |
|     ICTM (rwx) : ORIGIN = 0x00000000, LENGTH = 2048
 | |
| }
 | |
| 
 | |
| SECTIONS
 | |
| {
 | |
|     .text :
 | |
|     {
 | |
|         KEEP(vector_table.o(.vector_table))
 | |
| 
 | |
|         *(.text*)
 | |
|         *(.rodata*)
 | |
|     } > ICTM
 | |
| 
 | |
|     .bss (NOLOAD) :
 | |
|     {
 | |
|         _bss_begin = .;
 | |
|         *(.bss*)
 | |
|         *(COMMON)
 | |
|         _bss_end = .;
 | |
|     } > ICTM
 | |
| 
 | |
|     .data :
 | |
|     {
 | |
|         *(.data*)
 | |
| 
 | |
|         __exidx_start = .;
 | |
|         *(.exidx*)
 | |
|         __exidx_end = .;
 | |
|     } > ICTM
 | |
| 
 | |
|     _initial_stack_pointer = 2048;
 | |
| }
 |