> SDCC developers and users,
>
> I had a problem of "no target memory available".  The problem and my
> environment are described below.
>
> SDCC Version:
> sdcc -v
> SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08
> 2.7.3 #4920 (Sep 28 2007) (MINGW32)
>
> GCC Version:
> gcc version 3.4.2 (mingw-special)
>
> GPLink Version:
> gplink-0.13.4 alpha
>
> Device: PIC18F2320
>
> Operating System: Windows XP, SP2
>
> What the code does: Read the temperature and humidity of a Sensirion SHT11
> sensor (digital interface, 2 data pins: DATA and SCK) and display the values
> into a display (16x2).
>
> Problem/error:
> sdcc -mpic16 -p18f2320  -l "-s C:\Arquiv~1\gputils\lkr\18f2320.lkr"
> mainApp.c
> error: no target memory available for section "S_itoa__uitoa"
> make: *** [mainApp.hex] Error 1
>
> This error occurs every time I increase something in the code. Change a
> varible that was integer to a float type, create a new function and so on.
> The section ("S_itoa__uitoa" reported above) changed as I change something
> in the code. Some changes, for example, make the error: no target memory
> available for section "S_fs2uint____fs2uint".
> I'm not sure if the I reach the flash limit of this device (8KBytes), but
> the code is simple and small, so I don't undestand the error "no target
> memory available". Is it the flash? I reach the limit of the device with
> this simple and small code?
>
> Makefile and program file (mainApp.c) are attached.
>
> Thanks a lot,
>
> Rogério E. Salustiano
> State University of Campinas (UNICAMP)
> Brazil
>
>
>
>
>
>
>

Attachment: mainApp.c
Description: Binary data


Attachment: Makefile
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to