1. 12 Aug, 2019 2 commits
  2. 17 Jul, 2019 11 commits
  3. 02 Jul, 2019 11 commits
  4. 30 May, 2019 2 commits
    • George Wort's avatar
      Initial simulator commit. · 6e624980
      George Wort authored
      The simulator uses emscripten to run in the browser, meaning that
      the nRF hardware API can no longer be used. Though the mbed API
      along with its HAL is reimplemented using emscripten and
      javascript. Instead of plugging into hardware, EM_ASM is used at
      points to call directly into javascript.
      Persistent memory is also removed and replaced with local
      javascript memory.
      Inline assembly is no longer supported.
      Due to javascript being single threaded, in order to yield to the
      browser and "hardware" threads, mp_hal_delay_ms is used to call
      emscripten_sleep in the VM and throughout.
      The initial stack usage is simulated by initialising the stack top
      using a dummy value at the start of main.
      Javascript is used in order to import any MicroPython script from
      the simulator web page that exists on soft reset.
      The stack may ascend on the machine running the browser and so the
      stack_usage now accounts for that.
      The yielding within the VM uses a counter to periodically check
      whether enough time has passed for it to yield yet, this time
      checking prevents fast CPUs yielding to the browser more frequently
      than necessary.
      6e624980
    • George Wort's avatar
      Remove initial files that simulator does not support. · f765d498
      George Wort authored
      Files are removed separately to the initial simulator commit in
      order to make it clearer what has been changed.
      f765d498
  5. 08 Apr, 2019 1 commit
  6. 01 Apr, 2019 1 commit
  7. 20 Mar, 2019 2 commits
  8. 19 Mar, 2019 1 commit
  9. 04 Mar, 2019 1 commit
  10. 04 Jan, 2019 1 commit
  11. 20 Dec, 2018 1 commit
  12. 13 Dec, 2018 2 commits
  13. 12 Dec, 2018 2 commits
    • Damien George's avatar
      lib: Add "bx lr" instruction to end of assembly neopixel function. · e2294590
      Damien George authored
      Luckily in the output firmware this function was followed by a simple
      function that just returned 0, so that's why it worked without this return.
      e2294590
    • Ross Lowe's avatar
      docs: Add MicroPython 1.0 features (#578) · afcd63a2
      Ross Lowe authored
      - Update warnings and notes about the v1.0 release
      - uart.readall() removed and uart.read() recommended instead
      - Add micropython.rst based on upstream docs
      - Add utime.rst based on upstream docs
      - Add machine.rst based on upstream docs
      - Ensure all docs are present in index.rst
      - Add get_pull(), get_mode() to pin.rst
      - Add note about help('modules')
      afcd63a2
  14. 07 Dec, 2018 1 commit
  15. 14 Nov, 2018 1 commit