foldedtoad / dwm1001

Decawave DWM1001-Dev board
GNU General Public License v3.0
31 stars 13 forks source link

Zephyr 3.2.0 update - patch file attached #13

Open burakkavak opened 1 year ago

burakkavak commented 1 year ago

I updated the project to Zephyr 3.2.0. I only tested the 'ex_05a_ds_twr_init' and 'ex_05b_ds_twr_resp' examples. The other examples will probably work too, but do the testing yourself...

The example '06' for single-sided ranging seems broken in this patch, but also in the original repo. I may or may not fix that at a later time.

The patch uses the board device tree from this repo, maybe at a future time one could migrate to the 'decawave_dwm1001_dev' board definitions included in the Zephyr-repo.

It is very likely I didn't caught all deprecated includes from all examples. Please adjust them if you run into compiler errors.

Main changes in the patch:

I used Zephyr 3.2.0 and zephyr-sdk-0.15.2 for building. A lot of untested things in this patch, this is the first iteration. BT and accelerometer were also not tested.

Get the patch here: update_to_Zephyr_3_2_0.patch

fabio2602 commented 1 year ago

thanks a lot, I will do a deep dive on it.

burakkavak commented 1 year ago

I made a lot of changes since the patch I posted 2 weeks ago, I updated the project to use the 'decawave_dwm1001_dev' board definitions included in the Zephyr master repo.

I did not make a (public) git repo for it yet, since it's not quite ready. Checkout the README.md for instructions on how to build.

dwm1001-dev-zephyr-master.zip

fabio2602 commented 1 year ago

Hi, thanks you again. The problem that we are facing is that tx and rx implemented on decawave_1001 are non speaking each other. Do you know if there's a known issue related to this? Our suspect are that dts is not correct and we are not activating the UW Band module.

Kind Regards