Skip to content

Update heap_useNewlib from Dave Nadler to support newlib 3.1 #40

Merged
fpistm merged 6 commits intostm32duino:masterfrom
fpistm:heap_newlib
Apr 17, 2021
Merged

Update heap_useNewlib from Dave Nadler to support newlib 3.1 #40
fpistm merged 6 commits intostm32duino:masterfrom
fpistm:heap_newlib

Conversation

@fpistm
Copy link
Copy Markdown
Member

@fpistm fpistm commented Apr 16, 2021

Add heap_useNewlib_ST.c from Dave Nadler (@DRNadler) to support newlib 3.1

https://nadler.com/embedded/newlibAndFreeRTOS.html
https://github.com/DRNadler/FreeRTOS_helpers

Test on going with Newlib 3.3

Special thanks to @DRNadler for his work.

@fpistm fpistm added the enhancement New feature or request label Apr 16, 2021
@fpistm fpistm marked this pull request as draft April 16, 2021 17:52
fpistm added 3 commits April 17, 2021 11:34
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Tested with newlib 3.3 of the xPack GNU Arm Embedded GCC v9.3.1-1.3

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistm fpistm changed the title [WIP] Update heap_useNewlib from Dave Nadler to support newlib 3.1 Update heap_useNewlib from Dave Nadler to support newlib 3.1 Apr 17, 2021
@fpistm fpistm marked this pull request as ready for review April 17, 2021 13:57
Fix issue raised in issue comment:
stm32duino#39 (comment)

when configMEMMANG_HEAP_NB is equal to 1, 2 or 4

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistm fpistm added this to the 10.2.2 milestone Apr 17, 2021
@fpistm fpistm merged commit d624467 into stm32duino:master Apr 17, 2021
@fpistm fpistm deleted the heap_newlib branch April 17, 2021 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant