Move ramcode to clean address. Also sort exported symbols and add a few

This commit is contained in:
Stefan `Sec` Zehl 2011-08-05 18:53:40 +02:00
parent 72e04c1d38
commit b1b5516b42
4 changed files with 85 additions and 71 deletions

View File

@ -7,7 +7,7 @@
TARGET = LPC13xx
FLASH = 32K
SRAM = 8K
RAMCODE=2548
RAMCODE=2560
# For USB HID support the LPC134x reserves 384 bytes from the sram,
# if you don't want to use the USB features, just use 0 here.

View File

@ -28,7 +28,7 @@ uint8_t execute_file (const char * fname){
dst=(void (*)(void)) (sram_top);
lcdPrint("T:"); lcdPrintIntHex(dst); lcdNl();
*/
dst=(void (*)(void)) 0x1000160C;
dst=(void (*)(void)) (0x10002000 - RAMCODE);
res=f_open(&file, fname, FA_OPEN_EXISTING|FA_READ);

View File

@ -1,24 +1,20 @@
#lcd
DoChar
DoInt
DoIntX
DoString
GetLight
GetUUID32
GetVoltage
IntToStr
IntToStrX
_timectr
delayms
delayms_queue
getInputRaw
getInputWaitRelease
getSeconds
gpioGetValue
gpioSetValue
handleMenu
iapReadSerialNumber
isNight
Font_7x8
font
getFontHeight
setExtFont
lcdBuffer
lcdClear
lcdDisplay
lcdFill
lcdGetPixel
lcdLoadImage
lcdNl
lcdPrint
lcdPrintInt
@ -27,65 +23,84 @@ lcdPrintln
lcdRefresh
lcdSetPixel
lcdShift
lcdShowAnim
#input
getInput
getInputRaw
getInputWait
getInputWaitRelease
getInputWaitTimeout
#crypto
xxtea_decode_words
xxtea_encode_words
ECIES_decryptkeygen
ECIES_encyptkeygen
bitstr_parse_export
#fs
f_close
f_get_rc_string
f_lseek
f_open
f_read
f_write
# funk
_nrfresets
nrf_check_reset
nrf_config_set
nrf_rcv_pkt_end
nrf_rcv_pkt_poll_dec
nrf_rcv_pkt_start
nrf_rcv_pkt_time_encr
nrf_read_reg
nrf_snd_pkt_crc_encr
#queue
delayms
delayms_queue
delayms_queue_plus
push_queue
the_queue
work_queue
#config
readFile
selectFile
writeFile
saveConfig
the_config
#gpio
gpioGetValue
gpioSetDir
gpioSetValue
sspReceive
sspSend
sspSendReceive
#mesh
meshGetMessage
meshbuffer
meshgen
meshincctr
mygmtime
push_queue
the_config
the_queue
work_queue
selectFile
nrf_snd_pkt_crc_encr
nrf_rcv_pkt_time_encr
getInput
ECIES_encyptkeygen
f_open
f_read
strlen
meshnice
#external
strcpy
xxtea_encode_words
getRandom
crc16
f_write
f_close
ECIES_decryptkeygen
bitstr_parse_export
f_get_rc_string
xxtea_decode_words
systickGetTicks
lcdFill
strlen
memcpy
DoChar
font
Font_Invadersnouse
Font_7x8
lcdBuffer
meshGetMessage
memset
#stuff
GetLight
GetUUID32
GetVoltage
isNight
_timectr
crc16
getRandom
getSeconds
iapReadSerialNumber
input
handleMenu
menuflags
mygmtime
nickfont
nickname
systickGetTicks
uint32touint8p
uint8ptouint32
memset
nrf_config_set
nrf_read_reg
nrf_check_reset
sspSend
sspReceive
sspSendReceive
getInputWait
lcdGetPixel
nickfont
setExtFont
getFontHeight
menuflags
delayms_queue_plus
getInputWaitTimeout
readFile
writeFile
input
saveConfig
lcdShowAnim
lcdLoadImage
meshnice
_nrfresets
f_lseek
#Add stuff here

View File

@ -38,7 +38,6 @@ SECTIONS
KEEP(*(.irq_vectors))
KEEP(*(table))
*(.text.boot_entry)
*(.text.main)
. = 0x000002FC ; /* or 1FC for LPC2000 */
KEEP(*(crp))
*(.text*)