Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4829

SDK • Re: Any way to stop runtime_init() from zapping all my GPIOs?

$
0
0
I have done something similar when I have wanted to modify some standard SDK code for other projects. I have a Makefile rule that copies some of the SDK into my source tree (the modules that I want to customize) and applies my project specific patches (these are context based diff patches created with the -u command line flag). The build is then modified to use the patched version of the SDK modules. I have another Makefile rule that can refresh the diffs so they can committed into git if I make any more changes to those SDK files in the future. This tends to work across SDK revisions and when it doesn't, the context based patch tends to fail, alerting that there is something that needs to be changed for this newer SDK revision.

Statistics: Posted by adam_green — Tue May 21, 2024 7:35 pm



Viewing all articles
Browse latest Browse all 4829

Trending Articles