Comments (4)
Hi @danyhm
This library is provided as a base to use FreeRTOS with the STM32 core not all configurations are provided nor supported.
User can customize the configuration but it is up to end user to provide/implement the required code.
I guess you enabled the configUSE_CMSIS_RTOS_V2
then configSUPPORT_STATIC_ALLOCATION
is enabled.
Even in this case this is the user who need to provide it as described in the documentation:
https://www.freertos.org/a00110.html#configSUPPORT_STATIC_ALLOCATION
If configSUPPORT_STATIC_ALLOCATION is set to 1 then the application writer must also provide two callback functions: vApplicationGetIdleTaskMemory() to provide the memory for use by the RTOS Idle task, and (if configUSE_TIMERS is set to 1) vApplicationGetTimerTaskMemory() to provide memory for use by the RTOS Daemon/Timer Service task.
This is the case for several configurations and the library could not provide them to let user properly implements his solution properly.
from stm32freertos.
@fpistm no actually i disabled CMSIS V2 because of the hardfault. then manually enabled static allocation and then the compiler gave me the linkage error. I looked into it using CubeMX generated code and found out that It has to be implemented manually which I did.
from stm32freertos.
OK. So you do what was required ;)
I close this issue has there is no problem. Code have to be added/handled at application level.
from stm32freertos.
just want to add that if your sketch file is cpp, then you have to add extern "C" in front otherwise linker won't find it.. Would be nice if this was on a wiki page.
from stm32freertos.
Related Issues (20)
- Parameters at task startup HOT 5
- Message buffer is not supported HOT 1
- How to use other timebase for HAL, cause the freeRTOS use the Systick? HOT 7
- Cannot build for STM32L552ZE-Q HOT 3
- I find a bug in osSemaphoreCreate HOT 3
- Why the freertos version is so old? HOT 1
- I can not use osSemaphoreRelease(rtcMinuteInterruptSemID) in the RTC alarm IRQ HOT 6
- Can not use HID bootloader while using STM32FreeRTOS HOT 6
- STM32 Free RTOS problem with the STM32Ethernet library HOT 1
- Including STM32FreeRTOS Crashes Board HOT 2
- L073RZ support HOT 1
- error: #5: cannot open source input file "cmsis_gcc.h" HOT 2
- STM32duino vTaskStartScheduler() problem HOT 5
- Calling vTaskDelay in loop() leads to infamous vListInsert death spiral HOT 3
- Interrupts and Multiple Tasks Causing Usage Fault INVPC HOT 14
- Is it a good practice to change HAL time base to timer and free SysTick for FreeRTOS? HOT 3
- FreeRTOS CPU HSE Clock Configuration HOT 1
- Error when compiling programs for CMSIS-RTOS V2, as well as examples HOT 1
- Documentation suggestion for configCHECK_FOR_STACK_OVERFLOW and for LED_BUILTIN HOT 1
- USB Serial is not working with STM32FreeRTOS in STM32 black pill HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stm32freertos.