cpu/stm32: removed file guards from periph drivers#7983
cpu/stm32: removed file guards from periph drivers#7983aabadie merged 3 commits intoRIOT-OS:masterfrom
Conversation
aabadie
left a comment
There was a problem hiding this comment.
Tested with iotlab-m3 and nucleo-f103 and had build issues. See comments below.
| #include "assert.h" | ||
| #include "periph/dac.h" | ||
|
|
||
| /* only compile this, if the CPU has a DAC */ |
There was a problem hiding this comment.
The stm32f1 should be guarded.
There was a problem hiding this comment.
no, why? The stm does not have this features, so it should not be build for this cpu in the first place..
| #include "periph/pwm.h" | ||
| #include "periph/gpio.h" | ||
|
|
||
| #ifdef PWM_NUMOF |
There was a problem hiding this comment.
The stm32f1 should be guarded
|
Murdock does not seem to have trouble building for the |
Ah yes, sorry, I totally misunderstood that. It's fine. |
|
Just need rebase now that #7864 is merged |
19ad164 to
8bf0d18
Compare
|
rebased and fixed two cppcheck issues with i2c drivers that murdock pointed out (unrelated to the actual PR, but needed to make Murdock happy :-)). |
|
Before merging, I'd like to give a try of the I2C drivers modified. |
addresses #7981
same as #7982