sys/xtimer: Remove dependency to core_msg#11230
Conversation
|
Instead of adding multiple pairs of |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
|
@kaspar030 IMHO this looks interesting and should also be a lesson learned for |
|
(@maribu, needs rebase) |
20aba0d to
3211147
Compare
|
@miri64: Rebased. I also adapted an xtimer test to disable module |
|
Murdock is not happy - looks like some missing includes that were pulled in before by accident. |
|
@benpicco: Thanks for reminding me of this. Now the missing |
|
Feel free to squash. |
When module `core_msg` is not used, `xtimer` now no longer provides the features related to messages. This allows using `xtimer` without `core_msg`.
Enforce that xtimer is usable without module core_msg
b32918a to
2c3712d
Compare
There was a problem hiding this comment.
The first commit just moves code around.
I verified that tests/xtimer_hang still works without it.
It saves 28 bytes for arduino-mega2560 and 12 bytes for samr21-xpro.
For all other tests it's still included through DEFAULT_MODULE, so no changes there.
Contribution description
When module
core_msgis not used,xtimernow no longer provides the features related to messages. This allows usingxtimerwithoutcore_msg.Testing procedure
The tests
test/xtimer*should still workIssues/PRs references
Spun out of #11226