mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
correct memory placement for lpc13. CDC work well
This commit is contained in:
parent
f9ae8fa5d2
commit
786b04e19d
@ -3,4 +3,5 @@
|
||||
<MemorySegment name="FLASH" start="0x00000000" size="0x00010000" access="ReadOnly" />
|
||||
<MemorySegment name="RAM" start="0x10000000" size="0x00002000" access="Read/Write" />
|
||||
<MemorySegment name="RAM2" start="0x20000000" size="0x00000800" access="Read/Write" />
|
||||
<MemorySegment name="RAM3" start="0x20004000" size="0x00000800" access="Read/Write" />
|
||||
</root>
|
||||
|
@ -34,4 +34,8 @@
|
||||
<ProgramSection alignment="4" load="No" name=".data2_run" />
|
||||
<ProgramSection alignment="4" load="No" name=".bss2" />
|
||||
</MemorySegment>
|
||||
<MemorySegment name="$(RAM3_NAME:RAM3)">
|
||||
<ProgramSection alignment="4" load="No" name=".data3_run" />
|
||||
<ProgramSection alignment="4" load="No" name=".bss3" />
|
||||
</MemorySegment>
|
||||
</Root>
|
||||
|
@ -17,7 +17,7 @@
|
||||
arm_target_debug_interface_type="ADIv5"
|
||||
arm_target_device_name="LPC1347"
|
||||
arm_target_interface_type="SWD"
|
||||
c_preprocessor_definitions="__LPC1347FBD64__;__LPC1300_FAMILY;__LPC134x_SUBFAMILY;ARM_MATH_CM3;FLASH_PLACEMENT=1;CORE_M3;BOARD_LPCXPRESSO1347;CFG_TUSB_MCU=OPT_MCU_LPC13XX"
|
||||
c_preprocessor_definitions="__LPC1347FBD64__;__LPC1300_FAMILY;__LPC134x_SUBFAMILY;ARM_MATH_CM3;FLASH_PLACEMENT=1;CORE_M3;BOARD_LPCXPRESSO1347;CFG_TUSB_MCU=OPT_MCU_LPC13XX;CFG_TUSB_MEM_SECTION= __attribute__((section(".bss3")));CFG_TUSB_MEM_ALIGN=__attribute__ ((aligned(64)))"
|
||||
c_user_include_directories="../../src;$(rootDir)/hw;$(rootDir)/src;$(lpcDir)/lpc_chip_13xx/inc"
|
||||
debug_register_definition_file="$(ProjectDir)/LPC13Uxx_Registers.xml"
|
||||
debug_target_connection="J-Link"
|
||||
|
Loading…
x
Reference in New Issue
Block a user