Added Adafruit QT Py RP2040 board.

Added ability to configure indivdual UART, SPI and I2C pin location.
This commit is contained in:
curuvar
2022-07-21 21:04:05 -04:00
committed by Xiang Xiao
parent 421b8ae3e7
commit c21c7ac8dc
113 changed files with 4007 additions and 1836 deletions

View File

@@ -667,7 +667,7 @@ int ws2812_leds_register(FAR const char *devpath, FAR struct spi_dev_s *spi,
return -ENOMEM;
}
priv->nleds = nleds;
priv->nleds = nleds;
priv->tx_buf = (FAR uint8_t *)kmm_zalloc(TXBUFF_SIZE(priv->nleds));
if (!priv->tx_buf)
{