Coder Social home page Coder Social logo

Can't build custom board about nuttx HOT 5 OPEN

fdcavalcanti avatar fdcavalcanti commented on August 30, 2024
Can't build custom board

from nuttx.

Comments (5)

fdcavalcanti avatar fdcavalcanti commented on August 30, 2024 2

Right, so I got it to compile by reading some issues from make export in #10388
Just had to add CONFIG_ARCH_BOARD_COMMON=y.
I understand that there is a common directory inside boards/stm32f7 but since no defconfig had it, I didn't even think about it before.
I'll keep working on it, try and track down other issues and I'll update the docs.

Thanks everyone.

from nuttx.

acassis avatar acassis commented on August 30, 2024

@fdcavalcanti I just saw that our documentation for custom board is very shallow: https://nuttx.apache.org/docs/latest/guides/customboards.html# we need something like Custom Apps that @TimJTi wrote.

The error means that some Makefile rules or path to create libboard.a is missing.

BTW, if this board is a commercial board (i.e. from ST) then it is better to add it as official board into NuttX mainline.

from nuttx.

fdcavalcanti avatar fdcavalcanti commented on August 30, 2024

Hi @acassis. Its not a commercial board. I'm using a Nucleo-144 integrating in a different equipment as a proof of concept. Its just easier for me to version only the board files and use the custom board settings.

from nuttx.

TimJTi avatar TimJTi commented on August 30, 2024

@fdcavalcanti - have you tried the instructions to move it completely out-of-tree? It works for me.

@acassis - I "ported" the custom boards stuff from the old Wiki (Confluence?) to the current documentation tree and added a bit to it too if I recall. I will revisit it tomorrow and see if it still holds true or needs enhancement - but it is only for out-of-tree boards. I think there's different documentation somewhere or other for in-tree new boards - I'll look, and see if it needs any work that I can see.

from nuttx.

fdcavalcanti avatar fdcavalcanti commented on August 30, 2024

Hello @TimJTi thanks for the input.
Yes I tried. I also applied the modifications in the issue description above.
This is really an issue now because I think porting to a similar board, out-of-tree, should been simple. I need to do this PoC and am stuck in what seems to be a basic issue.

I'll keep trying to figure it out and hopefully I can contribute on fixing and documenting.

Thanks

from nuttx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.