freertos Questions

4

Solved

I'm working on a trace module which has to monitor FreeRTOS tasks' heap in order to detect stack overflows. I am wondering whether it is possible to get a task stack size after its creation. Can I ...
Stinky asked 20/2, 2020 at 11:0

2

I am using FreeRTOS and i want to use mac protocol which i made ! On a single task, I want to Send_Beacon() function(send beacon frame). When i call that function in task, there was a stack overf...
Nicely asked 24/10, 2016 at 17:41

5

While creating FreeRTOS application project with STM32CubeMx, there are two ways you can use to introduce delay, namely osDelay and HAL_Delay. What's the difference among them and which one shoul...
Foresail asked 16/2, 2017 at 14:10

2

I am trying to add FreeRtos to a project of mine using cmake and eclipse but I am getting an error. I am running debian 10 and my cmake version is 3.13.4. The files for cmake can be found at this g...
Poul asked 22/12, 2020 at 21:14

1

I have FreeRTOS running on a STM32F4DISCOVERY board, and I have this code: xTaskCreate( vTask1, "Task 1", 200, NULL, 1, NULL ); xTaskCreate( vTask2, "Task 2", 200, NULL, 1, NULL ); vTaskStartSched...

3

Solved

I read online that it was possible to build FreeRTOS on Windows for an external device. Can you build it for x86 on ubuntu? Thanks
Japhetic asked 10/5, 2012 at 21:46

1

A C++ wapper around a FreeRTOS queue can be simplified into something like this: template<typename T> class Queue<T> { public: bool push(const T& item) { return xQueueSendToBac...
Matamoros asked 4/8, 2017 at 18:8

3

Solved

I'm using multi-threading on my ESP32. I have created two tasks and pinned them to core 1. With one of them, I get the following error: E (20426) FreeRTOS: FreeRTOS Task "MeasurementTask"...
Resonant asked 28/8, 2020 at 13:39

4

Solved

I work with GCC-ARM-Embedded and FreeRTOS. FreeRTOS has the function vTaskSwitchContext() which is used only in some inline assembler code. The problem is: When I use LTO, GCC does not consider th...
Stem asked 15/7, 2016 at 6:56

2

Using the following setup: Cortex-M3 based µC gcc-arm cross toolchain using C and C++ FreeRtos 7.5.3 Eclipse Luna Segger Jlink with JLinkGDBServer Code Confidence FreeRtos debug plugin Using JL...
Fortalice asked 6/7, 2015 at 20:53

2

Solved

I try to understand why the user has to call the taskYIELD_FROM_ISR() method and why it isn't automatically called by the RTOS within the xStreamBufferSendFromISR method. My question refers to the...
Gunfight asked 30/10, 2019 at 17:58

8

Solved

I am looking for a small libc for embedded use with freertos on a ARM7 microcontroller. I have looked at newlib, but it is a bit too complex for my needs. Newlib calls malloc() in a number of...
Nilsson asked 7/2, 2011 at 12:56

2

Solved

When using an RTOS (ex FreeRTOS), we have separate stack spaces for each thread. So what about ISR (Interrupt Service Routines), does they have a separate stack in the memory? Or is this configurab...
Pamphleteer asked 3/2, 2016 at 14:35

1

I am trying to build a esp32 application, where I have bluetooth and wifi enabled at the same time. Bluetooth is used with the a2dp profile, where the esp is a sink. After receiving the data, it ...
Backstop asked 26/4, 2019 at 10:42

3

Solved

Here are the data types on STM32 microcontrollers: http://www.keil.com/support/man/docs/armcc/armcc_chr1359125009502.htm. These microcontrollers use 32-bit ARM core processors. Which data types hav...
Keefe asked 12/10, 2018 at 17:43

2

Solved

what does mean x and v in task creating or managing of free RTOS? xTaskcreate or vTaskcreate?
Boleyn asked 25/8, 2015 at 8:57

1

Core - ARM Cortex-M4 Compiler - GCC 5.3.0 ARM EABI OS - Free RTOS I am doing stack backtrace using gcc library function _Unwind_Reason_Code _Unwind_Backtrace(_Unwind_Trace_Fn,void*); In our pro...
Altheta asked 16/11, 2017 at 13:51

1

After a rather difficult process of learning some things about interrupt priority, I am still a bit stuck trying to understand what values I am allowed to call for HAL_NVIC_SetPriority() on the Sys...
Buryat asked 9/5, 2018 at 0:45

1

An ESP32 app using ESP-IDF (ESP32 SDK) communicates with two SPI slaves on the same SPI bus (ILI9341 TFT driver, NRF24L01+ RF transceiver). Overall, it works great. However, some of the data receiv...
Moderator asked 18/3, 2018 at 13:8

1

Solved

Quoting the documentation (emphasis theirs) Timer callback functions execute in the context of the timer service task. It is therefore essential that timer callback functions never attempt to bl...
Bacteriostasis asked 3/2, 2018 at 7:56

2

Solved

Where is the Problem? void MyClass::task(void *pvParameter){ while(1){ this->update(); } } void MyClass::startTask(){ xTaskCreate(this->task, "Task", 2048, NULL, 5, NULL); } But, I ge...
Inweave asked 23/8, 2017 at 5:15

3

What is the difference between FreeRTOS and CMSIS-RTOS? Can anyone explain how the two RTOSes are similar or different?
Slayton asked 25/1, 2017 at 18:20

1

I have my freeRTOS currently working on my Microzed board. I am using the Xilinx SDK as the software platform and until now I have been able to create tasks and assign priority. I was just curiou...
Enfield asked 19/2, 2017 at 17:32

3

Solved

Update 2016-12 There is now also a minimal example for this behavior: https://community.nxp.com/message/862676 I'm using a ARM Cortex M4 with freertos using freescales freedom Kinetis IDE (gnu ...
Pyrrhotite asked 13/9, 2016 at 11:7

1

Solved

my goal is to run FreeRTOS from this site on a Raspberry Pi. I have build it using arm-none-eabi-gcc on a Linux machine. Now I have this files/folders: RaspberryPi-FreeRTOS/ ├── build │ ├── Demo ...
Elongate asked 1/5, 2016 at 10:5

© 2022 - 2025 — McMap. All rights reserved.