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