NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
<Wily--> has anyone been playing with openocd on SPI on RPi?
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
thinkfat_ has joined #openocd
thinkfat has quit [Ping timeout: 264 seconds]
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
tsal has quit [Ping timeout: 240 seconds]
tsal has joined #openocd
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
Wily-- has quit [Quit: Konversation terminated!]
nerozero has joined #openocd
Hawk777 has quit [Quit: Leaving.]
merethan has joined #openocd
SteveMarple has quit [Remote host closed the connection]
wingsorc has quit [Ping timeout: 260 seconds]
erhankur has joined #openocd
<erhankur> Hi Antonio, which script did you run to catch un-exported local symbols?
<PaulFertser> Needlessly exported symbols
<PaulFertser> I know you can build with -ffunction-sections and then link with --gc-sections and in the map file it'll list all the sections it threw out.
<PaulFertser> Guess borneoa_ used something less time consuming than that though.
<borneoa_> Hi
<borneoa_> I compile openocd then run 'nm' on all the files .o to get the symbols, then a one line script to find symbols exported and not referenced
<borneoa_> I can post the script later today
<erhankur> Thanks @PaulFertser @borneoa_
<PaulFertser> "my method" would miss functions that didn't get inlined so consider that an unrelated idea, not the real answer.
<borneoa_> I tried to integrate the nm stuff on the makefile, something like 'make unused_symbols', but our build system is per sub-library, and I don't have the way to run the final script. I will try again but it's more complicated than I thought
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
<erhankur> Maybe such kind of scripts can be integrated to Jenkins stage.
<borneoa_> There are symbols exported to complete the API, like something_read() with something_write() but only one is used out of the file that defines it. I'm not going to drop the one not used.
<borneoa_> I have posted the script in a comment of 7167, with one improvement I have not used yet
indy has quit [Quit: ZNC 1.8.2 - https://znc.in]
erhankur has quit [Remote host closed the connection]
indy has joined #openocd
erhankur has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
indy has quit [Ping timeout: 248 seconds]
indy has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
indy has quit [Ping timeout: 252 seconds]
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
indy has joined #openocd
indy has quit [Ping timeout: 244 seconds]
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
indy has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
merethan has quit [Ping timeout: 244 seconds]
erhankur has quit [Ping timeout: 268 seconds]
erhankur has joined #openocd
erhankur has quit [Ping timeout: 264 seconds]
emeb has joined #openocd
erhankur has joined #openocd
erhankur has quit [Ping timeout: 252 seconds]
erhankur has joined #openocd
nerozero has quit [Ping timeout: 244 seconds]
erhankur has quit [Read error: Connection reset by peer]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
wingsorc has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
zjason` has joined #openocd
zjason has quit [Ping timeout: 252 seconds]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Ping timeout: 252 seconds]
ianstcdns has joined #openocd
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
ianstcdns has quit [Quit: Client closed]
ianstcdns has joined #openocd
ianstcdns has quit [Quit: Client closed]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
crabbedhaloablut has quit [Ping timeout: 258 seconds]
crabbedhaloablut has joined #openocd
ianstcdns has joined #openocd
ianstcdns has quit [Quit: Client closed]