micropython编译原理_MicroPython 2020年2月更新

unix/main: Print usage and NLR errors to stderr instead of stdout.

nrf/boards/common.ld: Add ENTRY(Reset_Handler) in linker script.

tools/pyboard.py: Change shebang to use python3.

tools/pyboard.py: Use slice del instead of list.clear() for Py2 compat.

tools/pyboard.py: Add option --no-follow to detach after sending script.

py/modthread: Fix spelling error in comment.

esp8266/modules/ntptime.py: Add comment about configuring NTP host.

stm32/powerctrl: Reenable PLL3 on H7 MCUs when waking from stop mode.

stm32/powerctrl: Improve support for changing system freq on H7 MCUs.

stm32/stm32_it: Don't call __HAL_USB_HS_EXTI_CLEAR_FLAG on H7 MCUs.

stm32/sdio: Add support for H7 MCUs.

docs/esp8266: In TCP tutorial, add HTTP response code and content-type.

zephyr: Update include paths for Zephyr v2.0.

zephyr: Replace deprecated time conversion macro.

zephyr: Remove reference to syscall_macros_h_target.

unix/main: Add support for MICROPYINSPECT environment variable.

tests/cmdline/repl_inspect: Add new test for -i option.

unix/main: Add #if guard around -v option usage and document -i/-m opts.

docs/unix: Add a new new quickref page for the UNIX port.

unix/main: Add command-line -h option for printing help text.

unix/modos: Implement putenv and unsetenv to complement getenv.

tests/cmdline: Add test for MICROPYINSPECT environment variable.

tests/cpydiff: Add os module environ differences.

esp32/Makefile: Reorder includes to build with latest toolchain.

lib/utils: Change default value of pyexec_mode_kind to 0 to put in bss.

stm32/sdram: Expose the result of sdram startup test in stm32_main.

tests: Move CPy diff test to real test now that subclass equality works.

stm32/usbd_conf: Allow boards to configure USB HS ULPI NXT/DIR pins.

py/compile: Allow 'return' outside function in minimal builds.

tests/basics: Move test for "return" outside function to own file.

zephyr: Implement block device protocol via zephyr disk access api.

zephyr: Enable virtual file system and uos module.

zephyr: Enable fatfs.

zephyr: Implement block device protocol via zephyr flash map api.

zephyr: Enable littlefs.

py/scheduler: Add "raise_exc" argument to mp_handle_pending.

lib/utils/pyexec: Handle pending exceptions after disabling kbd intrs.

py/scheduler: Move mp_keyboard_interrupt from lib/utils to py core.

tests/unix: Add coverage tests for kbd-intr and scheduler.

py/scheduler: Allow a port to specify attrs for mp_keyboard_interrupt.

esp8266: Put mp_keyboard_interrupt in IRAM.

esp32/uart: Use core-provided mp_keyboard_interrupt, placed in IRAM.

py/scheduler: Move clearing of kbd traceback to mp_keyboard_interrupt.

unix, windows: Use mp_keyboard_interrupt instead of custom code.

stm32/usbd_cdc_interface: Remove "interrupt_char != -1" check.

esp32/modsocket: Convert EADDRINUSE error code from lwip return value.

windows: Improve default search path.

unix/main: Use OS-dependent path separator when searching path.

nrf/drivers: Use mp_raise_msg where appropriate, and shorten exc msgs.

tests/basics: Add test for equality between tuple and namedtuple.

tests/basics: Add tests for equality between bool and int/float/complex.

py: Expand type equality flags to 3 separate ones, fix bool/namedtuple.

tests/run-tests: Auto-skip extmod/ticks_diff, extmod/time_ms_us tests.

docs/library: Fix framebuf monochrome 1-bit modes, swapping HLSB/HMSB.

py/obj.h: Remove TODO idea comment about truncated mp_map_t.

py: Add mp_raise_msg_varg helper and use it where appropriate.

py: Add mp_raise_type helper macro and use it where appropriate.

py/objmodule.h: Remove obsolete mp_builtin_module_weak_links_map decl.

nrf/drivers/bluetooth: Fix variable initialisation error with older gcc.

unix/Makefile: Allow to install all variants of the executable.

unix/variants/standard: Fix role of PREFIX when used to install.

drivers/nrf24l01: Change pipe addrs in test to match Arduino addrs.

unix/Makefile: Remove old variant targets that are no longer needed.

docs/develop: Detail how to add symbols to mp_fun_table for native mods.

py/objtuple: Remove code that handles tuple-subclass equality test.

tests/basics: Add test for tuple compare with class derived from tuple.

tools/makemanifest.py: Support freezing with empty list of mpy files.

unix/mphalport.h: Fix build when MICROPY_USE_READLINE=0.

esp32: Move to IDF 4.0 release version.

unix/mpthreadport: Fix Mac build by using SIGUSR1 if SIGRTMIN not avail.

py/objexcept: Rename mp_obj_new_exception_msg_varg2 to ..._vlist.

extmod/modbluetooth_nimble: Fix wrong offset used for descriptor flags.

extmod/modbluetooth.h: Fix typo in comment about registering services.

stm32/sdram: Fix compile issue from unused sdram startup test flag.

extmod/modbluetooth: Implement config getter for BLE rxbuf size.

unix/mpthreadport: Use SIGRTMIN+5 instead of SIGUSR1 for thread-GC.

py: Factor out definition of mp_float_union_t to one location.

nrf: Use MICROPY_HW_ENABLE_RNG instead of MICROPY_PY_RANDOM_HW_RNG.

nrf: Remove custom "random" module and use extmod version instead.

stm32/mpconfigport.h: Add option to have custom help text.

tests/basics/array1.py: Add equality testing for array.

py/objarray: Turn on MP_TYPE_FLAG_EQ_CHECKS_OTHER_TYPE for memoryview.

travis: Add OSX build to CI.

extmod/modframebuf: Allow blit source to be a subclass of FrameBuffer.

py/dynruntime.h: Add implementation of mp_obj_cast_to_native_base.

py/objtype: Allow mp_instance_cast_to_native_base to take native obj.

py/builtinevex: Support passing in a bytearray/buffer to eval/exec.

CODECONVENTIONS.md: Update to reflect use of new tools/codeformat.py.

travis: Add CI job to check code formatting.

all: Reformat C and Python source code with tools/codeformat.py.

all: Add *FORMAT-OFF* in various places.

py/parse: Add parenthesis around calculated bit-width in struct.

examples/bluetooth/ble_temperature_central.py: Shorten comment.

examples/accellog.py: Shift long comments to their own line.

py: Un-nest configuration #if/#endif's for selection of complex code.

py/malloc: Put { on separate line for funcs that have selective sigs.

unix/unix_mphal: Adjust #if in mp_hal_stdin_rx_chr to improve format.

py/builtinimport: Adjust if-block order in find_file to clean up #if's.

py/bc0.h: Shift comment to start of line to improve format consistency.

py: Removing dangling "else" to improve code format consistency.

tools/codeformat.py: Add formatter using uncrustify for C, black for Py.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值