micropython/ports/nrf/modules
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
..
ble nrf: Update usage of mp_obj_new_str by removing last parameter. 2018-07-18 17:12:25 +10:00
machine nrf/modules/machine/spi: Move enable-guard to prevent wrong includes 2018-07-18 17:12:26 +10:00
music nrf/modules: Align method to resolve pin object 2018-07-18 17:12:26 +10:00
pyb nrf: Add new port to Nordic nRF5x MCUs. 2018-07-18 17:12:25 +10:00
random nrf/modules/random: Rename port config for RNG 2018-07-18 17:12:26 +10:00
ubluepy nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
uos nrf: Enable micro:bit FS by default 2018-07-18 17:12:26 +10:00
utime nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00