1. 15 Aug, 2019 1 commit
  2. 14 Aug, 2019 1 commit
  3. 13 Aug, 2019 1 commit
  4. 12 Aug, 2019 3 commits
  5. 17 Jul, 2019 11 commits
  6. 02 Jul, 2019 11 commits
  7. 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
  8. 08 Apr, 2019 1 commit
  9. 01 Apr, 2019 1 commit
  10. 20 Mar, 2019 2 commits
  11. 19 Mar, 2019 1 commit
  12. 04 Mar, 2019 1 commit
  13. 04 Jan, 2019 1 commit
  14. 20 Dec, 2018 1 commit
  15. 13 Dec, 2018 2 commits