tests/periph_gpio: make IRQ related functionality optional#9981
tests/periph_gpio: make IRQ related functionality optional#9981jnohlgard merged 1 commit intoRIOT-OS:masterfrom
Conversation
jnohlgard
left a comment
There was a problem hiding this comment.
The diff display went a little nuts with the reordered functions. This review will take a little while to go through.
|
@haukepetersen please do not assign people but ask for reviews |
|
I would prefer to do the review in pieces. These changes are independent and there are no interdependencies between the CPUs. The change to the test application could be easily reviewed and merged if a separate PR. The test Makefile should change FEATURES_REQUIRED into FEATURES_OPTIONAL for periph_gpio_irq. |
I was about to comment the exact same thing. |
|
This is too big and spread out. It would be better to split each CPU or family into its own PR to make the review process smooth. |
only include irq related shell commands in case the PERIPH_GPIO_IRQ feature is selected
b4a785f to
0b616ac
Compare
|
Changed to scope of this PR to only include the fixes to the |
I was planning on this, actually already talked to @SemjonKerner yesterday and he wanted to open the PR for this today. I guess now I did his work :-) |
jnohlgard
left a comment
There was a problem hiding this comment.
Tested on native. tests/periph_gpio does not link in current master for BOARD=native. With this PR it works, and the init_int shell command is missing from the shell command list in that build.
|
Tested on frdm-kw41z, |
Contribution description
A quick fix for the
tests/periph_gpiotest app, to only include the irq related shell commands in case the irq feature is selected.Testing procedure
Build the
tests/periph_gpioapp as is and also without theUSEMODULE += periph_gpio_irq. Both should compile fine.Issues/PRs references
Tracker: #9977