We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5249a9a commit 6dbeeceCopy full SHA for 6dbeece
targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/objects.h
@@ -43,9 +43,9 @@
43
#include "PortNames.h"
44
#include "PeripheralNames.h"
45
#include "PinNames.h"
46
-#if NRFX_SPIM_ENABLED
+#if NRFX_SPIM_ENABLED == 1 || defined(DEVICE_SPIM)
47
#include "nrfx_spim.h"
48
-#elif NRFX_SPI_ENABLED
+#elif NRFX_SPI_ENABLED == 1 || defined(DEVICE_SPI)
49
#include "nrfx_spi.h"
50
#endif
51
#include "nrf_twi.h"
@@ -94,9 +94,9 @@ struct serial_s {
94
struct spi_s {
95
int instance;
96
PinName cs;
97
98
nrfx_spim_config_t config;
99
100
nrfx_spi_config_t config;
101
102
bool update;
0 commit comments