update makefile linker
This commit is contained in:
		| @@ -142,7 +142,7 @@ void msc_flash_umount(void) | ||||
| //--------------------------------------------------------------------+ | ||||
| // tinyusb callbacks | ||||
| //--------------------------------------------------------------------+ | ||||
| int32_t tud_msc_scsi_cb (uint8_t rhport, uint8_t lun, uint8_t scsi_cmd[16], void* buffer, uint16_t bufsize) | ||||
| int32_t tud_msc_scsi_cb (uint8_t rhport, uint8_t lun, uint8_t const scsi_cmd[16], void* buffer, uint16_t bufsize) | ||||
| { | ||||
|   // read10 & write10 has their own callback and MUST not be handled here | ||||
|  | ||||
|   | ||||
| @@ -14,7 +14,9 @@ MEMORY | ||||
|   FLASH (rx) : ORIGIN = 0xF4000, LENGTH = 0xA000 /* 40 KB */ | ||||
|  | ||||
|   /** RAM Region for bootloader. */ | ||||
|   RAM (rwx) :  ORIGIN = 0x20003400, LENGTH = 0x20007F80-0x20003400 | ||||
|   /*RAM (rwx) :  ORIGIN = 0x20003400, LENGTH = 0x20007F80-0x200034008 */ | ||||
|   /* Avoid conflict with NOINIT for OTA bond sharing */ | ||||
|   RAM (rwx) :  ORIGIN = 0x20008000, LENGTH = 0x20040000-0x20008000 | ||||
|  | ||||
|   /** Location of non initialized RAM. Non initialized RAM is used for exchanging bond information | ||||
|    *  from application to bootloader when using buttonluss DFU OTA.  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user