Skip to main content
Filter by
Sorted by
Tagged with
Best practices
1 vote
3 replies
98 views

I am using esp-tflite-micro to make some inferences, but it is taking too much time to finish a single inference; enough to trigger the watchdog of the idle tasks. I know I may increase the watchdog ...
Rafael Santiago Altoé's user avatar
1 vote
0 answers
28 views

I am trying to run FreeRTOS on my stm32f407 discovery board. I am using segger system view continuous recording via j-link. The problem I am facing is that when I run this code: status = xTaskCreate(...
Rizwan Ahmad's user avatar
0 votes
0 answers
91 views

I am currently working on the porting of a proprietary RTOS that was originally written for the Coldfire CPU to the Zynq, which has a Cortex-A9 Armv7 CPU inside! I've been struggling for a while to ...
Vladouch's user avatar
1 vote
1 answer
106 views

I'm trying to use an ILI9341 display with nRF52840 in Zephyr (v4.1.99). The build fails with multiple errors about missing Devicetree properties when compiling display_ili9xxx.c: error: '...
kapili's user avatar
  • 19
0 votes
1 answer
115 views

When using a lockfree spsc queue on a single-core processor with RTOS, can we push/pop objects from multiple tasks/IRQs like mpmc queue? Since on a single-core system, there is only one task/IRQ can ...
Tao Li's user avatar
  • 29
0 votes
0 answers
69 views

I'm developing a near real-time application, that forwards messages in a endless loop(no yield, no sleep, no wait). The messages come from shared memory, go to another blocks of shared memory, so my ...
Leon's user avatar
  • 2,165
2 votes
2 answers
137 views

I want to build a very simple server that accepts only one connection at a time on an embedded device (running an RTOS). Two option comes to my mind concerning the socket listener: Option A: have one ...
Elyes 's user avatar
  • 31
1 vote
3 answers
121 views

I want to create a program where there are 2 threads reader and writer. Both reader and writer runs for 10 iterations. I need a synchronization mechanism that can enable reader and writer execute ...
Mughunth Srinivasan's user avatar
1 vote
1 answer
81 views

I use FreeRTOS with tiskless mode enabled. I'm having trouble understanding what's happening in the code: I call this function: eSleepModeStatus eTaskConfirmSleepModeStatus( void ) { /* ...
WITC's user avatar
  • 337
2 votes
0 answers
181 views

I'm working on a context switching mechanism for my RTOS which runs on Cortex-Ms. When I initialize a task's stack, I have it like this Then, I decrement the stack pointer 8 times to fit R11-R4. I ...
Tsz Kit Koon's user avatar
0 votes
1 answer
146 views

I am working with VxWorks SDK on QEMU. I am writing a simple C++ program to enable round-robin scheduling and experiment a bit with the scheduler. In order to enable round-robin I call kernelTimeSlice(...
Andrea Zanni's user avatar
0 votes
3 answers
120 views

I have a device that takes in multiple interrupts from external devices and ultimately sends one interrupt signal to the ARM processor. What I have done is written a driver containing an ISR ...
akmrv's user avatar
  • 23
0 votes
1 answer
733 views

I'm trying to build an LED blinker with FreeRTOS, but there are some errors in the project: undefined symbol vApplicationIdleHook referenced by symbol prvIdleTask (section .text.prvIdleTask in file ...
RUMBUFDSI's user avatar
  • 115
-1 votes
2 answers
481 views

Everyone, I am working with ATtiny85 using Arduino IDE. Recently I was learning about RTOS. I want to ask if it possible to run RTOS on ATtiny85 microcontroller? According to my knowledge it may be ...
Muaaz Ul hassan's user avatar
0 votes
1 answer
61 views

I can't print clock_t as a double or print time elapsed void app_main() { clock_t start, end; long double cpu_time_used; start = clock(); ESP_LOGI(TAG, "Elapsed time"); ESP_LOGI(TAG, &...
Adryan Reis's user avatar
1 vote
0 answers
303 views

I am currently working on porting ThreadX to the Raspberry Pi 3 (or newer). After examining similar projects undertaken for the Pi Pico and Beaglebone, I realized that I would require the following: ...
Adhip Shukla's user avatar
0 votes
1 answer
484 views

I understood that trusted function has unrestricted memory access, however I saw that a trusted function is mapped to QM application. Why do we need to put it in QM application if the function is ...
Jackie's user avatar
  • 119
0 votes
0 answers
21 views

I'm writing a task-set generator tool for generating schedulable task-sets. The motivation behind the tool: After implementing a new spinlock protocol for a specific RTOS, the problem was testing the ...
Drona Nagarajan's user avatar
1 vote
1 answer
77 views

What is the relationship between the two terms? Is it that an ISR will be executed immediately, but an aperiodic task can be scheduled later (using the principle of a polling server or deferred server)...
Andrii's Quest's user avatar
0 votes
3 answers
453 views

I have a device that I've written a driver for in an RTOS such that when it fires off an interrupt, its task is to read a 32-bit value from the device and have the system take some appropriate action ...
akmrv's user avatar
  • 23
0 votes
1 answer
171 views

/* The lowest interrupt priority that can be used in a call to a "set priority" function. */ #define configLIBRARY_LOWEST_INTERRUPT_PRIORITY 15 /* The highest interrupt priority that can ...
Tejas Rane's user avatar
1 vote
1 answer
540 views

I want to start using SystemView to trace my FreeRTOS usage on STM32F767 nucleo boards. When i click on the green triangle "Start Recording", and after asking about, J-Link confirm, then ...
Thuong Duong's user avatar
0 votes
1 answer
65 views

I am using UCOS-II, the underlying operating system for my project. Now, I have encountered a problem that is very difficult for me. I hope someone can give me some advice. I'm running it on a Cortex-...
AlgoOy's user avatar
  • 21
-6 votes
1 answer
652 views

I've been trying this project for a long time (https://www.youtube.com/watch?v=4zMyjaEgj2U&t=1208s) (originally made for imx7s-warp) But strangely (as per photo) it only reaches the line (while (!...
neuberfran's user avatar
0 votes
1 answer
339 views

I'm using this code below trying to achieve a intensity transition effect upon turning on a light: void output2ControlTask(void *argument) { /* USER CODE BEGIN output2ControlTask */ uint32_t ...
Travis Su's user avatar
  • 709

1
2 3 4 5
14