Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BSP support for TREK1000 #26

Open
diesel-mil opened this issue Jan 9, 2020 · 2 comments
Open

BSP support for TREK1000 #26

diesel-mil opened this issue Jan 9, 2020 · 2 comments

Comments

@diesel-mil
Copy link

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

@rmadhuraj
Copy link
Member

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.

@ncasaril
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants