-
-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathmpconfigport.h
More file actions
74 lines (67 loc) · 3.37 KB
/
mpconfigport.h
File metadata and controls
74 lines (67 loc) · 3.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// SPDX-License-Identifier: MIT
// Copyright (c) 2024 The Pybricks Authors
#define MICROPY_HW_BOARD_NAME "MINDSTORMS EV3 Brick"
#define MICROPY_HW_MCU_NAME "TI Sitara AM1808"
#define PYBRICKS_HUB_NAME "ev3"
#define PYBRICKS_HUB_CLASS_NAME (MP_QSTR_EV3Brick)
#define PYBRICKS_HUB_EV3BRICK (1)
// On EV3, allow PUP imports for easy beta testing
#define PYBRICKS_PY_EV3_PUP_ALIAS (1)
#define PYBRICKS_HUB_CLASS_NAME_ALIAS (MP_QSTR_PrimeHub)
// Pybricks modules
#define PYBRICKS_PY_COMMON (1)
#define PYBRICKS_PY_COMMON_BLE (0)
#define PYBRICKS_PY_COMMON_CHARGER (0)
#define PYBRICKS_PY_COMMON_COLOR_LIGHT (1)
#define PYBRICKS_PY_COMMON_CONTROL (1)
#define PYBRICKS_PY_COMMON_IMU (0)
#define PYBRICKS_PY_COMMON_KEYPAD (1)
#define PYBRICKS_PY_COMMON_KEYPAD_HUB_BUTTONS (4)
#define PYBRICKS_PY_COMMON_LIGHT_ARRAY (1)
#define PYBRICKS_PY_COMMON_LIGHT_MATRIX (0)
#define PYBRICKS_PY_COMMON_LOGGER (1)
#define PYBRICKS_PY_COMMON_MOTOR_MODEL (1)
#define PYBRICKS_PY_COMMON_MOTORS (1)
#define PYBRICKS_PY_COMMON_SPEAKER (1)
#define PYBRICKS_PY_COMMON_SYSTEM (1)
#define PYBRICKS_PY_COMMON_SYSTEM_UMM_INFO (1)
#define PYBRICKS_PY_EV3DEVICES (1)
#define PYBRICKS_PY_EXPERIMENTAL (1)
#define PYBRICKS_PY_HUBS (1)
#define PYBRICKS_PY_IODEVICES (1)
#define PYBRICKS_PY_IODEVICES_ANALOG_SENSOR (1)
#define PYBRICKS_PY_IODEVICES_DC_MOTOR (1)
#define PYBRICKS_PY_IODEVICES_I2C_DEVICE (1)
#define PYBRICKS_PY_IODEVICES_LUMP_DEVICE (1)
#define PYBRICKS_PY_IODEVICES_LWP3_DEVICE (0)
#define PYBRICKS_PY_IODEVICES_PUP_DEVICE (1)
#define PYBRICKS_PY_IODEVICES_UART_DEVICE (1)
#define PYBRICKS_PY_IODEVICES_XBOX_CONTROLLER (0)
#define PYBRICKS_PY_MESSAGING (1)
#define PYBRICKS_PY_MESSAGING_RFCOMM (1)
#define PYBRICKS_PY_NXTDEVICES (1)
#define PYBRICKS_PY_PARAMETERS (1)
#define PYBRICKS_PY_PARAMETERS_BUTTON (1)
#define PYBRICKS_PY_PARAMETERS_ICON (1)
#define PYBRICKS_PY_PARAMETERS_IMAGE (1)
#define PYBRICKS_PY_PARAMETERS_IMAGE_FILE (1)
#define PYBRICKS_PY_DEVICES (1)
#define PYBRICKS_PY_PUPDEVICES (0)
#define PYBRICKS_PY_PUPDEVICES_REMOTE (0)
#define PYBRICKS_PY_ROBOTICS (1)
#define PYBRICKS_PY_ROBOTICS_DRIVEBASE_GYRO (0)
#define PYBRICKS_PY_ROBOTICS_DRIVEBASE_SPIKE (0)
#define PYBRICKS_PY_TOOLS (1)
#define PYBRICKS_PY_TOOLS_HUB_MENU (0)
#define PYBRICKS_PY_TOOLS_APP_DATA (1)
// Pybricks options
#define PYBRICKS_OPT_COMPILER (1)
#define PYBRICKS_OPT_USE_STACK_END_AS_TOP (0)
#define PYBRICKS_OPT_RAW_REPL (1)
#define PYBRICKS_OPT_FLOAT (1)
#define PYBRICKS_OPT_TERSE_ERR (0)
#define PYBRICKS_OPT_EXTRA_LEVEL1 (1)
#define PYBRICKS_OPT_EXTRA_LEVEL2 (1)
#define PYBRICKS_OPT_CUSTOM_IMPORT (1)
#define PYBRICKS_OPT_NATIVE_MOD (1)
#include "../_common/mpconfigport.h"