1. 17 Dec, 2021 3 commits
  2. 15 Dec, 2021 9 commits
  3. 14 Dec, 2021 12 commits
    • robert-hh's avatar
      mimxrt: Tidy up the board flash related files. · 5ca56aaf
      robert-hh authored
      - Move the qspi_xxxx_flash_config.c files to hal.
        It turned out that they are less board than flash type specific.
      - Change to a common flexspi_flash_config.h header file.
      5ca56aaf
    • robert-hh's avatar
      mimxrt: Use -Og instead of -O0 for DEBUG builds. · c5dbbf71
      robert-hh authored
      Thanks for the hint, Damien. The DEBUG build got very large recently.
      The major difference is, that inline function are now inlined and
      not included as a function. That's good and maybe bad. The good thing is,
      that the code speed si now close to the final code. It could be worse
      in single step debugging. I'll see.
      
      Setting this option caused a new warning and a formatting error
      to pop up at different places. Fixed as well.
      c5dbbf71
    • robert-hh's avatar
      mimxrt: Enable ticks_cpu at boot time for NDEBUG builds only. · 64aa0bcb
      robert-hh authored
      Otherwise, it get's in trouble with a Debugger. Reason to be found.
      Also: Increase code segment to 2 MB for the MIMXRT1050_EVK build.
      64aa0bcb
    • robert-hh's avatar
      mimxrt: Refactor the reading of the machine id. · 74e8db0e
      robert-hh authored
      The ID is read in a single function and used for:
      - machine.unique_id()
      - Ethernet MAC addresses.
      - ...
      
      That facilitates use of other MCU using a different access method for
      the ID (e.g. i.MX RT1176).
      74e8db0e
    • robert-hh's avatar
      mimxrt: Add a driver for the DP83848 PHY device. · 1e9eaa7a
      robert-hh authored
      Just another choice for the PHY interface.
      
      Added: Keyword option phy_clock=LAN.IN or LAN.OUT
      to define the source of the 50MHZ clock for the PHY
      interface. The RMII clock is not enabled if it
      is generated by a PYH board. Constants:
      
      LAN.IN  The clock is provided by the PHY board.
      LAN.OUT The clock is provided by the MCU board.
      
      The default is LAN.OUT or the value set in mpconfigboard.h, which
      is currently set to IN only for the SEEED ARCH MIX board. Usage etc:
      
      lan = LAN(phy_type=LAN.PHY_DP83848, phy_clock=LAN.IN)
      1e9eaa7a
    • robert-hh's avatar
      mimxrt: Fix a tiny unnoticed bug in sdcard.c. · 5d8941ec
      robert-hh authored
      This code line will hardly ever be compiled and executed, but since
      it is there, it must be correct.
      5d8941ec
    • robert-hh's avatar
      mimxrt: Re-Enable eth checksum creation by HW. · ea09dccf
      robert-hh authored
      The initial problem with a wrong ICMP checksum was caused by
      the test code setting a checksum and the HW taking that probably as
      the start value and ending up with 0xffff. With a checksum field of 0
      set by the test code the HW creates the proper checksum.
      ea09dccf
    • robert-hh's avatar
      mimxrt: Support selection of PHY type and address. · bbe25f47
      robert-hh authored
      Useful for boards without a PHY interface, where that has to be
      attached. Like the Seed ARCH MIX board or Vision SOM. Phy drivers
      supported so far are:
      
      - KSZ8081
      - DP83825
      - LAN8720
      
      More to come. Usage e.g.:
      lan = LAN(phy_type=LAN.PHY_LAN8720, phy_addr=1)
      
      The default values are those set in mpconfigboard.h.
      bbe25f47
    • robert-hh's avatar
      mimxrt: Define UART 0 on MIMXRT boards. · bc1b0fd2
      robert-hh authored
      UART 0 is attached to the Debug USB port. The settings are
      115200 Baud, 8N1.
      For MIMXRT1010_EVK this is identical to UART1. For the other boards,
      this is an additional UART.
      bc1b0fd2
    • iabdalkader's avatar
      extmod/network_ninaw10: Fix config of AP mode. · 1b7eee24
      iabdalkader authored
      * Fix missing call to connect to configure module in AP mode.
      * Use enum for config/connect args indices.
      1b7eee24
    • iabdalkader's avatar
      rp2/machine_uart: Handle and clear UART RX timeout IRQ. · f21c5655
      iabdalkader authored
      The pico-sdk 1.3.0 update in 97a7cc24
      introduced a change that broke RP2 Bluetooth UART, and possibly UART in
      general, which stops working right after UART is initialized.  The commit
      raspberrypi/pico-sdk@2622e9b enables the UART receive timeout (RTIM) IRQ,
      which is asserted when the receive FIFO is not empty, and no more
      characters are received for a period of time.
      
      This commit makes sure the RTIM IRQ is handled and cleared in
      uart_service_interrupt.
      f21c5655
    • Damien George's avatar
      esp32,esp8266: Extract qstr from object when comparing keys in config(). · 5adb1fa4
      Damien George authored
      Following on from a previous fix for the same problem made in
      3a431fba.
      
      Fixes issue #8052.
      Signed-off-by: default avatarDamien George <damien@micropython.org>
      5adb1fa4
  4. 13 Dec, 2021 5 commits
  5. 10 Dec, 2021 4 commits
  6. 09 Dec, 2021 7 commits