Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This can be flashed using west flash too. If everything went well, you should have BLE peripheral running. This can be validated with any BLE scanning app.

Enabling sleep

By default, Zephyr doesn't use one of the best features of the DA1469x devices: sleep. Thankfully the Kconfig system allows us to enable sleep easily. Simply add these lines:

CONFIG_PM=y
CONFIG_DEBUG_OPTIMIZATIONS=y
CONFIG_PM_DEVICE=y
CONFIG_REGULATOR=y

To the prj.conf file of the example you're building.

Compiling Micropython

Compiling Micropython for any board supported by Zephyr is remarkably easy(Do note windows isn't supported). Just clone the Micropython repo and build the embedded Zephyr project. The suggested place to clone Micropython is in the zephyrproject folder.

...