Skip to content

Commit 2ddf4b3

Browse files
bulislawc1728p9
authored andcommitted
CMSIS5: Remove ARM7 support and targets
1 parent 01f02b4 commit 2ddf4b3

File tree

119 files changed

+15
-19864
lines changed

Some content is hidden

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

119 files changed

+15
-19864
lines changed

platform/mbed_retarget.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -766,9 +766,6 @@ extern "C" uint32_t __HeapLimit;
766766
#undef errno
767767
extern "C" int errno;
768768

769-
// For ARM7 only
770-
register unsigned char * stack_ptr __asm ("sp");
771-
772769
// Dynamic memory allocation related syscall.
773770
#if defined(TARGET_NUMAKER_PFM_NUC472) || defined(TARGET_NUMAKER_PFM_M453)
774771
// Overwrite _sbrk() to support two region model (heap and stack are two distinct regions).
@@ -785,9 +782,7 @@ extern "C" caddr_t _sbrk(int incr) {
785782
unsigned char* prev_heap = heap;
786783
unsigned char* new_heap = heap + incr;
787784

788-
#if defined(TARGET_ARM7)
789-
if (new_heap >= stack_ptr) {
790-
#elif defined(TARGET_CORTEX_A)
785+
#if defined(TARGET_CORTEX_A)
791786
if (new_heap >= (unsigned char*)&__HeapLimit) { /* __HeapLimit is end of heap section */
792787
#else
793788
if (new_heap >= (unsigned char*)__get_MSP()) {

rtos/rtx/TARGET_ARM7/ARM7/TOOLCHAIN_GCC/HAL_CM0.S

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

0 commit comments

Comments
 (0)