CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 10 matches
CCS Forum Index
Author Message
  Topic: max size of an array in rom ?
JM35

Replies: 6
Views: 9784

PostForum: General CCS C Discussion   Posted: Wed Mar 04, 2009 12:37 pm   Subject: max size of an array in rom ?
I spent hours with this problem, because compiler do not signal error or warning about this ! So I suggest a improvment for next version ...
Thank's for your help.
  Topic: max size of an array in rom ?
JM35

Replies: 6
Views: 9784

PostForum: General CCS C Discussion   Posted: Wed Mar 04, 2009 12:34 pm   Subject: max size of an array in rom ?
Ok thanks ... crappy limitation of this compiler.

So i have to upgrade to 18F.
  Topic: max size of an array in rom ?
JM35

Replies: 6
Views: 9784

PostForum: General CCS C Discussion   Posted: Wed Mar 04, 2009 12:22 pm   Subject: max size of an array in rom ?
I use a 16f877 for driving a 128*64 LCD.
I need a table of 475 bytes i wish, of course, to place in rom for saving ram


const int8 ascii[] = {
0x0,0x0,0x0,0x0,0x0, ...
  Topic: multiple source files
JM35

Replies: 12
Views: 19412

PostForum: General CCS C Discussion   Posted: Tue Feb 10, 2009 4:32 pm   Subject: multiple source files
OK thank's a lot it's working fine now !

I suppose it's the same way if I need more header files ...
Not a very standard C !

Bye and thank you !
  Topic: multiple source files
JM35

Replies: 12
Views: 19412

PostForum: General CCS C Discussion   Posted: Tue Feb 10, 2009 4:18 pm   Subject: multiple source files
Created by wizard !


#include <18F452.h>
#device ICD=TRUE
#device adc=8

#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 //Watch Dog Timer uses 1:128 Po ...
  Topic: multiple source files
JM35

Replies: 12
Views: 19412

PostForum: General CCS C Discussion   Posted: Tue Feb 10, 2009 3:52 pm   Subject: multiple source files
my project's name is test_lcd

the main file is test_lcd.c :


#include "C:\Temp2\Stage PIC\TP\TP2_LCD\Corrige\test_lcd.h"
#include "C:\Temp2\Stage PIC\TP\TP2_LCD\Corrige\ ...
  Topic: multiple source files
JM35

Replies: 12
Views: 19412

PostForum: General CCS C Discussion   Posted: Tue Feb 10, 2009 3:35 pm   Subject: multiple source files
Thank you for your response !

So I try :

in main :
#include "C:\Temp2\Stage PIC\TP\TP2_LCD\Corrige\test_lcd.h"
#include "C:\Temp2\Stage PIC\TP\TP2_LCD\Corrige\LCD.h"

in ...
  Topic: multiple source files
JM35

Replies: 12
Views: 19412

PostForum: General CCS C Discussion   Posted: Tue Feb 10, 2009 3:17 pm   Subject: multiple source files
oops sorry, copy/paste error :

in main :
#include "C:\Temp2\Stage PIC\TP\TP2_LCD\Corrige\test_lcd.h"
#include "C:\Temp2\Stage PIC\TP\TP2_LCD\Corrige\LCD.h"
in LCD.h : ...
  Topic: multiple source files
JM35

Replies: 12
Views: 19412

PostForum: General CCS C Discussion   Posted: Tue Feb 10, 2009 3:11 pm   Subject: multiple source files
Thank's !
That's exactly what I'm doing ...


#include "C:\Temp2\Stage PIC\TP\TP2_LCD\Corrige\test_lcd.h"
#include "C:\Temp2\Stage PIC\TP\TP2_LCD\Corrige\LCD.c"

voi ...
  Topic: multiple source files
JM35

Replies: 12
Views: 19412

PostForum: General CCS C Discussion   Posted: Tue Feb 10, 2009 12:12 pm   Subject: multiple source files
Hello !

How to compile with PCWHD (Version 4.073, 44201 ) multiple source files ???

Do I have a multiple compilation unit ? I can't use headers, PCWHD tell me blabla "Function used but not ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group