arduino / arduino/ArduinoCore-renesas

Issue with Preemption in Arduino_FreeRTOS on uno R4 wifi

Open
#396 1 comment 0 reactions 0 assignees View on GitHub
type: imperfection
Dominant language
C
Stars
193
Forks
112
PR merge metrics
No merged PRs in 30d

Description

in the config file the preemption is on but its doesnt actualy work properly you need to use a vtaskdelay or a taskYield to make the scheduler change task and you shouldnt have to if it was properly implemented

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the FreeRTOS configuration for the Uno R4 WiFi and inspect how preemption is enabled. Reproduce the report with multiple tasks that do not call vTaskDelay or taskYield, then trace the scheduler behavior. Done means preemption switches tasks correctly without requiring those calls on the reported board.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.