Skip to content

RP2040 HAL: Define methods when MRBC_NO_TIMER is defined#272

Merged
hasumikin merged 1 commit intomrubyc:masterfrom
matsudai:fix/gh-270
Mar 5, 2026
Merged

RP2040 HAL: Define methods when MRBC_NO_TIMER is defined#272
hasumikin merged 1 commit intomrubyc:masterfrom
matsudai:fix/gh-270

Conversation

@matsudai
Copy link
Contributor

@matsudai matsudai commented Mar 4, 2026

Move #endif in hal/rp2040/hal.c to right after hal_init() so that hal_write / hal_flush are always defined regardless of MRBC_NO_TIMER.

Fixes #270

Move `#endif` in `hal/rp2040/hal.c` to right after `hal_init()` so that `hal_write` / `hal_flush` are always defined regardless of `MRBC_NO_TIMER`.

Fixes mrubyc#270
@hasumikin hasumikin merged commit ce270fa into mrubyc:master Mar 5, 2026
8 checks passed
@matsudai matsudai deleted the fix/gh-270 branch March 6, 2026 00:09
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.

RP2040 HAL: Link error when MRBC_NO_TIMER is defined

2 participants