Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ __future__ = true
_bleio = true # Zephyr board has _bleio
_eve = false
_pew = false
_pixelmap = false
_pixelmap = true # Zephyr board has neopixel_write
_stage = false
adafruit_bus_device = true
adafruit_pixelbuf = false
adafruit_pixelbuf = true # Zephyr board has neopixel_write
aesio = true
alarm = false
analogbufio = false
Expand Down Expand Up @@ -115,12 +115,13 @@ usb_audio = false
usb_cdc = true
usb_hid = true
usb_host = false
usb_host_bulk = false
usb_midi = false
usb_video = false
ustack = false
vectorio = true # Zephyr board has busio
warnings = true
watchdog = false
watchdog = true # Zephyr board has watchdog
wifi = false
zephyr_display = true # Zephyr board has zephyr_display
zephyr_kernel = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ __future__ = true
_bleio = true # Zephyr board has _bleio
_eve = false
_pew = false
_pixelmap = false
_pixelmap = true # Zephyr board has neopixel_write
_stage = false
adafruit_bus_device = true
adafruit_pixelbuf = false
adafruit_pixelbuf = true # Zephyr board has neopixel_write
aesio = true
alarm = false
analogbufio = false
Expand Down Expand Up @@ -115,12 +115,13 @@ usb_audio = false
usb_cdc = true
usb_hid = true
usb_host = false
usb_host_bulk = false
usb_midi = false
usb_video = false
ustack = false
vectorio = true # Zephyr board has busio
warnings = true
watchdog = false
watchdog = true # Zephyr board has watchdog
wifi = false
zephyr_display = false
zephyr_kernel = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ __future__ = true
_bleio = true # Zephyr board has _bleio
_eve = false
_pew = false
_pixelmap = false
_pixelmap = true # Zephyr board has neopixel_write
_stage = false
adafruit_bus_device = true
adafruit_pixelbuf = false
adafruit_pixelbuf = true # Zephyr board has neopixel_write
aesio = true
alarm = false
analogbufio = false
Expand Down Expand Up @@ -115,6 +115,7 @@ usb_audio = false
usb_cdc = true
usb_hid = true
usb_host = false
usb_host_bulk = false
usb_midi = false
usb_video = false
ustack = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ __future__ = true
_bleio = true # Zephyr board has _bleio
_eve = false
_pew = false
_pixelmap = false
_pixelmap = true # Zephyr board has neopixel_write
_stage = false
adafruit_bus_device = true
adafruit_pixelbuf = false
adafruit_pixelbuf = true # Zephyr board has neopixel_write
aesio = true
alarm = false
analogbufio = false
Expand Down Expand Up @@ -115,12 +115,13 @@ usb_audio = false
usb_cdc = true
usb_hid = true
usb_host = false
usb_host_bulk = false
usb_midi = false
usb_video = false
ustack = false
vectorio = true # Zephyr board has busio
warnings = true
watchdog = false
watchdog = true # Zephyr board has watchdog
wifi = false
zephyr_display = false
zephyr_kernel = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ __future__ = true
_bleio = true # Zephyr board has _bleio
_eve = false
_pew = false
_pixelmap = false
_pixelmap = true # Zephyr board has neopixel_write
_stage = false
adafruit_bus_device = true
adafruit_pixelbuf = false
adafruit_pixelbuf = true # Zephyr board has neopixel_write
aesio = true
alarm = false
analogbufio = false
Expand Down Expand Up @@ -115,12 +115,13 @@ usb_audio = false
usb_cdc = false
usb_hid = false
usb_host = false
usb_host_bulk = false
usb_midi = false
usb_video = false
ustack = false
vectorio = true # Zephyr board has busio
warnings = true
watchdog = false
watchdog = true # Zephyr board has watchdog
wifi = false
zephyr_display = false
zephyr_kernel = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ __future__ = true
_bleio = true # Zephyr board has _bleio
_eve = false
_pew = false
_pixelmap = false
_pixelmap = true # Zephyr board has neopixel_write
_stage = false
adafruit_bus_device = true
adafruit_pixelbuf = false
adafruit_pixelbuf = true # Zephyr board has neopixel_write
aesio = true
alarm = false
analogbufio = false
Expand Down Expand Up @@ -115,12 +115,13 @@ usb_audio = false
usb_cdc = true
usb_hid = true
usb_host = false
usb_host_bulk = false
usb_midi = false
usb_video = false
ustack = false
vectorio = true # Zephyr board has busio
warnings = true
watchdog = false
watchdog = true # Zephyr board has watchdog
wifi = false
zephyr_display = false
zephyr_kernel = false
Expand Down
1 change: 1 addition & 0 deletions ports/zephyr-cp/cptools/build_circuitpython.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
"busio": ["fourwire", "i2cdisplaybus", "sdcardio", "sharpdisplay"],
"fourwire": ["displayio", "busdisplay", "epaperdisplay"],
"i2cdisplaybus": ["displayio", "busdisplay", "epaperdisplay"],
"neopixel_write": ["adafruit_pixelbuf", "_pixelmap"],
# Zephyr display backends need displayio and, by extension, terminalio so
# the REPL console appears on the display by default.
"zephyr_display": ["displayio"],
Expand Down
4 changes: 2 additions & 2 deletions shared-bindings/_pixelmap/PixelMap.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
static mp_obj_t pixelmap_pixelmap_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *all_args) {
enum { ARG_pixelbuf, ARG_indices };
static const mp_arg_t allowed_args[] = {
{ MP_QSTR_pixelbuf, MP_ARG_REQUIRED },
{ MP_QSTR_indices, MP_ARG_REQUIRED },
{ MP_QSTR_pixelbuf, MP_ARG_OBJ | MP_ARG_REQUIRED },
{ MP_QSTR_indices, MP_ARG_OBJ | MP_ARG_REQUIRED },
};

mp_arg_val_t args[MP_ARRAY_SIZE(allowed_args)];
Expand Down
Loading