diff --git a/lib/micropython-microbit-v2 b/lib/micropython-microbit-v2 index e4321a86..8aaa36b8 160000 --- a/lib/micropython-microbit-v2 +++ b/lib/micropython-microbit-v2 @@ -1 +1 @@ -Subproject commit e4321a866e3f8ef48a7f5b5e96db99cc39b09757 +Subproject commit 8aaa36b8d50211f5902d50e050632a88358d369f diff --git a/src/board/constants.ts b/src/board/constants.ts index 3c7e3bee..39a6ab9e 100644 --- a/src/board/constants.ts +++ b/src/board/constants.ts @@ -17,7 +17,7 @@ export const MICROBIT_HAL_PIN_P7 = 7; export const MICROBIT_HAL_PIN_P8 = 8; export const MICROBIT_HAL_PIN_P9 = 9; export const MICROBIT_HAL_PIN_P10 = 10; -export const MICROBIT_HAL_PIN_P11 = 12; +export const MICROBIT_HAL_PIN_P11 = 11 export const MICROBIT_HAL_PIN_P12 = 12; export const MICROBIT_HAL_PIN_P13 = 13; export const MICROBIT_HAL_PIN_P14 = 14; diff --git a/src/examples/sound_effects_user.py b/src/examples/sound_effects_user.py index 9ba7595f..60895943 100644 --- a/src/examples/sound_effects_user.py +++ b/src/examples/sound_effects_user.py @@ -8,7 +8,7 @@ duration=500, vol_start=100, vol_end=255, - wave=audio.SoundEffect.WAVEFORM_TRIANGLE, + waveform=audio.SoundEffect.WAVEFORM_TRIANGLE, fx=audio.SoundEffect.FX_VIBRATO, shape=audio.SoundEffect.SHAPE_LOG, ) diff --git a/src/mpconfigport.h b/src/mpconfigport.h index 852e2685..96592812 100644 --- a/src/mpconfigport.h +++ b/src/mpconfigport.h @@ -68,7 +68,9 @@ #define MICROPY_ENABLE_SCHEDULER (1) // Fine control over Python builtins, classes, modules, etc +#define MICROPY_PY_BUILTINS_STR_UNICODE (1) #define MICROPY_PY_BUILTINS_MEMORYVIEW (1) +#define MICROPY_PY_BUILTINS_FROZENSET (1) #define MICROPY_PY_BUILTINS_INPUT (1) #define MICROPY_PY_BUILTINS_HELP (1) #define MICROPY_PY_BUILTINS_HELP_TEXT microbit_help_text @@ -100,7 +102,7 @@ { MP_ROM_QSTR(MP_QSTR_open), MP_ROM_PTR(&mp_builtin_open_obj) }, #endif -#define MICROBIT_RELEASE "2.1.0" +#define MICROBIT_RELEASE "2.1.1" #define MICROBIT_BOARD_NAME "micro:bit" #define MICROPY_HW_BOARD_NAME MICROBIT_BOARD_NAME " v" MICROBIT_RELEASE #define MICROPY_HW_MCU_NAME "nRF52833"