Questions tagged [freertos]

FreeRTOS is a portable, open source, real-time operating systems for microcontrollers. It also has some support for microprocessors with memory protection units.

FreeRTOS is a portable, open source, real-time operating systems for microcontrollers. It also has some support for microprocessors with memory protection units. It is designed to be small and simple and consists of only 5 C files and a small portability layer per each unique controller/compiler.

Features

  • Portable - supports 18 toolchains
  • Supports many of the commonly used CPU/MCU architectures including x86, ARM, AVR, AVR32, PIC (PIC24, PIC32, dsPIC), 8051, Z80, PowerPC and more

See also

1097 questions
0
votes
1 answer

DSPIC33F UART DMA Example not working

I am trying to use DMA for my UART Rx and Tx. Till now I had the freeRTOS version of the serial demo working fine. It still works fine. However, now I have incorporated the UART DMA example, from the example projects. the code is conditionally…
Vishal
  • 569
  • 2
  • 5
  • 13
0
votes
1 answer

Embedded processor web server; passing information from browwer to server

I have a simple web server going on an Atmel embedded processor. It's a Cortex M4 and it's only running FreeRTOS as an OS; this is not a high powered processor. I can have it [the Atmel processor] serve up a page by typing in…
DiBosco
  • 838
  • 8
  • 21
0
votes
2 answers

Does STACK_SIZE of a task affect the task switching delay

If i have two tasks TASK_A and TASK_B. Stack size of TASK_A = 300 Stack size of TASK_B = 600 Does context switching time for TASK_A and TASK_B have any dependency on their respective stack size.
0xAB1E
  • 721
  • 10
  • 27
0
votes
1 answer

How to read a button in cerebot Mx7ck without using polling in freeRTOS?

I am novice to freeRTOS. I am currently working on a project that uses cerebot Mx7ck(PIC32) running freeRTOS. I need to read buttons using some events(i.e using button input as input event)? But I am not allowed to use polling technique or ISR…
Main
  • 1,804
  • 3
  • 20
  • 28
0
votes
1 answer

FreeRTOS - Creating Project MinGW or MSVC, undefined reference to "xTaskCreate"

I'm newbie with FreeRTOS and i'm trying to compile a simply example application. If i open the demo application with Microsoft Visual Studio, it works greatly, but once i remove all .c leave only main.c with some simply instatements like…
AndrewAlo
  • 21
  • 4
0
votes
1 answer

flow control implementation - how

I'm sending 1k data using TCP/IP (using FreeRTOS + LwiP). From documents I understood that TCP/IP protocol has its flow control inside its stack itself, but this flow control is dependent on the Network buffers. I'm not sure how this can be handled…
Sorcrer
  • 1,634
  • 1
  • 14
  • 27
0
votes
1 answer

Fix memory position for a function at compilation

Is it possible to set the memory position a function start from? I want to know if it is possible to do so at compilation, linking or even in code. Also I'm working with FreeRTOS, is it possible too?
jlanza
  • 1,208
  • 3
  • 23
  • 43
0
votes
0 answers

Trying to do an HTTP POST command from embedded board to Apache server

I'm trying to get some C code going on an embedded board running FreeRTOS and using its TCP/IP stack to POST a very simple file to an Apache server running on my desktop. I can pull a file from the Apache server to my board just fine, so I know the…
DiBosco
  • 838
  • 8
  • 21
0
votes
1 answer

Stm32f303 freertos

I try to run freertos on stm32f303 discovery. I include all header and source files from freertos archive downloaded from official web site. Also I include portable files from folder /GCC/ARM_CM4F. I use codesourcery lite compiler. And when I try…
user3583807
  • 766
  • 1
  • 8
  • 26
0
votes
1 answer

How to guarantee xTimerChangePeriod within ms resolution?

I've been using xTimerChangePeriod to perform LED animation on an ARM Cortex-M3 (running freeRTOS). I have no access to PWM so that's why I'm doing it with the timer task. The animation is essentially a timer callback that sets LED intensity at…
tll
  • 377
  • 1
  • 3
  • 12
0
votes
0 answers

Why is value getting overwritten?

First, sorry, I know this is long and people might not read it all, but I think it needs a very detailed explanation. I'm trying to get long file names working on Chan Fat File on a Cortex M4 with FreeRTOS. I've got a weird thing going on where, for…
DiBosco
  • 838
  • 8
  • 21
0
votes
1 answer

FreeRTOS Cross Thread Read

Is it safe to have one thread modify an atomic unit (e.g. a char) while the other only reads it? In an environment that permits this of course, like freertos. I have been given some code that does just this, it uses a bool (defined as char) as a…
jayjay
  • 1,017
  • 1
  • 11
  • 23
0
votes
0 answers

Include matter in makefile?

in the makefile there is written: # Include the dependency files -include $(wildcard $(OBJDIR)/*.d) and through the cmd windows it say: E:\A_1_Projekt>make clean makefile:394: no file name for `-include' Cleaning project: rm -rf obj rm -rf…
goethe
  • 35
  • 8
0
votes
1 answer

Starting more than two tasks in RTOS

I'm new in RTOS, my problem is that I can not start more than 2 tasks at the same time. I'm using FREE-RTOS. The task priorities are set to the same level of priority. And configTOTAL_HEAP_SIZE is set on 8192 bytes. Could anyone help me with this,…
nix
  • 25
  • 1
  • 6
0
votes
0 answers

need python support on freertos on 32bit arm cortexM3 board

I am using free rtos on a marvell board, I want to use python at upper layer programming interface. So I need and interpreter or compiler that generates code written in python to native C. I have tried using pymite option but in pymite there are so…
shreyas_patel21
  • 317
  • 1
  • 4
  • 14