You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
I just wanted to install the STLinkUSB. But I got this error by using runhaskell Setup.hs configure --ghc: Warning: STLinkUSB.cabal:18:23: Packages with 'cabal-version: 1.12' or later should specify a specific version of the Cabal spec of the form 'cabal-version: x.y'. Use 'cabal-version: 1.24'. Configuring STLinkUSB-0.1.2... Setup.hs: Encountered missing or private dependencies: bytestring >=0.10 && <0.11, usb >=1.3 && <1.4, vector >=0.12 && <0.13
The text was updated successfully, but these errors were encountered:
morioskouie99
changed the title
How to install the STM32Fxxx microcontroller hacking in Haskell in widows?
How to install the STM32Fxxx microcontroller hacking Haskell Tool in windows?
Jun 3, 2022
Thank you for trying out the STM32 Haskell packages.
I see in the error message that you try to install the package with runhaskell. runhaskell is a low level tool which only installs a single package, but which cannot automatically install dependencies.
In additon to GHC you should also install cabal-install from here https://www.haskell.org/downloads/
and use cabal to install the package and its dependencies.
I have not tried the STM32 libraries with Windows. The only OS specific dependency is libusb which is available for Windows, so it should work in principle. https://hackage.haskell.org/package/bindings-libusb explains how to install bindings-libusb on Windows.
Hello.
I just wanted to install the STLinkUSB. But I got this error by using
runhaskell Setup.hs configure --ghc
:Warning: STLinkUSB.cabal:18:23: Packages with 'cabal-version: 1.12' or later should specify a specific version of the Cabal spec of the form 'cabal-version: x.y'. Use 'cabal-version: 1.24'. Configuring STLinkUSB-0.1.2... Setup.hs: Encountered missing or private dependencies: bytestring >=0.10 && <0.11, usb >=1.3 && <1.4, vector >=0.12 && <0.13
The text was updated successfully, but these errors were encountered: