mbed library sources. Supersedes mbed-src. Edited target satm32f446 for user USART3 pins

Dependents:   IGLOO_board

Fork of mbed-dev by mbed official

Revision:
186:707f6e361f3e
Parent:
184:08ed48f1de7f
diff -r 08ed48f1de7f -r 707f6e361f3e targets/TARGET_TOSHIBA/TARGET_TMPM46B/flash_api.c
--- a/targets/TARGET_TOSHIBA/TARGET_TMPM46B/flash_api.c	Thu Apr 19 17:12:19 2018 +0100
+++ b/targets/TARGET_TOSHIBA/TARGET_TMPM46B/flash_api.c	Fri Jun 22 16:45:37 2018 +0100
@@ -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 @@
 #endif
 uint32_t flash_get_page_size(const flash_t *obj)
 {
-    return FLASH_PAGE_SIZE;
+    return PAGE_SIZE;
 }
 
 #if defined ( __ICCARM__ )    /* IAR Compiler */