update makefile linker

This commit is contained in:
hathach 2018-05-08 22:11:50 +07:00
parent a46959331b
commit 02d0236025
3 changed files with 5 additions and 3 deletions

@ -1 +1 @@
Subproject commit 14471f31545b006cde01d7317518eb440942532f Subproject commit f25cf35634650dabc9fdd493eb563f2c88299b3e

View File

@ -142,7 +142,7 @@ void msc_flash_umount(void)
//--------------------------------------------------------------------+ //--------------------------------------------------------------------+
// tinyusb callbacks // 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 // read10 & write10 has their own callback and MUST not be handled here

View File

@ -14,7 +14,9 @@ MEMORY
FLASH (rx) : ORIGIN = 0xF4000, LENGTH = 0xA000 /* 40 KB */ FLASH (rx) : ORIGIN = 0xF4000, LENGTH = 0xA000 /* 40 KB */
/** RAM Region for bootloader. */ /** 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 /** Location of non initialized RAM. Non initialized RAM is used for exchanging bond information
* from application to bootloader when using buttonluss DFU OTA. * from application to bootloader when using buttonluss DFU OTA.