Merge pull request #6683 from ganesh-ramachandran/master

Add IAR export and nvstore page size fix for TMPM46B
pull/6537/merge
Cruz Monrreal 2018-04-23 10:53:55 -05:00 committed by GitHub
commit a27700da33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -20,6 +20,7 @@
#define PROGRAM_WIRTE_MAX 16U /* Page program could be written 16 bytes/4 words once */
#define SECTOR_SIZE 0x8000 /* (512 * 8) sectors */
#define PAGE_SIZE 16U /* Page program size is 16 bytes */
#if defined ( __ICCARM__ ) /* IAR Compiler */
#define FLASH_API_ROM ((uint32_t *)__section_begin("FLASH_CODE_ROM"))
@ -143,7 +144,7 @@ uint32_t flash_get_sector_size(const flash_t *obj, uint32_t address)
#endif
uint32_t flash_get_page_size(const flash_t *obj)
{
return FLASH_PAGE_SIZE;
return PAGE_SIZE;
}
#if defined ( __ICCARM__ ) /* IAR Compiler */

View File

@ -273,5 +273,10 @@
},
"ADuCM4050": {
"OGChipSelectEditMenu": "ADuCM4050\tAnalogDevices ADuCM4050"
},
"TMPM46BF10FG":{
"OGChipSelectEditMenu": "TMPM46BF10FG\tToshiba TMPM46BF10FG",
"GFPUCoreSlave": 21,
"GBECoreSlave": 21
}
}