Add some conditional statements in gpio.h so that we can mock the GPIO registers when building tests. |
||
|---|---|---|
| .. | ||
| stub_adc.cpp | ||
| stub_adc.h | ||
| stub_eeprom.cpp | ||
| stub_gpio.cpp | ||
| stub_shr16.cpp | ||
| stub_timebase.cpp | ||
| stub_timebase.h | ||
Add some conditional statements in gpio.h so that we can mock the GPIO registers when building tests. |
||
|---|---|---|
| .. | ||
| stub_adc.cpp | ||
| stub_adc.h | ||
| stub_eeprom.cpp | ||
| stub_gpio.cpp | ||
| stub_shr16.cpp | ||
| stub_timebase.cpp | ||
| stub_timebase.h | ||