Skip to content

Commit aa5f1ae

Browse files
committed
CMSIS5: Remove ARM7 support and targets
1 parent eabf643 commit aa5f1ae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+1
-12866
lines changed

platform/retarget.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -580,9 +580,6 @@ extern "C" uint32_t __HeapLimit;
580580
#undef errno
581581
extern "C" int errno;
582582

583-
// For ARM7 only
584-
register unsigned char * stack_ptr __asm ("sp");
585-
586583
// Dynamic memory allocation related syscall.
587584
#if defined(TARGET_NUMAKER_PFM_NUC472) || defined(TARGET_NUMAKER_PFM_M453)
588585
// Overwrite _sbrk() to support two region model (heap and stack are two distinct regions).
@@ -599,9 +596,7 @@ extern "C" caddr_t _sbrk(int incr) {
599596
unsigned char* prev_heap = heap;
600597
unsigned char* new_heap = heap + incr;
601598

602-
#if defined(TARGET_ARM7)
603-
if (new_heap >= stack_ptr) {
604-
#elif defined(TARGET_CORTEX_A)
599+
#if defined(TARGET_CORTEX_A)
605600
if (new_heap >= (unsigned char*)&__HeapLimit) { /* __HeapLimit is end of heap section */
606601
#else
607602
if (new_heap >= (unsigned char*)__get_MSP()) {

targets/TARGET_NXP/TARGET_LPC23XX/PeripheralNames.h

Lines changed: 0 additions & 110 deletions
This file was deleted.

targets/TARGET_NXP/TARGET_LPC23XX/PinNames.h

Lines changed: 0 additions & 104 deletions
This file was deleted.

targets/TARGET_NXP/TARGET_LPC23XX/PortNames.h

Lines changed: 0 additions & 34 deletions
This file was deleted.

targets/TARGET_NXP/TARGET_LPC23XX/analogin_api.c

Lines changed: 0 additions & 123 deletions
This file was deleted.

0 commit comments

Comments
 (0)