3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/lib
Antoine R. Dumont 172d78923b Add microscheme derivation
(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.
```
2015-02-16 23:09:48 +01:00
..
attrsets.nix lib: Fix matchAttrs by importing builtins.length 2014-12-30 15:07:29 -08:00
composable-derivation.nix Shea told me composableDerivation is hard to understand. 2014-04-30 20:31:40 +02:00
customisation.nix Revert "Revert "mkOverridable: Use functors to allow overridable functions"" 2015-01-13 08:39:54 -05:00
debug.nix Remove obsolete checks for missing primops 2014-10-05 01:10:37 +02:00
default.nix Add some primops to lib 2013-11-12 13:48:30 +01:00
licenses.nix Merge commit 'cfb29ab882323d379aba20a95020c7c24f883eae' 2015-02-02 21:14:28 -05:00
lists.nix Add unique list function 2014-11-12 22:31:49 +01:00
maintainers.nix Add microscheme derivation 2015-02-16 23:09:48 +01:00
meta.nix Make appendToName do the right thing 2014-03-10 15:01:56 +01:00
misc.nix Replace hasAttr/getAttr calls with the ? and . operators 2014-10-05 01:11:06 +02:00
modules.nix modules: Extract mkAliasDefinition from the rename.nix NixOS module. 2014-12-22 22:38:38 +01:00
options.nix Add Type information into manual and manpages, fixes #4600 2015-01-04 15:41:32 +01:00
platforms.nix lib/platforms: add "armv6l-linux" to all platforms 2014-09-27 11:23:03 +02:00
sources.nix Manual: Handle XML files in subdirectories 2014-08-25 14:33:33 +02:00
strings-with-deps.nix Replace hasAttr/getAttr calls with the ? and . operators 2014-10-05 01:11:06 +02:00
strings.nix lib: Use arithmetic operators rather than builtins.add etc. 2014-10-05 01:10:06 +02:00
systems.nix lib: Use arithmetic operators rather than builtins.add etc. 2014-10-05 01:10:06 +02:00
tests.nix
trivial.nix Automatically set nix.nrBuildUsers to at least nix.maxJobs 2015-02-16 12:02:49 +01:00
types.nix Remove types.functionTo. 2014-09-07 19:41:45 +02:00