Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pycom/pycom-micropython-sigfox
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a37510c
Choose a base ref
...
head repository: daq-tools/pycom-micropython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d82a6f4
Choose a head ref
  • 8 commits
  • 25 files changed
  • 2 contributors

Commits on Mar 6, 2020

  1. Fix core panics: Don't use m_malloc and gc_malloc unintended

    MicroPython's "gc_alloc" and "m_malloc" functions should
    probably not be invoked from within C-level RTOS extensions.
    Otherwise, the garbage collector might want to prune memory
    which does not really hold MicroPython objects.
    This eventually leads to random core panics.
    amotl committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    5783835 View commit details
    Browse the repository at this point in the history
  2. Fix integer overflow in filesystem stat implementation.

    Using small ints for storing st_atime, st_mtime and st_ctime values
    is prone to integer overflows, effectively yielding wrong timestamps.
    
    This resolves #409. Contributed by @robert-hh.
    amotl committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    3b6a738 View commit details
    Browse the repository at this point in the history
  3. extmod/modonewire.c: Add "modonewire" from Genuine MicroPython

    This tremendously improves robustness of 1-Wire support.
    While the original Pycom implementation is written in pure-Python,
    this adds the C-level "modonewire" module from Genuine MicroPython.
    
    It will also perform crc checks when reading the DS18B20 sensors.
    
    Driver support by @robert-hh:
    https://github.com/robert-hh/Onewire_DS18X20
    amotl committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    2cb8cd4 View commit details
    Browse the repository at this point in the history
  4. Add I2S support

    This commit adds I2S support from Genuine MicroPython by Mike Teachman.
    
    See also micropython/micropython#4471
    amotl committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    2536ff8 View commit details
    Browse the repository at this point in the history
  5. Add PPP networking

    This adds the PPP networking module from Genuine MicroPython.
    amotl committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    7867134 View commit details
    Browse the repository at this point in the history
  6. mods/machuart.c: Support the UART inverted mode

    Inverted mode can be set by a keyword argument to init or the
    constructor, using invert=<option|option...>
    options are: INV_RX, INV_TX, INV_RTS and INV_CTS
    
    Example:
    from machine import UART
    uart=UART(1, 9600, invert=UART.INV_TX|UART.INV_TX)
    robert-hh authored and amotl committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    9f1d8bb View commit details
    Browse the repository at this point in the history
  7. Diverse changes to uos.stat() and UART modules

    - Use long int for time stamps in uos.stat() because of short int overflow
    - Simplify display of the UART config
    robert-hh authored and amotl committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    3349256 View commit details
    Browse the repository at this point in the history
  8. modmachine.c: Check machine.sleep() for arg <= 0

    This resolves #410.
    robert-hh authored and amotl committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    d82a6f4 View commit details
    Browse the repository at this point in the history
Loading