1. 11 Apr, 2021 1 commit
    • robert-hh's avatar
      rp2/rp2_pio: Add StateMachine restart,rx_fifo,tx_fifo helper functions. · 22554cf8
      robert-hh authored
      StateMachine.restart: Restarts the state machine
      StateMachine.rx_fifo: Return the number of RX FIFO items, 0 if empty
      StateMachine.tx_fifo: Return the number of TX FIFO items, 0 if empty
      
      restart() seems to be the most useful one, as it resets the state machine
      to the initial state without the need to re-initialise/re-create.  It also
      makes PIO code easier, because then stalling as an error state can be
      unlocked.
      
      rx_fifo() is also useful, for MP code to check for data and timeout if no
      data arrived.  Complex logic is easier handled in Python code than in PIO
      code.
      
      tx_fifo() can be useful to check states where data is not processed, and is
      mostly for symmetry.
      22554cf8
  2. 09 Apr, 2021 9 commits
  3. 08 Apr, 2021 1 commit
  4. 07 Apr, 2021 5 commits
  5. 06 Apr, 2021 4 commits
  6. 02 Apr, 2021 1 commit
  7. 01 Apr, 2021 4 commits
  8. 31 Mar, 2021 1 commit
    • Liam Fraser's avatar
      rp2: Don't advertise remote wakeup for USB serial. · ca3d51f1
      Liam Fraser authored
      This USB feature is currently not supported.  With this flag enabled (and
      the feature not implemented) the USB serial will stop working if there is a
      delay of more than about 2 seconds between messages, which can occur with
      USB autosuspend enabled.
      
      Fixes issue #6866.
      ca3d51f1
  9. 30 Mar, 2021 5 commits
  10. 26 Mar, 2021 1 commit
  11. 19 Mar, 2021 1 commit
    • Damien George's avatar
      bare-arm: Clean up the code, make it run on an F405, and add a README. · 4fc2866f
      Damien George authored
      This commit simplifies and cleans up the bare-arm port, and adds just
      enough system and library code to make it execute on an STM32F405 MCU.
      
      The mpconfigport.h configuration is simplified to just specify those
      configuration values that are different from the defaults.  And the
      addition of -fdata-sections and -ffunction-sections means the final
      firmware is smaller than it previously was, by about 4200 bytes.
      
      A README is also added.
      Signed-off-by: default avatarDamien George <damien@micropython.org>
      4fc2866f
  12. 17 Mar, 2021 1 commit
  13. 16 Mar, 2021 5 commits
  14. 15 Mar, 2021 1 commit