Skip to content

Commit f37e1d7

Browse files
committed
squeeze a couple of boards
1 parent 3dc2b4c commit f37e1d7

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

ports/atmel-samd/boards/blm_badge/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CIRCUITPY_AUDIOIO = 1
1414
CIRCUITPY_AUDIOBUSIO = 1
1515
# Pins for I2SOut are not available.
1616
CIRCUITPY_AUDIOBUSIO_I2SOUT = 0
17+
CIRCUITPY_BUSIO_SPI = 0
1718
CIRCUITPY_PWMIO = 0
1819
CIRCUITPY_ROTARYIO = 0
1920
CIRCUITPY_RTC = 0

ports/atmel-samd/boards/sensebox_mcu/mpconfigboard.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ INTERNAL_FLASH_FILESYSTEM = 1
1010
LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
1212

13-
CIRCUITPY_GETPASS = 0
13+
# There are many pin definitions on this board; it doesn't quite fit on very large translations.
14+
# So remove what might be least likely module to be used.
15+
CIRCUITPY_RAINBOWIO = 0

shared-module/usb_hid/Device.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ typedef struct {
4141
mp_obj_base_t base;
4242
// Python buffer object whose contents are the descriptor.
4343
const uint8_t *report_descriptor;
44-
uint8_t report_ids[MAX_REPORT_IDS_PER_DESCRIPTOR];
45-
uint8_t in_report_lengths[MAX_REPORT_IDS_PER_DESCRIPTOR];
46-
uint8_t out_report_lengths[MAX_REPORT_IDS_PER_DESCRIPTOR];
4744
uint8_t *in_report_buffers[MAX_REPORT_IDS_PER_DESCRIPTOR];
4845
uint8_t *out_report_buffers[MAX_REPORT_IDS_PER_DESCRIPTOR];
4946
uint16_t report_descriptor_length;
47+
uint8_t report_ids[MAX_REPORT_IDS_PER_DESCRIPTOR];
48+
uint8_t in_report_lengths[MAX_REPORT_IDS_PER_DESCRIPTOR];
49+
uint8_t out_report_lengths[MAX_REPORT_IDS_PER_DESCRIPTOR];
5050
uint8_t usage_page;
5151
uint8_t usage;
5252
uint8_t num_report_ids;

0 commit comments

Comments
 (0)