File tree 1 file changed +12
-1
lines changed
libraries/ThreadDebug/src
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -693,7 +693,7 @@ void Platform_CommSendChar(int character)
693
693
694
694
695
695
696
-
696
+ # ifdef STM32H747xx
697
697
static const char g_memoryMapXml[] = " <?xml version=\" 1.0\" ?>"
698
698
" <!DOCTYPE memory-map PUBLIC \" +//IDN gnu.org//DTD GDB Memory Map V1.0//EN\" \" http://sourceware.org/gdb/gdb-memory-map.dtd\" >"
699
699
" <memory-map>"
@@ -714,6 +714,17 @@ static const char g_memoryMapXml[] = "<?xml version=\"1.0\"?>"
714
714
" <memory type=\" flash\" start=\" 0x90000000\" length=\" 0x10000000\" > <property name=\" blocksize\" >0x200</property></memory>"
715
715
" <memory type=\" ram\" start=\" 0xc0000000\" length=\" 0x800000\" > </memory>"
716
716
" </memory-map>" ;
717
+ #endif
718
+
719
+ #ifdef NRF52840_XXAA
720
+ static const char g_memoryMapXml[] = " <?xml version=\" 1.0\" ?>"
721
+ " <!DOCTYPE memory-map PUBLIC \" +//IDN gnu.org//DTD GDB Memory Map V1.0//EN\" \" http://sourceware.org/gdb/gdb-memory-map.dtd\" >"
722
+ " <memory-map>"
723
+ " <memory type=\" flash\" start=\" 0x00000000\" length=\" 0x100000\" > <property name=\" blocksize\" >0x1000</property></memory>"
724
+ " <memory type=\" ram\" start=\" 0x20000000\" length=\" 0x40000\" > </memory>"
725
+ " <memory type=\" ram\" start=\" 0x00800000\" length=\" 0x40000\" > </memory>"
726
+ " </memory-map>" ;
727
+ #endif
717
728
718
729
uint32_t Platform_GetDeviceMemoryMapXmlSize (void )
719
730
{
You can’t perform that action at this time.
0 commit comments