Skip to content

Changes for FreeRTOS Library #190

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 12, 2018
Merged

Changes for FreeRTOS Library #190

merged 5 commits into from
Jan 12, 2018

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Jan 5, 2018

Based on #178

@fpistm fpistm force-pushed the pr-178 branch 2 times, most recently from 6ccbec6 to 7716068 Compare January 10, 2018 14:06
@fpistm fpistm self-assigned this Jan 11, 2018
@fpistm fpistm added the enhancement New feature or request label Jan 11, 2018
@fpistm fpistm added this to the Next release milestone Jan 11, 2018
straccio and others added 5 commits January 12, 2018 09:15
Ensure all the priority bits are assigned to be preempt priority
bits by calling NVIC_PriorityGroupConfig( NVIC_PriorityGroup_4 );
before the RTOS is started.

See https://www.freertos.org/RTOS-Cortex-M3-M4.html

Signed-off-by: Frederic.Pillon <[email protected]>
This allow to check thanks '#if __has_include("xxxxx.h")'
if user adds a specific header file.
Ex: Used by STM32duino FreeRTOS to include user FreeRTOS configuration
(named STM32FreeRTOSConfig.h) instead of the FreeRTOSConfig_Default.h

Signed-off-by: Frederic.Pillon <[email protected]>
By default, all Interruption and Exception Handlers are weaked and
aliased to Default_Handler (Infinite Loop, See CMSIS device startup file)
So, those defined handlers in the core doing a loop bring nothing
except to not allow further redefinition.
But this is what we want, be able to redefine those handler.
Ex: FreeRTOS library requires to be able to redefine them.

Signed-off-by: Frederic.Pillon <[email protected]>
Signed-off-by: Frederic.Pillon <[email protected]>
@fpistm fpistm merged commit 76c7915 into stm32duino:master Jan 12, 2018
@fpistm fpistm deleted the pr-178 branch January 12, 2018 15:00
benwaffle pushed a commit to benwaffle/Arduino_Core_STM32 that referenced this pull request Apr 10, 2019
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.

2 participants