NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
wolfshappen_ has quit [Quit: later]
indy has quit [Quit: ZNC 1.8.2 - https://znc.in]
tsal has quit [Ping timeout: 245 seconds]
tsal has joined #openocd
mithro has quit [Ping timeout: 264 seconds]
dreamcat4 has quit [Ping timeout: 268 seconds]
abg has quit [Ping timeout: 264 seconds]
wolfshappen has joined #openocd
NishanthMenon has quit [Ping timeout: 268 seconds]
dreamcat4 has joined #openocd
NishanthMenon has joined #openocd
mithro has joined #openocd
abg has joined #openocd
mithro has quit [Ping timeout: 260 seconds]
mithro has joined #openocd
mithro has quit [Ping timeout: 268 seconds]
mithro has joined #openocd
indy has joined #openocd
indy has quit [Ping timeout: 268 seconds]
Steffanx- has quit [Ping timeout: 245 seconds]
NishanthMenon has quit [Ping timeout: 260 seconds]
key2 has quit [Ping timeout: 260 seconds]
nohit has quit [Ping timeout: 268 seconds]
Steffanx- has joined #openocd
key2 has joined #openocd
devanagram has quit [Ping timeout: 245 seconds]
nohit has joined #openocd
borneoa_ has quit [Ping timeout: 245 seconds]
borneoa_ has joined #openocd
NishanthMenon has joined #openocd
devanagram has joined #openocd
indy has joined #openocd
Hawk777 has joined #openocd
nerozero has joined #openocd
Bertl is now known as Bertl_zZ
indy has quit [Ping timeout: 244 seconds]
bacam has quit [*.net *.split]
bacam has joined #openocd
Inoperable has quit [*.net *.split]
GyrosGeier has quit [*.net *.split]
medicalwei has quit [*.net *.split]
GyrosGeier has joined #openocd
Inoperable has joined #openocd
medicalwei has joined #openocd
indy has joined #openocd
indy_ has joined #openocd
indy has quit [Ping timeout: 244 seconds]
<Fist0urs> PaulFertser, fyi I've read the doc
<Fist0urs> it is pretty clear, well done!
indy_ is now known as indy
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
tarekb has joined #openocd
DefekC has joined #openocd
<PaulFertser> Fist0urs: great to hear. It's a community effort, maintained along with the sources.
urja has quit [Ping timeout: 264 seconds]
Haohmaru has joined #openocd
tarekb has quit [Read error: Connection reset by peer]
<DefekC> Hi.
<DefekC> I am trying to compile my own "custom" OpenOCD due to fact I have to add a APM32F051 MCU to the target list (reference for conversation in here: https://libera.irclog.whitequark.org/openocd/2021-11-04).
<DefekC> I have problem in very compilation process.
<DefekC> I am getting a following error: "cannot find -lusb-1.0"
<DefekC> Compilation is done on Linux (Debian) PC and result is needed for Windows (don't ask, not my choice).
<DefekC> Any ideas? Any extra info needed?
<DefekC> By the way:
<DefekC> pkg-config --modversion libusb
<DefekC> 0.1.12
<DefekC> pkg-config --modversion libusb-1.0
<DefekC> 1.0.23
<DefekC> Configuration (after successful ./bootstap):
<DefekC> ./configure --host=i686-w64-mingw32 --enable-stlink --disable-ftdi --disable-ft232r --disable-werror
<Fist0urs> DefekC, you need the dev package
<Fist0urs> iirc*
<Fist0urs> try libusb-1.0-0-dev maybe?
Hawk777 has quit [Quit: Leaving.]
<DefekC> Fist0urs, console says:
<DefekC> libusb-1.0-0-dev is already the newest version (2:1.0.23-2build1)
<Fist0urs> have you ever compiled a custom libusb? Maybe there's a linker problem here
<Fist0urs> (my guess the problem is not openocd here)
<DefekC> Nop. I installed apt provided packages.
<DefekC> You suggest to remove all libusb components fom system & compile/install a libusb myself fom souce?
<Fist0urs> no no
<Fist0urs> do not compile libusb yourself
<Fist0urs> can you locate in the generated Makefile the compilation line for -lusb-1.0 ?
<Fist0urs> also, what is the output of "whereis libusb"?
<PaulFertser> Hey folks hold on :)
<PaulFertser> DefekC: so you're cross-compiling on GNU/Linux for Windows, right?
<PaulFertser> DefekC: are you using the contrib/cross-build.sh script?
<PaulFertser> DefekC: host libusb doesn't help with getting one for windows obviously.
<PaulFertser> cross-build.sh should do what's required
<DefekC> PaulFertser, yes - from Linux to Windows, cross-compilation.
<DefekC> No, currently I am using simple sequence of following commands:
<DefekC> 1) git -> download openocd repo
<DefekC> 2) ./bootstrap
<DefekC> 3) ./configure --host=i686-w64-mingw32 --enable-stlink --disable-ftdi --disable-ft232r --disable-werror
<DefekC> Ok, I'll ty!
<Fist0urs> oh damn, I missed that part of cross-compile
<Fist0urs> yeah libusb won't help if you plan to run on Windows :)
Bertl_zZ is now known as Bertl
DefekC has quit [Quit: Client closed]
nerozero has quit [Ping timeout: 244 seconds]
urja has joined #openocd
Hawk777 has joined #openocd
Bertl is now known as Bertl_oO
Haohmaru has quit [Remote host closed the connection]
Coldblackice_ has joined #openocd
Coldblackice has quit [Ping timeout: 260 seconds]
Coldblackice has joined #openocd
Coldblackice_ has quit [Ping timeout: 240 seconds]
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd