Comments (6)
I have no problem neither do I see one in the source. please be more explicit about the issue.
from stlink.
i have commented LIBUSB_CALL in stlink-usb.c (string 60 ) and building have finished successfully.
from stlink.
Can you tell what is the expension of LIBUSB_CALL on your system? On any LINUX, there should be no expansion.
Maybe this is a problem because LIBUSB_CALL is not defined at all. What is your version of LIBUSB? Can you have
a look at libusb.h to see what is the definition of LIBUSB_CALL?
Can you test with #if not defined (LIBUSB_CALL) #define LIBUSB_CALL #endif?
from stlink.
Can you test with #if not defined (LIBUSB_CALL) #define LIBUSB_CALL #endif?
This proposed fix has been submitted via commit fc85ba7 afterwards.
As it reads from the code, one can safely assume that these missing lines caused the mentioned compilation error and their addition resolves this issue.
from stlink.
It was so long ago. I have moved to manjaro linux and becomes use openocd and jlink gdb server
from stlink.
@legath: It's ok now as it is, don't worry about it.
from stlink.
Related Issues (20)
- [feature] Nucleo-H563ZI Board not recognized HOT 6
- [STM32L4R5ZI]: gdb-multiarch uses wrong osabi
- [STM32L471RG]: STLINKV3 : can't flash the device. Programmer not supported ? HOT 2
- st-util is very slow when stepping through code HOT 2
- [feature] Workflow w/ RAM uploads and SWO
- v1.8.0 is very slow stepping through code HOT 1
- [feature] Adding a graceful way for st-util to exit
- [doc] STM32H573 reports chipid 0x000 HOT 1
- [STLINK-V3-SET]: If the device fails to enter SWD mode, the usb device is not released HOT 4
- [st-trace] Bug in function static bool read_trace( ) HOT 1
- [STM32H753ZIT6]: ERROR common_flash.c: Failed to unlock flash option! HOT 1
- [STM32 F407VET6]: WARN usb.c: skipping ST device: 0x483:0x5720 HOT 2
- STM32G491: Programming flash error, non-erased value (was #1310) HOT 3
- [installation]: Unable to install stlink in ubuntu based devcontainer HOT 1
- [STM32L41x_L42x]: Read option bytes is getting into error unexpectedly
- [NUCLEO-H563ZI]: Cannot program board HOT 2
- [STM32H74x_H75x]: Cannot erase/reprogramm protected flash HOT 1
- Target reset is less reliable on testing branch HOT 8
- st-flash.exe - Application Error (0xc000007b) HOT 2
- [feature] Support for setting option bytes to STM32L41x_L42x
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stlink.