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

unix/mpthreadport: Ensure enough thread stack to detect overflow.

unix/mpthreadport: Ensure enough thread stack to detect overflow.

tests/float: Add new lexer test to test parsing of float without prefix.

tests: Format all Python code with black, except tests in basics subdir.

tests/micropython/heapalloc_fail_set.py: Remove extra trailing comma.

travis: Build full unix coverage build on osx job.

all: Fix implicit casts of float/double, and signed comparison.

tools/pyboard.py: Add -d as an alias for --device.

tools/pyboard.py: Support setting device/baudrate from shell env vars.

docs,tests: Add docs and test for uasyncio custom exc handler methods.

extmod/uasyncio: Add global exception handling methods.

esp32/README.md: Fix typo in venv instructions.

extmod/uasyncio: Add StreamReader/StreamWriter as aliases of Stream cls.

extmod/uasyncio: Add error message to Lock.release's RuntimeError.

extmod/uasyncio: Implement Loop.stop() to stop the event loop.

extmod/uasyncio: Don't create a Loop instance in get_event_loop().

esp32: Change from FAT to littlefs v2 as default filesystem.

travis: Build GENERIC_1M board as part of esp8266 job.

esp8266/makeimg.py: Print out info about RAM segments when building fw.

esp8266: Change from FAT to littlefs v2 as default filesystem.

travis: Make OSX build work again by not installing pkgconfig.

extmod/modbluetooth: Provide FLAG_WRITE_NO_RESPONSE for characteristics.

extmod/btstack: Pass through SCAN_RSP events.

lib/btstack: Update to latest master btstack commit.

drivers/display/ssd1306.py: Change the SET_COM_PIN_CFG setting.

ports: Enable error text compression for various ports, but not all.

all: Use MP_ERROR_TEXT for all error messages.

py/objexcept: Allow compression of exception message text.

windows: Update genhdr.targets to match makeqstrdefs.py args.

py: Implement "common word" compression scheme for error messages.

extmod/modubinascii: Make code private and module self-contained.

py/dynruntime.mk: Set MICROPY_ENABLE_DYNRUNTIME instead of per module.

stm32/Makefile: Add missing ordering dependency on generated headers.

py: Use preprocessor to detect error reporting level (terse/detailed).

docs/library: Note that uasyncio.wait_for() can raise exception.

esp32/espneopixel: Use integer arithmetic to compute timing values.

py/objexcept: Remove optional TimeoutError exception.

py/parse: Remove unnecessary check in const folding for ** operator.

tests/extmod: Update littlefs test output to match new library version.

lib/littlefs: Update littlefs2 to v2.2.0.

py/scope: Add assert to check that low numbered qstrs do fit in uint8_t.

py/makecompresseddata.py: Don't prefix str with mark if not compressed.

all: Clean up error strings to use lowercase and change cannot to can't.

extmod/uasyncio: Add Loop.new_event_loop method.

unix/Makefile: Fix regression using install on non-GNU systems.

py/scheduler: Add assert that scheduler is locked when unlocking.

py/scheduler: Fix race in checking scheduler pending state.

unix: Implement MICROPY_BEGIN/END_ATOMIC_SECTION protection macros.

unix: Fix behaviour of COPT/NDEBUG for unix variants.

tests/run-tests: Make diff tool user configurable.

travis: Split esp32 ESP-IDF v3 and v4 builds to separate jobs.

stm32/mboot/README: Clarify that mboot can access FAT formatted FS only.

stm32/storage: Fix start address of second, internal block device.

mpy-cross/main: Print uncaught nlr jump to stderr.

mpy-cross/main: Fix stderr_print_strn parameter type.

esp32: Update to ESP IDF v3.3.2.

py: Always give noop defines when MICROPY_ROM_TEXT_COMPRESSION disabled.

extmod/uasyncio: Change cannot to can't in error message, and test exp.

docs/library: Document that char_data/notify_data are also references.

stm32/mboot: Expose custom DFU USB VID/PID values at makefile level.

all: Enable extra conversion warnings where applicable.

py/objint: Do not use fpclassify.

all: Fix implicit floating point to integer conversions.

all: Fix implicit conversion from double to float.

py/objarray: Fix sign mismatch in comparison.

tests/float: Fix cmath_fun_special for MICROPY_FLOAT_IMPL_FLOAT.

all: Fix implicit floating point promotion.

Revert "all: Fix implicit casts of float/double, and signed comparison."

travis: Finish jobs early after test failure.

travis: Decrease build duration by starting OSX build early.

README: Fix small typo, dfeault -> default.

all: Format code to add space after C++-style comment start.

all: Remove commented-out include statements.

esp32: Consolidate check_esp_err functions and add IDF error string.

esp32/modesp32: Add idf_heap_info(capabilities) to esp32 module.

README: Update Travis CI links to point to travis-ci.com.

tools/check_code_size.sh: Remove unused script.

travis: Use tools/metrics.py to compute size diff of minimal ports.

tools/metrics.py: Use OrderedDict when reading build log.

tools/metrics.py: Don't build mpy-cross if not needed by any ports.

tools/metrics.py: Add option to diff to error if delta above threshold.

py/makecompresseddata.py: Make compression deterministic.

all: Factor gchelper code to one place and use it for unix & ARM ports.

unix: Add btstack to the unix submodules list.

extmod/modbluetooth: Fix sign compare and unused variable warnings.

lib/btstack: Update to c8b9823 for USB HCI reset timeout fix.

unix: Enable modbluetooth on the "dev" and "coverage" variants.

tests/run-multitests.py: Add shortcuts for local Python instances.

tests/multi_bluetooth/ble_gap_advertise: Fix bytes/str compare warning.

tests/run-multitests.py: Allow filtering out lines from stdout.

unix: Add support for modbluetooth and BLE using btstack.

extmod/btstack: Implement more robust init/deinit sequencing.

stm32/main: Peform a clean shutdown of btstack on soft reset.

extmod/modbluetooth: Don't hold atomic section during mp_sched_schedule.

stm32/Makefile: Rename SRC_LIB to LIB_SRC_C to match other ports.

unix/modmachine: Add machine.idle(), implemented using sched_yield.

tests/extmod: Add btree test for errors raised by btree DB library.

py/modio: Allow uio.IOBase streams to return errno for read/write error.

py/stream: Remove mp_stream_errno and use system errno instead.

py/objdict: Fix popitem for ordered dicts.

extmod/nimble: Update to work with NimBLE 1.3.

lib/mynewt-nimble: Update submodule to NimBLE release 1.3.0.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值