micropython icon indicating copy to clipboard operation
micropython copied to clipboard

BeagleConnect Freedom Improvements

Open Ayush1325 opened this issue 7 months ago • 2 comments

  • Enable subg networking
  • Remove pwm enable overlay (enabled by default in all recent Zephyr versions (v3.8.0 and up).

Ayush1325 avatar Jun 16 '25 16:06 Ayush1325

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)
      |                                         ^~~~~~~~~

dpgeorge avatar Jun 19 '25 02:06 dpgeorge

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

Ayush1325 avatar Jun 19 '25 03:06 Ayush1325