micropython
micropython copied to clipboard
BeagleConnect Freedom Improvements
- Enable subg networking
- Remove pwm enable overlay (enabled by default in all recent Zephyr versions (v3.8.0 and up).
I tried to build this board with zephyr 4.0.0 but I get an error:
micropython/ports/zephyr/../../ports/zephyr/machine_wdt.c: In function 'mp_machine_wdt_make_new_instance':
zephyr/include/zephyr/device.h:96:41: error: '__device_dts_ord_DT_N_ALIAS_watchdog0_ORD' undeclared (first use in this function)
96 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
| ^~~~~~~~~
I tried to build this board with zephyr 4.0.0 but I get an error:
micropython/ports/zephyr/../../ports/zephyr/machine_wdt.c: In function 'mp_machine_wdt_make_new_instance': zephyr/include/zephyr/device.h:96:41: error: '__device_dts_ord_DT_N_ALIAS_watchdog0_ORD' undeclared (first use in this function) 96 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~~~
Yes, you will need zephyr mainline to build it now since watchdog timer was not enabled until aftee zephyr 4.1.0 was released.
I do have a CI to build eveey Monday now to avoid this happening in the future: https://github.com/beagleboard/micropython-builder