micropython/ports/nrf/modules/machine
Glenn Ruben Bakke 5925004da3 nrf/modules/machine/spi: Move enable-guard to prevent wrong includes
This patch moves the check of SPI configuration before
including any SPI header files. As targets might disable SPI
support, current code ends up in including SPIM if not SPI
is configured. Hence, this is why the check whether the module is
enabled should be done before including headers.
2018-07-18 17:12:26 +10:00
..
adc.c nrf/modules/machine/adc: Don't compare -1 to an unsigned number. 2018-07-18 17:12:26 +10:00
adc.h nrf/adc: Allow for external use of new and value read function. 2018-07-18 17:12:26 +10:00
i2c.c nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
i2c.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
led.c nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
led.h nrf: Add new port to Nordic nRF5x MCUs. 2018-07-18 17:12:25 +10:00
modmachine.c nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
modmachine.h nrf: Add new port to Nordic nRF5x MCUs. 2018-07-18 17:12:25 +10:00
pin.c nrf/modules/machine/pin: Add support for IRQ on Pin's 2018-07-18 17:12:26 +10:00
pin.h nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
pwm.c nrf/modules: Align method to resolve pin object 2018-07-18 17:12:26 +10:00
pwm.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
rtcounter.c nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
rtcounter.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
spi.c nrf/modules/machine/spi: Move enable-guard to prevent wrong includes 2018-07-18 17:12:26 +10:00
spi.h nrf/spi: Allow for external use of new and transfer function. 2018-07-18 17:12:26 +10:00
temp.c nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
temp.h nrf: Add new port to Nordic nRF5x MCUs. 2018-07-18 17:12:25 +10:00
timer.c nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
timer.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
uart.c nrf/modules/machine/pin: Add support for IRQ on Pin's 2018-07-18 17:12:26 +10:00
uart.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00