Arduino-FreeRTOS-SAMD21 icon indicating copy to clipboard operation
Arduino-FreeRTOS-SAMD21 copied to clipboard

wrapping memory functions

Open ceotto opened this issue 6 years ago • 0 comments

Hi. I'm starting a new project using Arduino MKR1000 card (SAMD) and RTOS is a great starting point to avoid the development of lots of low level useless code. Thank you for the work in this porting, perhaps I'm going to contribute as far as I can.

Obviously all the memory has to be managed by the RTOS so I putted the file platform.local.txt in the porting directory (\arduino-1.8.9\portable\packages\arduino\hardware\samd\1.8.1).

I've found that in the file platform.local.txt there is a typo, the following lines (39 & 40): undefined reference to '__wrap_malloc' undefined reference to '__wrap_free' has to be changed into: # undefined reference to '__wrap_malloc' # undefined reference to '__wrap_free' to make the compiler work.

I was able to setup and test the examples of the release 8 (so the RTOS appears to work in Genuino MKR1000). Now I'm going to download and test the RTOS10 porting. Best regards

ceotto avatar Jun 27 '19 10:06 ceotto