2014-08-18 02:20 PM
Hello,
First of all, In a PIC32 environment, I usually fix a value for the heap somewhere in the IDE project settings, do I have to consider this while working with Atollic and STM32F4 ?I am new to STM32 MCU's and I want to know if there's a clean port of FreeRTOS to run under the STM32F4Discovery (STM32F407VGT6 - Cortex M-4)I want to know briefly how ISR's are handled under that MCU.Did you know that in order to work with interrupts that uses FreeRTOS API's functions under that RTOS and PIC32 we must use assembly wrappers (a single .S file for each ISR inside we must put the name of the C written ISR) ? does this exist also with the STM32 ? I started working with the STM32F4 and I don't know how ISR's are managed under this ARM based mcu and its FreeRTOS port, I hope that you can give a fast answer to my question.Thank you in advance.2014-08-18 04:08 PM
You can use the interrupts without assembly wrappers. Just write your ISR like you ever did with an STM32. But you have to take care about the Interrupt priorities if you use FreeRTOS api calls inside the ISR. Thats all.
2014-08-18 08:42 PM
2014-08-18 08:43 PM
2014-08-19 02:54 AM
Thank you very much for your answers, for the heap question as I work now under an open source solution (Eclipse, GNU ARM plugin etc...) I found where to fix heap size : in a file called sections.ld