Public Repository

Last pushed: 2 years ago
Short Description
Arduino build server backed by hapi and the official Arduino toolchain.
Full Description

#arduino-server
Image includes Arduino standard as well as the attiny boards

Use

Curl or otherwise do a POST with mandatory board and source options. See Arduino command line build tool man pages for more board options.

curl -H "Content-Type: application/json" -X POST -d '{"board":"arduino:avr:uno", "source":"void loop(){}\nvoid setup(){}"}' http://localhost:8000/compile
{"log":"Xlib:  extension \"RANDR\" missing on display \":1.0\".\n\nSketch uses 450 bytes (1%) of program storage space. Maximum is 32,256 bytes.\nGlobal variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.\n","hex":":100000000C9434000C9446000C9446000C9446006A\r\n:100010000C9446000C9446000C9446000C94460048\r\n:100020000C9446000C9446000C9446000C94460038\r\n:100030000C9446000C9446000C9446000C94460028\r\n:100040000C945A000C9446000C9446000C94460004\r\n:100050000C9446000C9446000C9446000C94460008\r\n:100060000C9446000C94460011241FBECFEFD8E03C\r\n:10007000DEBFCDBF21E0A0E0B1E001C01D92A930FC\r\n:10008000B207E1F70E944B000C94DF000C940000D3\r\n:100090000895089508950E94A4000E944A000E94B5\r\n:1000A0004900C0E0D0E00E9448002097E1F30E94A0\r\n:1000B0000000F9CF1F920F920FB60F9211242F93C9\r\n:1000C0003F938F939F93AF93BF9380910101909142\r\n:1000D0000201A0910301B09104013091000123E0DD\r\n:1000E000230F2D3720F40196A11DB11D05C026E870\r\n:1000F000230F0296A11DB11D2093000180930101E1\r\n:1001000090930201A0930301B09304018091050133\r\n:1001100090910601A0910701B09108010196A11DDF\r\n:10012000B11D8093050190930601A0930701B09340\r\n:100130000801BF91AF919F918F913F912F910F90A7\r\n:100140000FBE0F901F901895789484B5826084BD7F\r\n:1001500084B5816084BD85B5826085BD85B58160CB\r\n:1001600085BDEEE6F0E0808181608083E1E8F0E02B\r\n:100170001082808182608083808181608083E0E85A\r\n:10018000F0E0808181608083E1EBF0E08081846039\r\n:100190008083E0EBF0E0808181608083EAE7F0E03B\r\n:1001A000808184608083808182608083808181609F\r\n:1001B00080838081806880831092C1000895F894C4\r\n:0201C000FFCF6F\r\n:00000001FF\r\n"}
Docker Pull Command
Owner
jacobrosenthal

Comments (0)