micropython更新:2020.10
发表于 : 2020年 10月 1日 20:40
10月1号,micropython有多个更新
- unix/variants: Enable MICROPY_DEBUG_PARSE_RULE_NAME on coverage build.
- py/parse: Expose rule-name printing as MICROPY_DEBUG_PARSE_RULE_NAME.
- extmod/utime_mphal: Add generic utime.time_ns() function.
- unix,windows: Implement mp_hal_time_ns using gettimeofday.
- docs: Update I2C and SPI docs to add reference to SoftI2C and SoftSPI.
- ports: Support legacy soft I2C/SPI construction via id=-1 arg.
- ports: Add SoftI2C and SoftSPI to machine module where appropriate.
- extmod/machine_spi: Remove "id" arg in SoftSPI constructor.
- extmod/machine_i2c: Remove "id" arg in SoftI2C constructor.
- extmod/machine_i2c: Rename type to SoftI2C and add custom print method.
- py/makeversionhdr.py: Match only git tags which look like versions.
- docs/reference/packages.rst: Fix typo, remove duplicate "port".
- zephyr: Update build instructions to v2.4.0.
- travis: Update zephyr build to v2.4.0.
- zephyr: Const-ify struct device instance pointers.
- zephyr: Replace zephyr integer types with C99 types.
- extmod/modure: Allow \\ in re.sub replacements.