Skip to content

RP2040 fixes #424

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 21, 2021
Merged

RP2040 fixes #424

merged 4 commits into from
Dec 21, 2021

Conversation

kilograham
Copy link
Contributor

Fix some edge case bugs in the RP2040 port

Description

  1. malloc was not set to be thread safe by default when using RTOS when not using pico_multicore (i.e. compiling application for a single core only)
  2. RP2040 port initialization with non static memory allocation caused IRQs to be disabled
  3. Use of Raspberry Pi Pico SDK threading primitives or timers prior to FreeRTOS scheduler initialization caused a crash when not using pico_multicore (i.e. compiling application for a single core only)

@kilograham kilograham requested a review from a team as a code owner December 16, 2021 20:55
@codecov
Copy link

codecov bot commented Dec 16, 2021

Codecov Report

Merging #424 (fad53d1) into main (4c4089b) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #424   +/-   ##
=======================================
  Coverage   92.15%   92.15%           
=======================================
  Files           4        4           
  Lines        1274     1274           
  Branches      343      343           
=======================================
  Hits         1174     1174           
  Misses         53       53           
  Partials       47       47           
Flag Coverage Δ
unittests 92.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4c4089b...fad53d1. Read the comment docs.

@aggarg aggarg merged commit debbd25 into FreeRTOS:main Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants