Post Reply 
RPN scientific calculator firmware for $13 calculator kit
10-22-2019, 09:40 AM
Post: #22
RE: RPN scientific calculator firmware for $13 calculator kit
(10-22-2019 05:46 AM)jklsadf Wrote:  
(10-22-2019 04:59 AM)toml_12953 Wrote:  I'm trying to compile the new firmware with STO, RCL, etc. I use 64-bit Ubuntu with 8GB RAM. When I type make, I get this:

?ASlink-Error-Insufficient ROM/EPROM/FLASH memory.
make: *** [Makefile:19: main] Error 1

What version of Ubuntu/SDCC are you using to build? On Ubuntu 18.04LTS with SDCC 3.5.0 doing "make clean" and then "make" gives a binary 12,212 bytes in size, which is a bit tight (but still 1K free). I think newer versions of SDCC might be less efficient at code generation. If you do want to build it, SDCC has few dependencies, so I think it is possible to install older versions of the package. Other compilers (e.g. Keil) are probably even more efficient, but I don't have a license for the 8051, and also it's not free.

I'm using Ubuntu 19.10 with SDCC 3.8.0. Code size is 13312.

I'll look for an older SDCC. I wonder why it's getting less efficient!

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: RPN scientific calculator firmware for $13 calculator kit - toml_12953 - 10-22-2019 09:40 AM



User(s) browsing this thread: 1 Guest(s)