File tree Expand file tree Collapse file tree 3 files changed +12
-24
lines changed Expand file tree Collapse file tree 3 files changed +12
-24
lines changed Original file line number Diff line number Diff line change 3
3
CONFIG_NETWORKING=n
4
4
CONFIG_CONSOLE_SUBSYS=n
5
5
6
- # for PDM microphone, set CONFIG_AUDIO=y (also enable in overlay)
6
+ # for PDM microphone, set these three to y
7
+ # and also enable in overlay
7
8
CONFIG_AUDIO=n
8
- CONFIG_AUDIO_DMIC=y
9
- CONFIG_AUDIO_DMIC_NRFX_PDM=y
9
+ CONFIG_AUDIO_DMIC=n
10
+ CONFIG_AUDIO_DMIC_NRFX_PDM=n
10
11
11
12
# Enable Bluetooth
12
13
CONFIG_BT=y
13
14
CONFIG_BT_PERIPHERAL=y
14
15
CONFIG_BT_CENTRAL=y
15
- CONFIG_BT_DEVICE_NAME="XIAO nRF52840 Sense"
16
+ CONFIG_BT_DEVICE_NAME="XIAO BLE nRF52840 Sense"
16
17
CONFIG_BT_GATT_DYNAMIC_DB=y
17
18
CONFIG_BT_DEVICE_NAME_DYNAMIC=y
18
19
CONFIG_BT_GATT_CLIENT=y
@@ -45,9 +46,10 @@ CONFIG_MICROPY_VFS_LFS2=y
45
46
CONFIG_MICROPY_VFS_FAT=y
46
47
47
48
CONFIG_MICROPY_FROZEN_MODULES=y
48
- CONFIG_MICROPY_FROZEN_MANIFEST="boards/manifest_xiao_ble_nrf52840_sense .py"
49
- CONFIG_MICROPY_CONFIGFILE="boards/mpconfigport-xiao .h"
49
+ CONFIG_MICROPY_FROZEN_MANIFEST="boards/xiao_ble_nrf52840_sense/manifest .py"
50
+ CONFIG_MICROPY_CONFIGFILE="boards/xiao_ble_nrf52840_sense/ mpconfigport.h"
50
51
52
+ # Using PicoLibC instead of Newlib saves around 7k of flash.
51
53
CONFIG_NEWLIB_LIBC=n
52
54
CONFIG_PICOLIBC=y
53
55
CONFIG_PICOLIBC_USE_MODULE=n
@@ -59,7 +61,6 @@ CONFIG_THREAD_STACK_INFO=y
59
61
60
62
# For using the on-board LSM6DS accelerometer with the zsensor code.
61
63
CONFIG_SENSOR=y
62
- CONFIG_LSM6DSL_TRIGGER_GLOBAL_THREAD=y # Not sure that this is useful.
63
64
64
65
CONFIG_LOG=n
65
66
CONFIG_FP16=n
Original file line number Diff line number Diff line change 1
- # This is an example frozen module manifest. Enable this by configuring
2
- # the Zephyr project and enabling the frozen modules config feature.
3
-
4
1
# freeze("../modules")
5
2
include ("$(MPY_DIR)/extmod/asyncio" )
6
3
Original file line number Diff line number Diff line change 24
24
* THE SOFTWARE.
25
25
*/
26
26
27
- #include "mpconfigport.h"
27
+ #include "../mpconfigport.h"
28
+
29
+ #undef MICROPY_CONFIG_ROM_LEVEL
30
+ #define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_EXTRA_FEATURES)
28
31
29
- #define MICROPY_PY_ASYNCIO (1)
30
- #define MICROPY_PY_BUILTINS_HELP_MODULES (1)
31
- #define MICROPY_PY_BUILTINS_INPUT (1)
32
- #define MICROPY_PY_COLLECTIONS_DEQUE (1)
33
- #define MICROPY_PY_JSON (1)
34
- #define MICROPY_PY_MICROPYTHON_RINGIO (1)
35
- #define MICROPY_PY_RANDOM (1)
36
- #define MICROPY_PY_RANDOM_EXTRA_FUNCS (1) // for random.uniform
37
- #define MICROPY_PY_RE (1)
38
- #define MICROPY_PY_RE_MATCH_GROUPS (1)
39
- #define MICROPY_PY_RE_SPAN_START_END (1)
40
- #define MICROPY_PY_SELECT (1)
41
32
#define MICROPY_PY_SYS_MODULES (1)
42
- #define MICROPY_PY_UCTYPES (1)
43
33
44
34
// This is not enabled currently, pending merge of PR #17615
45
35
#define MICROPY_HW_ENABLE_ADC (0)
You can’t perform that action at this time.
0 commit comments