Koenkk / Z-Stack-firmware

Compilation instructions and hex files for Z-Stack firmwares
MIT License
2.33k stars 643 forks source link

Draft: Use SDK from git to build #516

Open oliv3r opened 2 weeks ago

oliv3r commented 2 weeks ago

This MR switches from a pre-downloaded SDK, to using the SDK from git. This also means we can store our changes in the git repo, instead of managing local patches. With the addition of #507 we can actually use docker to build the entire firmware headless, allowing for the next step, to build from the CI.

One thing I don't know, is how to do the build of the SDK libraries from within CCS. Headless it is trivially calling make. Surely there must be an easy clickable way, but that is needed to be added to the documentation.

oliv3r commented 2 weeks ago

Note that this MR includes changes from #507 and #515.

One option issue is the 'other' traget, which needs some fighting of CCS/sysconfig. We currently are based of the 'launchpad board' (which really is just abusing things :p I bet none of the boards used are actual launchpad boards :p) which forces us into certain configurations. This can be changed, but needs some figuring out.