Please be aware of all shipping deadlines before placing your order - we cannot guarantee orders will arrive before Christmas!

Firmware: A newby here has initial questions
Moderators: Altitude, adafruit_support_bill, adafruit, phono, mome rath

Re: Firmware: A newby here has initial questions

by mario1089 on Sat Sep 22, 2012 6:34 am

Removed all track-play / track-edit code (untested as I`m still waiting for the harware) - saved 2883 bytes. That should be enough for my plans.
mario1089
 
Posts: 196
Joined: Wed Sep 19, 2012 8:11 am

Re: Firmware: A newby here has initial questions

by antto on Sat Sep 22, 2012 6:44 am

btw, the file size is not the same as the firmware size
since the file is .hex which means.. (iirc) it is plain text and there's some header stuff, then the actual binary that must be uploaded to the x0x is written as hex text
when you attempt to upload a .hex with c0nb0x - you will see the actual size there (tho, you can't test this without the x0x)
We are here too: irc.freenode.net >>> #x0xb0x
..:: c0nb0x v1.00 ::.. http://forums.adafruit.com/viewtopic.php?f=7&t=29282 (new control app - win/osx)
VCO Tuning: http://forums.adafruit.com/viewtopic.php?f=12&t=24759 (do it the EASY way)
User avatar
antto
 
Posts: 1395
Joined: Thu Apr 15, 2010 3:21 pm
Location: 127.0.0.1

Re: Firmware: A newby here has initial questions

by mario1089 on Sat Sep 22, 2012 1:20 pm

yes, but I found the makefile outputs the resulting sizes. If you add the numbers of the anything except the debug info (the first 3 chunks), you get the size of the actual firmware. It was obvious it is like that, as before changing code, by adding that 3 numbers, I got exactly that 15872 bytes sokkan was reporting for sokkOS2.0. And after removing track stuff, 3000 less.
mario1089
 
Posts: 196
Joined: Wed Sep 19, 2012 8:11 am