You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once it is built the pages in build/ need to be served, e.g. via:
287
+
288
+
$ npx serve build
289
+
290
+
View at http://localhost:3000/demo.html
291
+
292
+
$ (cd build && python -m http.server)
293
+
294
+
View at http://localhost:8000/demo.html
295
+
296
+
### Branch deployments
297
+
298
+
There is a Netlify based build for development purposes. Do not embed
299
+
the simulator via this URL. Netlify's GitHub integration will comment
300
+
on PRs with deployment details.
301
+
302
+
Branches in this repository are also deployed via CircleCI to https://review-python-simulator.microbit.org/{branchName}/. This requires the user pushing code to have
303
+
permissions for the relevant Micro:bit Educational Foundation infrastructure.
304
+
305
+
### Upgrading micropython-microbit-v2
287
306
288
307
1. Update the lib/micropython-microbit-v2 to the relevant hash. Make sure that its lib/micropython submodule is updated (see checkout instructions above).
289
308
2. Review the full diff for micropython-microbit-v2. In particular, note changes to:
290
309
1. main.c, src/Makefile and mpconfigport.h all which have simulator versions that may need updates
291
310
2. the HAL, which may require implementing in the simulator
292
311
3. the filesystem, which has a JavaScript implementation.
293
312
294
-
## Web Assembly debugging
313
+
###Web Assembly debugging
295
314
296
315
Steps for WASM debugging in Chrome:
297
316
298
-
- Add the source folder
317
+
- Add the source folder in dev tools
299
318
- Install the C/C++ debug extension: https://helpgoo.gle/wasm-debugging-extension
300
-
- Enable "WebAssembly Debugging: Enable DWARF support" in DevTools Experiments.
319
+
- Enable "WebAssembly Debugging: Enable DWARF support" in DevTools Experiments
301
320
- DEBUG=1 make
321
+
322
+
## Code of Conduct
323
+
324
+
Trust, partnership, simplicity and passion are our core values we live and
325
+
breathe in our daily work life and within our projects. Our open-source
326
+
projects are no exception. We have an active community which spans the globe
327
+
and we welcome and encourage participation and contributions to our projects
328
+
by everyone. We work to foster a positive, open, inclusive and supportive
329
+
environment and trust that our community respects the micro:bit code of
330
+
conduct. Please see our [code of conduct](https://microbit.org/safeguarding/)
331
+
which outlines our expectations for all those that participate in our
332
+
community and details on how to report any concerns and what would happen
0 commit comments