summaryrefslogtreecommitdiff
path: root/gnu/packages/embedded.scm
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2026-07-15 16:21:52 +0200
committerAndreas Enge <andreas@enge.fr>2026-08-06 18:10:12 +0200
commit49331025afb3254086109a827fa5d1079cc71ed5 (patch)
tree60421993433af70a5b505cb3dafd3cd059d4a525 /gnu/packages/embedded.scm
parent3c280bd1e0d130dd63af4e4ede084678a7780146 (diff)
gnu: Remove spin2cpp.
* gnu/packages/embedded.scm (spin2cpp): Delete variable.
Diffstat (limited to 'gnu/packages/embedded.scm')
-rw-r--r--gnu/packages/embedded.scm48
1 files changed, 0 insertions, 48 deletions
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 148bd292c7b..d57d25191cc 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -1296,54 +1296,6 @@ code.")
1296upload binaries to a Parallax Propeller micro-controller.") 1296upload binaries to a Parallax Propeller micro-controller.")
1297 (license license:expat)))) 1297 (license license:expat))))
1298 1298
1299(define-public spin2cpp
1300 (package
1301 (name "spin2cpp")
1302 (version "3.6.4")
1303 (source (origin
1304 (method git-fetch)
1305 (uri (git-reference
1306 (url "https://github.com/totalspectrum/spin2cpp")
1307 (commit (string-append "v" version))))
1308 (file-name (git-file-name name version))
1309 (sha256
1310 (base32
1311 "0wznqvsckzzz4hdy2rpvj6jqpxw4yn7i0c7zxfm6i46k8gg9327b"))))
1312 (build-system gnu-build-system)
1313 (arguments
1314 `(#:tests? #f ;; The tests assume that a micro-controller is connected.
1315 #:phases
1316 (modify-phases %standard-phases
1317 (delete 'configure)
1318 (add-before 'build 'set-cross-environment-variables
1319 (lambda* (#:key inputs #:allow-other-keys)
1320 (setenv "CROSS_LIBRARY_PATH"
1321 (string-append (assoc-ref inputs "propeller-toolchain")
1322 "/propeller-elf/lib"))
1323 (setenv "CROSS_C_INCLUDE_PATH"
1324 (string-append (assoc-ref inputs "propeller-toolchain")
1325 "/propeller-elf/include"))
1326 #t))
1327 (replace 'install
1328 (lambda* (#:key outputs #:allow-other-keys)
1329 (let ((bin (string-append (assoc-ref outputs "out")
1330 "/bin")))
1331 (for-each (lambda (file)
1332 (install-file (string-append "build/" file)
1333 bin))
1334 '("testlex" "spin2cpp" "fastspin")))
1335 #t)))))
1336 (native-inputs
1337 (list bison propeller-load (make-propeller-toolchain)))
1338 (home-page "https://github.com/totalspectrum/spin2cpp")
1339 (synopsis "Convert Spin code to C, C++, or PASM code")
1340 (description "This is a set of tools for converting the Spin language for
1341the Parallax Propeller micro-controller into C or C++ code, into PASM, or even
1342directly into an executable binary. The binaries produced use LMM PASM, so
1343they are much faster than regular Spin bytecodes (but also quite a bit
1344larger).")
1345 (license license:expat)))
1346
1347(define-public spinsim 1299(define-public spinsim
1348 (let ((commit "66915a7ad1a3a2cf990a725bb341fab8d11eb620") 1300 (let ((commit "66915a7ad1a3a2cf990a725bb341fab8d11eb620")
1349 (revision "1")) 1301 (revision "1"))