★ wanayoo — archive 1999 https://github.com/micropython/micropython/commits/masterNouvelle recherche | Portail wanayoo
Skip to content
Permalink
master

Commits on May 6, 2021

  1. drivers/display/ssd1306.py: Add rotate method.

    And clean up (make more efficient) display set-up commands.
    mcauser authored and dpgeorge committed May 6, 2021
  2. esp32/esp32_rmt: Clear config struct before filling it out.

    Or unset entries will have garbage in them.
    
    Signed-off-by: mishafarms <github@mishafarms.us>
    mishafarms authored and dpgeorge committed May 6, 2021
  3. docs/esp8266: Add WDT to quickref.

    mcauser authored and dpgeorge committed May 6, 2021
  4. docs/esp32: Add SDCard to quickref.

    mcauser authored and dpgeorge committed May 6, 2021
  5. docs/esp32: Add WDT to quickref.

    mcauser authored and dpgeorge committed May 6, 2021
  6. docs/esp32: Add UART to quickref.

    mcauser authored and dpgeorge committed May 6, 2021
  7. extmod/moductypes: Fix size and offset calculation for ARRAY of FLOAT32.

    uctypes.FLOAT32 has a special value representation and
    uctypes_struct_scalar_size() should be used instead of GET_SCALAR_SIZE().
    
    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed May 6, 2021
  8. extmod/moductypes: Replace numbers with macro constants.

    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed May 6, 2021
  9. extmod/moductypes: Remove double blank lines and debugging printf's.

    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed May 6, 2021
  10. extmod: Remove old comments used for auto-doc generation.

    They are no longer used, and the text in the docs is more up to date.
    
    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed May 6, 2021
  11. unix/modffi: Use a union for passing/returning FFI values.

    This fixes a bug where double arguments on a 32-bit architecture would not
    be passed correctly because they only had 4 bytes of storage (not 8).  It
    also fixes a compiler warning/error in return_ffi_value on certian
    architectures: array subscript 'double[0]' is partly outside array bounds
    of 'ffi_arg[1]' {aka 'long unsigned int[1]'}.
    
    Fixes issue #7064.
    
    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed May 6, 2021

Commits on May 4, 2021

  1. rp2: Move manifest.py to boards directory.

    To match other ports.
    
    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed May 4, 2021
  2. docs/pyboard: Fix typo in pyb.Switch tutorial.

    gabe-sky authored and dpgeorge committed May 4, 2021
  3. docs: Fix some spelling mistakes.

    mcauser authored and dpgeorge committed May 4, 2021
  4. gitignore: Ignore macOS desktop metadata files.

    nickovs authored and dpgeorge committed May 4, 2021
  5. stm32/boards: Change default LSI_VALUE to 32000 for F4 MCUs.

    In the STM32 HAL libraries, the default value for LSI_VALUE for F4 MCUs is
    32 kHz.
    
    Signed-off-by: David Lechner <david@pybricks.com>
    dlech authored and dpgeorge committed May 4, 2021
  6. docs/esp8266: Clarify limitations of SSL in esp8266 and fix typos.

    mordyovits authored and dpgeorge committed May 4, 2021
  7. docs/esp8266: Add instructions on entering programming mode manually.

    This adds to the ESP8266 tutorial instructions explaining which pins to
    pull low to enter programming mode.
    
    Commit made originally by @ARF1 in #2910.
    
    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed May 4, 2021
  8. docs/esp8266: Add note about simultaneous use of STA_IF and AP_IF.

    zsquareplusc authored and dpgeorge committed May 4, 2021

Commits on May 2, 2021

  1. rp2/tusb_port: Add the device unique-id to the USB id.

    The number shown in the USB id is now the same as that returned by
    machine.unique_id().  All 8 bytes are inserted as hex into the USB id.  A
    usb id at /dev/serial/by-id then looks like:
    
        usb-MicroPython_Board_in_FS_mode_e469b03567342f37-if00
    robert-hh authored and dpgeorge committed May 2, 2021
  2. rp2/boards: Add board definition for SparkFun Pro Micro board.

    Jan Jurgen Griesfeller authored and dpgeorge committed May 2, 2021
  3. rp2/boards: Add board definition for SparkFun Thing Plus RP2040.

    Jan Jurgen Griesfeller authored and dpgeorge committed May 2, 2021
  4. py/repl: Autocomplete builtin modules.

    Doing "import <tab>" will now complete/list built-in modules.
    
    Originally at adafruit#4548 and adafruit#4608
    
    Signed-off-by: Artyom Skrobov <tyomitch@gmail.com>
    tyomitch authored and dpgeorge committed May 2, 2021
  5. py/repl: Refactor autocomplete, extracting reusable parts.

    Originally at adafruit#4548
    
    Signed-off-by: Artyom Skrobov <tyomitch@gmail.com>
    tyomitch authored and dpgeorge committed May 2, 2021
  6. py/repl: Refactor autocomplete to reduce nesting.

    Originally at adafruit#4548
    
    Signed-off-by: Artyom Skrobov <tyomitch@gmail.com>
    tyomitch authored and dpgeorge committed May 2, 2021
  7. py/repl: Enter four spaces when there are no matches.

    Originally at adafruit#1859
    
    Signed-off-by: scottbelden <scottabelden@gmail.com>
    scottbelden authored and dpgeorge committed May 2, 2021
  8. py/repl: Filter private methods from tab completion.

    Anything beginning with "_" will now only be tab-completed if there is
    already a partial match for such an entry.  In other words, entering
    foo.<tab> will no longer complete/list anything beginning with "_".
    
    Originally at adafruit#1850
    
    Signed-off-by: Kathryn Lingel <kathryn@lingel.net>
    katlings authored and dpgeorge committed May 2, 2021

Commits on May 1, 2021

  1. py/scheduler: Add missing MICROPY_WRAP_MP_SCHED_EXCEPTION usage.

    This was missed in commit 7cbf826.
    
    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed May 1, 2021

Commits on Apr 30, 2021

  1. docs/library/machine: Add machine.bootloader docs.

    This is provide by a few ports now, and is very useful.
    
    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed Apr 30, 2021
  2. docs/library/machine: Specify initial machine.PWM class.

    This adds an initial specification of the machine.PWM class, to provide a
    way to generate PWM output that is portable across the different ports.
    Such functionality may already be available in one way or another (eg
    through a Timer object), but because configuring PWM via a Timer is very
    port-specific, and because it's a common thing to do, it's beneficial to
    have a top-level construct for it.
    
    The specification in this commit aims to provide core functionality in a
    minimal way.  It also somewhat matches most existing ad-hoc implementations
    of machine.PWM.
    
    See discussion in #2283 and #4237.
    
    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed Apr 30, 2021
  3. py/runtime: Remove commented-out code from mp_deinit().

    These commented-out lines of code have been unused for a long time, so
    remove them to avoid confusion as to why they are there.
    
    mp_obj_dict_free() never existed, this line was converted from
    mp_map_deinit() and commented out as soon as it was added.  The call to
    mp_map_deinit(mp_loaded_modules_map) was commented in
    1a1d11f.
    
    Fixes issue #3507.
    
    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed Apr 30, 2021
  4. tests/multi_bluetooth: Add performance test for gatt char writes.

    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed Apr 30, 2021
  5. tests/run-multitests.py: Provide some convenient serial device shorcuts.

    It's now possible to specify a device serial port using shorcuts like:
    
        $ ./run-multitests.py -i pyb:a0 -i pyb:u1 multi_bluetooth/*.py
    
    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed Apr 30, 2021
  6. zephyr/boards: Add config for nucleo_wb55rg board.

    This board does not work with CONFIG_NETWORKING enabled.  And
    CONFIG_CONSOLE_SUBSYS is enabled so that ctrl-C works.
    
    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed Apr 30, 2021
  7. zephyr/modmachine: Add machine.idle().

    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed Apr 30, 2021
Older