Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build a hex file for upload from command line #7

Closed
mulderp opened this issue Mar 31, 2015 · 3 comments
Closed

Build a hex file for upload from command line #7

mulderp opened this issue Mar 31, 2015 · 3 comments

Comments

@mulderp
Copy link

mulderp commented Mar 31, 2015

Hi,

I was wondering what you think of adding some example, where a hex file would be built from the command line. This file could then be uploaded with js-stk500.

I wrote some thoughts on hex file compilation here: http://thinkingonthinking.com/an-arduino-sketch-from-scratch/

@jacobrosenthal
Copy link
Contributor

Its a nice write up. Ive resisted makefile solutions in the past because
who knows what Arduino is going to do.

I really like leo, where adam is translating builds into javascript
https://www.npmjs.com/package/leo

But Im currently using arduino 1.6's command line functionality on a remote
build server:
https://registry.hub.docker.com/u/jacobrosenthal/arduino-server/

On Tue, Mar 31, 2015 at 7:12 AM, Patrick Mulder [email protected]
wrote:

Hi,

I was wondering what you think of adding some example, where a hex file
would be built from the command line. This file could then be uploaded with
this lib.

I wrote some thoughts on hex file compilation here:
http://thinkingonthinking.com/an-arduino-sketch-from-scratch/


Reply to this email directly or view it on GitHub
#7.

@soldair
Copy link
Collaborator

soldair commented Mar 31, 2015

i have a module for pinoccio that builds the firmware using arduino on the command line pinoccio-arduino-compile (https://github.com/soldair/pinoccio-arduino-compile) and the pinoccio cli tool comes with a batch-flash command that helps flash the hex on many scouts at the same time

@mulderp
Copy link
Author

mulderp commented Apr 1, 2015

Thanks for the feedback. These are all nice options to explore!
I'll close this issue for now, part of the discussion is moved to AdamMagaluk/leo#29

I guess one of the difficulties is indeed that the Arduino IDE keeps changing paths of libraries. Maybe it would be a valid option to fetch the Arduino libraries into the local project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants