Author |
Message |
Topic: #org-ing an #inline function |
Bart Diricx
Replies: 5
Views: 5663
|
Forum: General CCS C Discussion Posted: Wed Sep 22, 2010 8:34 am Subject: #org-ing an #inline function |
Indeed, if I add the #inline option to writeEeprom and it's used on two places, I expect two instances in ROM as well. However if I look at the statistics in the generated .sta file, the writeEeprom i ... |
Topic: #org-ing an #inline function |
Bart Diricx
Replies: 5
Views: 5663
|
Forum: General CCS C Discussion Posted: Wed Sep 22, 2010 6:09 am Subject: #org-ing an #inline function |
I don't use any of the build-in CCS library functions. I wrote my own EEPROM write function and I'd like to use the same function both from within my bootloader as well as my normal application. |
Topic: #org-ing an #inline function |
Bart Diricx
Replies: 5
Views: 5663
|
Forum: General CCS C Discussion Posted: Wed Sep 22, 2010 2:21 am Subject: #org-ing an #inline function |
Hi,
When I call an #inline function from within another function which I placed in a defined memory segment (#org), the #inline function isn't placed in that memory segment.
I would think that t ... |
Topic: #org usage |
Bart Diricx
Replies: 3
Views: 5690
|
Forum: General CCS C Discussion Posted: Fri Sep 17, 2010 1:03 am Subject: #org usage |
Thanks, this works indeed ! |
Topic: #org usage |
Bart Diricx
Replies: 3
Views: 5690
|
Forum: General CCS C Discussion Posted: Thu Sep 16, 2010 8:49 am Subject: #org usage |
Hi,
I'm making firmware for a PIC16F88 µC which needs to have a I2C bootloader. I want all functions which might get executed prior to finishing the bootloader to be put in address range 0x0E40 - ... |
|