Micropython port of Peter Corke's bdsim - realtime only (no simulation).
2 options for typical use:
-
(Recommended) Install and run pre-baked firmware onto your target device from the releases page <# TODO>. Click here for a guide <# TODO>.
-
(Not Recommended) Install using upip. In your micropython interpreter run:
import upip upip.install('ubdsim')
This is not recommended as the entire library will be loaded into RAM, consuming precious working memory (and potentially being unable to load).
3rd (advanced) option: Freeze package into your own firmware. Note that you must include micropython-ulab as a USER_C_MODULE
in your build. Do this if you have custom C modules / are using a version of micropython that is not available on the releases page.
Clone the repo, then; -
# git clone all submodule dependencies
git submodule update --init --recursive
For unix: make unix
For ESP32: make esp32
Those are the only two supported so far.
If you need to compile firmware for a device/platform not yet available via the releases page, you may accomplish this easily by adding a new directive to the Makefile
. When you get this working, Please share it by making a pull request! so that others may benefit from your labor :)