Giter Club home page Giter Club logo

Comments (8)

allanwmacdonald avatar allanwmacdonald commented on August 22, 2024 1

There is no need for any special compiling or inclusion of libraries. The stvp toolset comes with a pre-compiled binary command-line executable called "STVP_CmdLine.exe". That will get your hex file burned to the chip out of the box. I was unable to find any specific on-line documentation for it but the help is quite comprehensive:
"C:\Program Files (x86)\STMicroelectronics\st_toolset\stvp\STVP_CmdLine.exe" -help

from stm8flash.

spth avatar spth commented on August 22, 2024 1

It is possible to cross-compile stm8flash under GNU/Linux to a Windows .exe.
You'll also need a libusb DLL: https://github.com/libusb/libusb/releases

Pre-compiled Windows binaries (with a libusb DLL included) are provided by the sduino project. Their current Windows tools release is https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_mingw32-2019.02.05.tar.bz2

from stm8flash.

allanwmacdonald avatar allanwmacdonald commented on August 22, 2024

I'm not a stm8flash developer and I am presuming alot here but I would suggest that the stm8flash is purely targeted to run natively under the linux environment. For windows, I would recommend the freely available stvp toolset from here: https://www.st.com/en/development-tools/stvp-stm8.html

from stm8flash.

wenhuafeng avatar wenhuafeng commented on August 22, 2024

I hope it can support compiling under Windows, such as mingw64 compiling, and outputting exe to burn the chip with the command line.

from stm8flash.

joshuadavila avatar joshuadavila commented on August 22, 2024

as @allanwmacdonald comments, for windows environment you can use the freely available stvp, check https://www.st.com/en/development-tools/stvp-lib-stm8.html documentation to see how you can burn your chips directly from commandline.

from stm8flash.

wenhuafeng avatar wenhuafeng commented on August 22, 2024

@joshuadavila ,Thanks!!!

from stm8flash.

joshuadavila avatar joshuadavila commented on August 22, 2024

https://www.st.com/en/development-tools/stvp-lib-stm8.html contains the source code used to create STVP_CmdLine.exe , of course you can use the pre-compiled binary, but it gives you the libraries to embed stvp functionality into your own applications.

from stm8flash.

wenhuafeng avatar wenhuafeng commented on August 22, 2024

STVP_ CmdLine.exe test is available, thank you very much!

from stm8flash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.