zephyr/samples
Martí Bolívar 8ea9941fe3 samples: led_ws2812: force SPIM on nRF52-DK
The WS2812 SPI driver needs the pixel data to be clocked out on time,
with no gaps between SPI frames. This makes the nordic,nrf-spi
compatible unsuitable for use, since the corresponding driver doesn't
use EasyDMA to clock out the tx buffers.

Force the arduino_spi node in the DT to SPIM mode by setting its
compatible to nordic,nrf-spim. On nRF52832, this driver is disabled by
default due to Product Anomaly Notice (PAN) 58.

We happen to not be affected by PAN 58 in this instance, because we
never read data over the SPIM, only write it. So it's safe to enable
the SPIM driver. This requires a board-specific Kconfig fragment for
nRF52-DK to enable CONFIG_SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58.

Fixes: #29877
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-11-17 10:24:33 -06:00
..
application_development boards: arm: remove non-existing doc link from partition definitions 2020-10-27 15:01:19 -04:00
basic samples: basic/minimal: disable memory pool when MT=n 2020-09-19 05:49:13 -04:00
bluetooth device: convert DEVICE_INIT to DEVICE_DEFINE or SYS_DEVICE_DEFINE 2020-11-10 08:38:09 -06:00
boards samples: boards: nrf: ieee802154: New serialization sample 2020-11-17 09:56:25 +01:00
cpp_synchronization samples: cpp_synchronization: filter for integration 2020-07-30 08:00:03 -04:00
debug samples: debug: Add a simple gdbstub sample 2020-09-02 20:54:57 -04:00
display samples: display: cfb_custom_font: add support for ssd1306fb 2020-11-02 09:40:00 +01:00
drivers samples: led_ws2812: force SPIM on nRF52-DK 2020-11-17 10:24:33 -06:00
hello_world samples: hello_world: cmake warning 2020-09-24 07:25:47 -04:00
lorawan/class_a samples: lorawan: class_a: fix selection of activation type 2020-10-21 08:33:39 -04:00
mpu device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
net samples: net: dumb_http_server_mt: Add connection mgr support 2020-11-17 12:25:36 +02:00
philosophers samples: philosophers: enable for integration testing 2020-07-30 08:00:03 -04:00
portability samples: cmsis_rtos_v1: philosophers: skip up_squared 2020-09-24 13:20:32 -05:00
posix samples: posix: gettimeofday: incorporate libc time API tests 2020-09-04 14:46:43 +02:00
scheduler samples: scheduler: metairq_dispatch: add label directive 2020-08-28 12:54:40 +02:00
sensor sample: sensor: mcp9808: add nucleo-l031k6 overlay to samples 2020-11-13 10:01:06 -06:00
shields samples/shields: x_nucleo_iks01a2: Add shub mode sample 2020-10-14 08:41:41 -05:00
smp samples: smp: pi: Fix path in build instructions 2020-10-26 17:25:37 +01:00
subsys samples: add support for shell management in mcumgr sample 2020-11-11 13:17:02 +01:00
synchronization samples: synchronisation: run thread_b on cpu 0 in SMP mode 2020-10-19 10:57:15 -04:00
testing/integration sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
tfm_integration tfm: Configure TFM via Kconfig instead of Cmake 2020-11-17 14:39:52 +02:00
userspace samples: userspace: syscall_perf 2020-11-09 15:37:11 -05:00
video device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
classic.rst samples: cpp_synchronization: Change sample description to rst format 2020-05-15 17:18:56 +02:00
index.rst samples: debug: Add a simple gdbstub sample 2020-09-02 20:54:57 -04:00