From ac5a85abac1a47645713d3b7539fccb1b744dd85 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Thu, 11 Sep 2025 03:04:36 +0000 Subject: Adds `hsm-drive` --- hsm-drive/hsm-drive.cabal | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 hsm-drive/hsm-drive.cabal (limited to 'hsm-drive/hsm-drive.cabal') diff --git a/hsm-drive/hsm-drive.cabal b/hsm-drive/hsm-drive.cabal new file mode 100644 index 0000000..0443dda --- /dev/null +++ b/hsm-drive/hsm-drive.cabal @@ -0,0 +1,44 @@ +cabal-version: 3.8 +author: Paul Oliver +name: hsm-drive +version: 0.1.0.0 + +library + build-depends: + , base + , effectful-core + , effectful-plugin + , hsm-gpio + , hsm-log + , hsm-pwm + + default-language: GHC2024 + exposed-modules: Hsm.Drive + ghc-options: + -O2 -Wall -Werror -Wno-star-is-type -Wunused-packages + -fplugin=Effectful.Plugin + +executable test-drive + build-depends: + , base + , echo + , effectful-core + , effectful-plugin + , hsm-core + , hsm-gpio + , hsm-log + , hsm-pwm + , hsm-repl + , monad-loops + , optparse-applicative + + default-language: GHC2024 + ghc-options: + -O2 -Wall -Werror -Wno-star-is-type -Wunused-packages + -Wno-unused-imports -ddump-splices -fplugin=Effectful.Plugin + + if !arch(x86_64) + ghc-options: -optl=-mno-fix-cortex-a53-835769 + + main-is: Test/Drive.hs + other-modules: Hsm.Drive -- cgit v1.2.1