1. 23 Oct, 2014 2 commits
  2. 22 Oct, 2014 7 commits
  3. 21 Oct, 2014 3 commits
    • Damien George's avatar
      stmhal: Overhaul UART class to use read/write, and improve it. · 481d714b
      Damien George authored
      UART object now uses a stream-like interface: read, readall, readline,
      readinto, readchar, write, writechar.
      
      Timeouts are configured when the UART object is initialised, using
      timeout and timeout_char keyword args.
      
      The object includes optional read buffering, using interrupts.  You can set
      the buffer size dynamically using read_buf_len keyword arg.  A size of 0
      disables buffering.
      481d714b
    • stijn's avatar
      Implement kwargs for builtin open() and _io.FileIO · 2fe4cf77
      stijn authored
      This makes open() and _io.FileIO() more CPython compliant.
      The mode kwarg is fully iplemented.
      The encoding kwarg is allowed but not implemented; mainly to allow
      the tests to specify encoding for CPython, see #874
      2fe4cf77
    • Sven Wegener's avatar
      stmhal: Set entry point for ELF binary debugging · abf0f07a
      Sven Wegener authored
      
      
      When loading the ELF binary to the board with a debugger, the debugger
      needs to know at which point to start executing the code. Currently the
      entry point defaults to the start of the .text section.
      Signed-off-by: default avatarSven Wegener <sven.wegener@stealer.net>
      abf0f07a
  4. 19 Oct, 2014 1 commit
    • Damien George's avatar
      stmhal: Add retry to SD card init. · 072bd07f
      Damien George authored
      This fixed an issue with a certain SD card sometimes not initialising
      first time round.  See issue #822 for related, and thanks to
      @iabdalkader for the idea.
      072bd07f
  5. 18 Oct, 2014 1 commit
  6. 12 Oct, 2014 4 commits
  7. 11 Oct, 2014 1 commit
  8. 10 Oct, 2014 1 commit
  9. 09 Oct, 2014 2 commits
  10. 07 Oct, 2014 1 commit
  11. 06 Oct, 2014 1 commit
  12. 05 Oct, 2014 6 commits
  13. 04 Oct, 2014 2 commits
    • Damien George's avatar
      stmhal: Allow pyb.freq() function to change SYSCLK frequency. · 24119176
      Damien George authored
      Eg pyb.freq(120000000) sets the CPU to 120MHz.  The frequency can be set
      at any point in the code, and can be changed as many times as you like.
      Note that any active timers will need to be reconfigured after a freq
      change.
      
      Valid range is 24MHz to 168MHz (but not all freqs are supported).  The
      code maintains a 48MHz clock for the USB at all times and it's possible
      to change the frequency at a USB REPL and keep the REPL alive (well,
      most of the time it stays, sometimes it resets the USB for some reason).
      Note that USB does not work with pyb.freq of 24MHz.
      24119176
    • Damien George's avatar
  14. 02 Oct, 2014 3 commits
  15. 01 Oct, 2014 1 commit
  16. 30 Sep, 2014 4 commits