Skip to content

Conversation

@arkadiuszwojcik
Copy link
Contributor

@arkadiuszwojcik arkadiuszwojcik commented Jan 19, 2026

This PR introduces FreeRTOS module for MicroZig and for now exposes RP2040 port only. Version for RP2350 will come later. I reconstruted miniaml version of PicoSDK headers neccesery for compilation so this code don't have to relay on full PicoSDK.

Right now module expose only few basic wrappers around FreeRTOS API, more will be added gradually.

Edit:
There are few ugly fragments in glue code (see hello_task.zig example), maybe somone will help me with that.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Lint Results

Found 4 issues on changed lines in 2 files:

  • modules/freertos/build.zig: 1 issue
  • modules/freertos/src/root.zig: 3 issues

@arkadiuszwojcik arkadiuszwojcik marked this pull request as draft January 19, 2026 16:38
@arkadiuszwojcik arkadiuszwojcik marked this pull request as ready for review January 19, 2026 16:40
@mattnite mattnite dismissed github-actions[bot]’s stale review January 19, 2026 20:04

Keep FreeRTOS naming conventions

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Lint Results

Found 4 issues on changed lines in 2 files:

  • modules/freertos/build.zig: 1 issue
  • modules/freertos/src/root.zig: 3 issues

@arkadiuszwojcik
Copy link
Contributor Author

@Grazfather I made requested clenup + added RP2350 ARM port

Copy link
Collaborator

@Grazfather Grazfather left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will test this out in the coming days. It looks good though.

@github-actions github-actions bot dismissed their stale review January 22, 2026 19:54

Updating with new lint results

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Lint Results

Found 6 issues on changed lines in 2 files:

  • modules/freertos/build.zig: 3 issues
  • modules/freertos/src/root.zig: 3 issues

@arkadiuszwojcik
Copy link
Contributor Author

@Grazfather ~3000 lines reduced to 836, and some glue code was moved to c files in freertos module.

@Grazfather Grazfather enabled auto-merge (squash) January 23, 2026 17:56
@Grazfather Grazfather merged commit 3472eb0 into ZigEmbeddedGroup:main Jan 23, 2026
56 checks passed
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.

2 participants