Firmware: A newby here has initial questions

Discuss mods, hacks, tweaks, etc.

Moderators: altitude, adafruit_support_bill, adafruit, phono, hamburgers

Please be positive and constructive with your questions and comments.
mario1089
 
Posts: 208
Joined: Wed Sep 19, 2012 8:11 am

Re: Firmware: A newby here has initial questions

Post by mario1089 »

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.

User avatar
antto
 
Posts: 1636
Joined: Thu Apr 15, 2010 3:21 pm

Re: Firmware: A newby here has initial questions

Post by antto »

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 BANNED - you will see the actual size there (tho, you can't test this without the x0x)

mario1089
 
Posts: 208
Joined: Wed Sep 19, 2012 8:11 am

Re: Firmware: A newby here has initial questions

Post by mario1089 »

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.

Locked
Please be positive and constructive with your questions and comments.

Return to “x0xm0dz”