-
Notifications
You must be signed in to change notification settings - Fork 73
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
Function size limit #7
Comments
Hello, Jérôme: Thanks for your note, and your kind words. I will try to answer your questions.
Storing functions in flash memory on the AVR devices is difficult since apparently it is quite challenging to write the AVR flash at runtime (as opposed to from the boot loader), so I don't expect that to happen unless someone coughs up a flash-writing library (which I would be happy to discover, if it exists.) I hope that is helpful and I would be happy to take followup questions. Kind regards, -br On Aug 31, 2013, at 8:04 PM, Jérôme Poulin wrote:
|
Thanks for your fast answer, here is what I found:
|
Thanks for your comments. Re: pull requests for the wiki, it looks like this is not supported (http://stackoverflow.com/questions/10642928/how-to-pull-request-a-wiki-page-on-github) so I guess you can paste amended text here and I will move it to the wiki. Cheers, -br |
1 issue, 1 improvement, 1 question and 1 happy user!
I'm very happy with bitlash, this provides me a shell for Arduino and expands the possibilities by making the Arduino almost a dynamic device which can be re-programmed on the field. The snooze based semi-multitasking is awesome!
1 issue:
I just subscribed to the project and noticed it is alive, which is quite good :) I noticed that the functions are size limited but it seems like a bug because it is neither documented nor an error message is issued when the limit is encountered. I currently own an Arduino compatible SainSmart ATMEGA2560 with W5100 Ethernet Shield. I uploaded the bitlash Web Server example and started using it. If I try to input a function longuer or equal to 60 characters, the function appears as function name {} after issuing ls. Nothing else I could notice, it always does that, whatever the function name is. Shorter functions work perfectly, longuer won't work (do nothing) and appear in "peep" as empty too.
1 improvement:
Maybe it would be nice to indicate in the documentation that to use analog pins in functions they should use higher numbered pin numbers, that took me a while to figure out by myself. For example in for loops and specially in pinmode!!
1 question:
Is it possible to store function in RAM actually? Maybe with a prefix? Or maybe in the main flash in the future?
The text was updated successfully, but these errors were encountered: