File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
common-hal/neopixel_write Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -36,22 +36,22 @@ CIRCUITPY_NVM = 0
3636
3737CIRCUITPY_ANALOGIO = 1
3838CIRCUITPY_BUSIO = 1
39- CIRCUITPY_NEOPIXEL_WRITE = 0
39+ CIRCUITPY_NEOPIXEL_WRITE = 1
4040CIRCUITPY_PULSEIO = 1
4141CIRCUITPY_PWMIO = 1
4242CIRCUITPY_AUDIOPWMIO = 1
4343CIRCUITPY_CANIO = 0
4444CIRCUITPY_AUDIOBUSIO = 0
4545CIRCUITPY_I2CPERIPHERAL = 0
4646# Requires SPI, PulseIO (stub ok):
47- CIRCUITPY_DISPLAYIO = 0
47+ CIRCUITPY_DISPLAYIO = 1
4848
4949# These modules are implemented in shared-module/ - they can be included in
5050# any port once their prerequisites in common-hal are complete.
5151# Requires DigitalIO:
5252CIRCUITPY_BITBANGIO = 1
5353# Requires neopixel_write or SPI (dotstar)
54- CIRCUITPY_PIXELBUF = 0
54+ CIRCUITPY_PIXELBUF = 1
5555# Requires OS
5656CIRCUITPY_RANDOM = 1
5757# Requires Microcontroller
@@ -69,5 +69,7 @@ CIRCUITPY_BLEIO_HCI = 0
6969CIRCUITPY_BLEIO = 0
7070CIRCUITPY_BUSDEVICE = 0
7171CIRCUITPY_KEYPAD = 1
72+ # RGBMATRIX requires protomatter support, which presently doesn't support the L4
7273CIRCUITPY_RGBMATRIX = 0
7374CIRCUITPY_RTC = 1
75+ CIRCUITPY_ENABLE_MPY_NATIVE = 1
Original file line number Diff line number Diff line change 3030#include "py/mphal.h"
3131#include "py/runtime.h"
3232#include "common-hal/microcontroller/Pin.h"
33+ #if CPY_STM32L4
34+ #include "stm32l4xx_hal.h"
35+ #include "stm32l4xx_ll_gpio.h"
36+ #else
3337#include "stm32f4xx_hal.h"
3438#include "stm32f4xx_ll_gpio.h"
39+ #endif
3540#include "supervisor/port.h"
3641
3742uint64_t next_start_raw_ticks = 0 ;
You can’t perform that action at this time.
0 commit comments