1. 06 Jun, 2021 7 commits
  2. 05 Jun, 2021 4 commits
  3. 03 Jun, 2021 9 commits
  4. 01 Jun, 2021 6 commits
    • robert-hh's avatar
      mimxrt: Add the Timer class to the machine module. · 4c407c79
      robert-hh authored
      It supports three hardware timer channels based on the PIT timers of the
      MIMXRT MCU.  The timer id's are 0, 1 and 2.  On soft reboot all active
      timers will be stopped via finalisers.
      4c407c79
    • Damien George's avatar
    • robert-hh's avatar
      mimxrt/boards/TEENSY40: Re-create the flash FS after deploy. · 745b4319
      robert-hh authored
      This is required since the Teensy Halfkay loader attempts to erase all of
      the flash but fails to do so, at least in my tests.  Formatting brings it
      back to a known state.
      745b4319
    • robert-hh's avatar
      mimxrt: Add flash storage support with VFS and littlefs filesystem. · dfd4324e
      robert-hh authored
      This commit adds full support for a filesystem on all boards, with a block
      device object mimxrt.Flash() and uos.VfsLfs2 enabled.
      
      Main changes are:
      - Refactoring of linker scripts to accomodate reserved area for VFS.  VFS
        will take up most of the available flash. 1M is reserved for code.  9K is
        reserved for flash configuration, interrupts, etc.
      - Addition of _boot.py with filesystem init code, called from main.c.
      - Definition of the mimxrt module with a Flash class in modmimxrt.[ch].
      - Implementation of a flash driver class in mimxrt_flash.c.  All flashing
        related functions are stored in ITCM RAM.
      - Addition of the uos module with filesystem functions.
      - Implementation of uos.urandom() for the sake of completeness of the uos
        module.
      
      It uses sample code from CircuitPython supplied under MIT license, which
      uses the NXP SDK example code.
      
      Done in collaboration with Philipp Ebensberger aka @alphaFred who
      contributed the essential part to enable writing to flash while code is
      executing, among other things.
      dfd4324e
    • robert-hh's avatar
      mimxrt: Enable frozen modules. · c303b15f
      robert-hh authored
      c303b15f
    • robert-hh's avatar
      fdaf2b80
  5. 30 May, 2021 11 commits
  6. 29 May, 2021 3 commits