[BSP] Update to IRAM2 in frdm-k64f

This commit is contained in:
BernardXiong 2017-12-31 23:00:39 +08:00
parent 0f3563fd64
commit f6b49e7318
4 changed files with 65 additions and 291 deletions

View File

@ -30,8 +30,8 @@ extern void finsh_set_device(const char* device);
#endif
#ifdef __CC_ARM
extern int Image$$RW_IRAM1$$ZI$$Limit;
#define K64_SRAM_BEGIN (&Image$$RW_IRAM1$$ZI$$Limit)
extern int Image$$RW_IRAM2$$ZI$$Limit;
#define K64_SRAM_BEGIN (&Image$$RW_IRAM2$$ZI$$Limit)
#elif __ICCARM__
#pragma section="HEAP"
#define K64_SRAM_BEGIN (__segment_end("HEAP"))

View File

@ -23,8 +23,8 @@
// <o> Internal SRAM memory size[Kbytes] <8-64>
// <i>Default: 64
#define K64_SRAM_SIZE 256
#define K64_SRAM_END (0x1FFF0000 + (K64_SRAM_SIZE * 1024))
#define K64_SRAM_SIZE 192
#define K64_SRAM_END (0x20000000 + (K64_SRAM_SIZE * 1024))
//#define RT_USING_UART1
#define RT_USING_UART0

File diff suppressed because it is too large Load Diff

View File

@ -241,8 +241,8 @@
<Ra1Chk>0</Ra1Chk>
<Ra2Chk>0</Ra2Chk>
<Ra3Chk>0</Ra3Chk>
<Im1Chk>1</Im1Chk>
<Im2Chk>0</Im2Chk>
<Im1Chk>0</Im1Chk>
<Im2Chk>1</Im2Chk>
<OnChipMemories>
<Ocm1>
<Type>0</Type>