mynewt-dw1000-core
mynewt-dw1000-core copied to clipboard
BSP support for TREK1000
Hi!
When trying to compile the included ttk1000 bsp example I get errors about not finding the dpl libraries. Seems like the bsp example is incomplete. Has this example ever been successfully compiled and if not how do I add the dpl library to the bsp?
I've also asked the same question on the decawave forums with more info: https://decaforum.decawave.com/t/mynewt-library-compilation-on-trek1000-hardware/6773
Hi @diesel-mil ,
It's been a while that the bsp was tested. Need to use the 1.6.0 version of mynewt-core and include the porting/dpl
to the build environment.
The problem can be resolved by doing the following steps.
Download the attached patch(dw1000-core.txt) and copy into the mynewt-dw1000-core and execute the commands dw1000-core.txt
cp dw1000-core.txt mynewt-dw1000-core
cd mynewt-dw1000-core
git apply dw1000-core.txt
cd repos/apache-mynewt-core/
git checkout 1_6_0_dev
cd ../../
and the following steps to build ttk1000 BSP should work.
newt target create ttk1000_boot
newt target set ttk1000_boot app=@apache-mynewt-core/apps/boot
newt target set ttk1000_boot bsp=@mynewt-dw1000-core/hw/bsp/ttk1000
newt target set ttk1000_boot build_profile=optimized
newt build ttk1000_boot
This builds the boot target for ttk1000, you can look into mynewt-dw1000-apps , where the ranging examples available.
Also, ttk1000 isn't the bsp for the trek1000 board. We currently do not have a bsp for the trek-kit in this repo. The trek has an older stm32 mcu.