mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
8840240db3
(A Scheme subset for Atmel microcontrollers.)
Use of the actual git HEAD because the actual tarball compiles but
segfault at runtime.
Upload the BLINK.ms sample on arduino board (/dev/ttyACM0):
```sh
$ sudo ./result/bin/microscheme -m UNO -d /dev/ttyACM0 -auc ~/repo/perso/microscheme/examples/BLINK.ms
Microscheme 0.8, (C) Ryan Suchocki
>> Treeshaker: After 4 rounds: 84 globals purged! 22 bytes will be
reserved.
>> 18 lines compiled OK
>> Assembling...
>> Uploading...
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100%
0.00s
avrdude: Device signature = 0x1e950f
avrdude: reading input file
"/home/tony/repo/perso/microscheme/examples/BLINK.hex"
avrdude: writing flash (2080 bytes):
Writing | ################################################## | 100%
0.35s
avrdude: 2080 bytes of flash written
avrdude: safemode: Fuses OK (E:00, H:00, L:00)
avrdude done. Thank you.
>> Cleaning Up...
>> Finished.
```
(cherry picked from commit
|
||
---|---|---|
.. | ||
attrsets.nix | ||
composable-derivation.nix | ||
customisation.nix | ||
debug.nix | ||
default.nix | ||
licenses.nix | ||
lists.nix | ||
maintainers.nix | ||
meta.nix | ||
misc.nix | ||
modules.nix | ||
options.nix | ||
platforms.nix | ||
sources.nix | ||
strings-with-deps.nix | ||
strings.nix | ||
systems.nix | ||
tests.nix | ||
trivial.nix | ||
types.nix |