fix some builds
This commit is contained in:
parent
5c37b73c6d
commit
e344c6d684
@ -11,3 +11,4 @@ LONGINT_IMPL = NONE
|
|||||||
CIRCUITPY_FULL_BUILD = 0
|
CIRCUITPY_FULL_BUILD = 0
|
||||||
|
|
||||||
SUPEROPT_GC = 0
|
SUPEROPT_GC = 0
|
||||||
|
SUPEROPT_VM = 0
|
||||||
|
@ -8,7 +8,7 @@ USB_MSC_EP_NUM_OUT = 5
|
|||||||
USB_MSC_EP_NUM_IN = 4
|
USB_MSC_EP_NUM_IN = 4
|
||||||
|
|
||||||
# Number of USB endpoint pairs.
|
# Number of USB endpoint pairs.
|
||||||
USB_NUM_EP = 5
|
USB_NUM_EP = 6
|
||||||
|
|
||||||
MPY_TOOL_LONGINT_IMPL = -mlongint-impl=mpz
|
MPY_TOOL_LONGINT_IMPL = -mlongint-impl=mpz
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ CIRCUITPY_BUSDEVICE = 0
|
|||||||
MICROPY_PY_ASYNC_AWAIT = 0
|
MICROPY_PY_ASYNC_AWAIT = 0
|
||||||
|
|
||||||
SUPEROPT_GC = 0
|
SUPEROPT_GC = 0
|
||||||
|
SUPEROPT_VM = 0
|
||||||
|
|
||||||
# Override optimization to keep binary small
|
# Override optimization to keep binary small
|
||||||
OPTIMIZATION_FLAGS = -Os
|
OPTIMIZATION_FLAGS = -Os
|
||||||
|
@ -16,5 +16,3 @@ MCU_PACKAGE = LQFP144
|
|||||||
|
|
||||||
LD_COMMON = boards/common_default.ld
|
LD_COMMON = boards/common_default.ld
|
||||||
LD_FILE = boards/STM32F412_fs.ld
|
LD_FILE = boards/STM32F412_fs.ld
|
||||||
|
|
||||||
CIRCUITPY_USB_HID = 1
|
|
||||||
|
@ -219,7 +219,7 @@ bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_requ
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
#endif CIRCUITPY_USB_VENDOR
|
#endif // CIRCUITPY_USB_VENDOR
|
||||||
|
|
||||||
|
|
||||||
#if MICROPY_KBD_EXCEPTION
|
#if MICROPY_KBD_EXCEPTION
|
||||||
|
Loading…
x
Reference in New Issue
Block a user