hernani | 20 May 11:20 2015
Picon

error: 25: Structure/Union expected left of '.->'

hello,

i have this code and give me this errors--->
i put line numbers and bold where give me errors


5.c:53: warning: warning 112: function 'Delay_ms' implicit declaration

p, li { white-space: pre-wrap; }

5.c:53: error: 101: too many parameters 

5.c:91: warning: warning 112: function 'Delay_ms' implicit declaration 

5.c:88: error: 25: Structure/Union expected left of '.->' 

5.c:89: error: 25: Structure/Union expected left of '.->' 

5.c:90: error: 25: Structure/Union expected left of '.->' 

5.c:91: error: 101: too many parameters 

5.c:92: error: 25: Structure/Union expected left of '.->' 

5.c:101: warning: warning 112: function 'Delay_ms' implicit declaration 

5.c:98: error: 25: Structure/Union expected left of '.->' 

5.c:99: error: 25: Structure/Union expected left of '.->' 

5.c:100: error: 25: Structure/Union expected left of '.->' 

5.c:101: error: 101: too many parameters 

5.c:102: error: 25: Structure/Union expected left of '.->'



--------------------------------------------------------------------- */
/* Template source file generated by piklab */
#include <pic18f4550.h>

/* ----------------------------------------------------------------------- */
/* Configuration bits: adapt to your setup and needs */


// Program to interface 16x2 LCD with PIC18F4550 Microcontroller using 4-bit mode

// Configuration bits
/* _CPUDIV_OSC1_PLL2_1L, // Divide clock by 2
_FOSC_HS_1H, // Select High Speed (HS) oscillator
_WDT_OFF_2H, // Watchdog Timer off
MCLRE_ON_3H // Master Clear on
*/

//LCD Control pins
#define rs LATA.F0
#define rw LATA.F1
#define en LATA.F2

//LCD Data pins
#define lcdport LATB

void lcd_ini();
void dis_cmd(unsigned char);
void dis_data(unsigned char);
void lcdcmd(unsigned char);
void lcddata(unsigned char);

void main(void)
{
unsigned char data0[]="EngineersGarage";
unsigned int i=0;
TRISB=0; // Configure Port B as output port
LATB=0;
lcd_ini(); // LCD initialization
while(data0[i]!='\0')
{
dis_data(data0[i]);
53-> Delay_ms(200);
i++;
}
}
void lcd_ini()
{
dis_cmd(0x02); // To initialize LCD in 4-bit mode.
dis_cmd(0x28); // To initialize LCD in 2 lines, 5x7 dots and 4bit mode.
dis_cmd(0x0C);
dis_cmd(0x06);
dis_cmd(0x80);
}

void dis_cmd(unsigned char cmd_value)
{
unsigned char cmd_value1;
cmd_value1 = (cmd_value & 0xF0); // Mask lower nibble because RB4-RB7 pins are being used
lcdcmd(cmd_value1); // Send to LCD
cmd_value1 = ((cmd_value<<4) & 0xF0); // Shift 4-bit and mask
lcdcmd(cmd_value1); // Send to LCD
}


void dis_data(unsigned char data_value)
{
unsigned char data_value1;
data_value1=(data_value&0xF0);
lcddata(data_value1);
data_value1=((data_value<<4)&0xF0);
lcddata(data_value1);
}

void lcdcmd(unsigned char cmdout)
{
lcdport=cmdout; //Send command to lcdport=PORTB
88-> rs=0;
89-> rw=0;
90-> en=1;
91-> Delay_ms(10);
92-> en=0;
}

void lcddata(unsigned char dataout)
{
lcdport=dataout; //Send data to lcdport=PORTB
98-> rs=1;
99-> rw=0;
100-> en=1;
101-> Delay_ms(10);
102-> en=0;
}

p, li { white-space: pre-wrap; }
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Sdcc-user mailing list
Sdcc-user@...
https://lists.sourceforge.net/lists/listinfo/sdcc-user
hernani | 19 May 18:31 2015
Picon

help with code in c

hello,

i use piklab and sdcc in linux.

i have this code over internet and give me this error -->

4.c:11: error: token -> '0x3F3A' ; column 15 line 11 is bold


can someone help me??

sorry my english i'm portuguese.


thank you

p, li { white-space: pre-wrap; }

#include <pic16f877a.h>

/* ----------------------------------------------------------------------- */
/* Configuration bits: adapt to your setup and needs */
typedef unsigned int word;
word __at 0x2007 CONFIG = _RC_OSC & _WDT_ON & _PWRTE_OFF & _BODEN_ON & _LVP_ON & _CPD_OFF & _WRT_OFF & _DEBUG_OFF & _CP_OFF;

#define _XTAL_FREQ 20e6
11 -> __CONFIG(0x3F3A);
#define RS RB2
#define EN RB1
#define databits PORTD
/*----------------PIC INITIALIZATION------------*/
void pic_init()
{
    TRISB2 = 0;
    TRISB1 = 0;
    TRISD = 0;
}
 
/*-------------LCD FUNCTIONS BEGIN--------------*/
void LCD_STROBE(void)
{
    EN = 1;
    __delay_us(1);
    EN = 0;
}
 
void data(unsigned char c)
{
    RS = 1;
    __delay_us(50);
    databits = (c >> 4);
    LCD_STROBE();
    databits = (c);
    LCD_STROBE();
}
 
void cmd(unsigned char c)
{
    RS = 0;
    __delay_us(50);
    databits = (c >> 4);
    LCD_STROBE();
    databits = (c);
    LCD_STROBE();
}
 
void clear(void)
{
    cmd(0x01);
    __delay_ms(2);
}
 
void lcd_init()
{
    __delay_ms(15);
    cmd(0x38);
    __delay_ms(1);
    cmd(0x38);
    __delay_us(100);
    cmd(0x38);
    cmd(0x28);            // Function set (4-bit interface, 2 lines, 5*7Pixels)
    cmd(0x28);            // Function set (4-bit interface, 2 lines, 5*7Pixels)
    cmd(0x0c);            // Make cursorinvisible
    clear();            // Clear screen
    cmd(0x6);            // Set entry Mode(auto increment of cursor)
}
 
void string(const char *q)
{
    while (*q) {
        data(*q++);
    }
}
 
/*-------------LCD END--------------------*/
 
main()
{
    __delay_ms(50);
    pic_init();
    lcd_init();
    TRISC = 0;
    while (1) {
        cmd(0x80);
        string("HELLO WORLD");
        cmd(0xc0);
        string("IT IS WORKING:-)");
         
    }
}

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Sdcc-user mailing list
Sdcc-user@...
https://lists.sourceforge.net/lists/listinfo/sdcc-user
Kustaa Nyholm | 13 May 19:32 2015

Issue with 32 bit assignment in interrupt?

Hi,

I've been tracking a wierd problem, 100% repeatable although the
failures vary.

I'm using:

/Users/nyholku/sdcc-3.4.0/bin/sdcc -v
SDCC :
mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/pic16/pic14/TININative/ds400/hc0
8/s08/stm8 3.4.0 #8981 (Apr  5 2014) (Mac OS X i386)
published under GNU General Public License (GPL)

with PIC18F4550

I've tracked the problem down to these four innocent looking statements
in my interrupt routine:

   steppers[0].probePosition = steppers[0].position;
   steppers[1].probePosition = steppers[1].position;
   steppers[2].probePosition = steppers[2].position;
   steppers[3].probePosition = steppers[3].position;

If I comment these out, then all the weird symptoms I've been having
disappear.

The '.probePosition' and '.position' are both 32 bit ints.

Looking at the generated code I see that the compiler generates code:

                     00438 ;       .line   86; stepperirq.c
steppers[0].probePosition = steppers[0].position;
000086 C??? F???      00439         MOVFF   (_steppers + 7), r0x00
00008A C??? F???      00440         MOVFF   (_steppers + 8), r0x01
00008E C??? F???      00441         MOVFF   (_steppers + 9), r0x02
000092 C??? F???      00442         MOVFF   (_steppers + 10), r0x03
000096 50??           00443         MOVF    r0x00, W
000098 ????           00444         BANKSEL (_steppers + 24)
00009A 6F??           00445         MOVWF   (_steppers + 24), B
00009C 50??           00446         MOVF    r0x01, W
                      00447 ; removed redundant BANKSEL
00009E 6F??           00448         MOVWF   (_steppers + 25), B
0000A0 50??           00449         MOVF    r0x02, W
                      00450 ; removed redundant BANKSEL
0000A2 6F??           00451         MOVWF   (_steppers + 26), B
0000A4 50??           00452         MOVF    r0x03, W
                      00453 ; removed redundant BANKSEL
0000A6 6F??           00454         MOVWF   (_steppers + 27), B

which uses the r0x00 etc variables which the compiler defines like:

                      00320 .registers      udata_ovr       0x0000
000000                00321 r0x00   res     1
000001                00322 r0x01   res     1
000002                00323 r0x02   res     1
000003                00324 r0x03   res     1

Somewhere in the back of my mind I seem to recall that 'udata_ovr'
may cause problems if used both in main program and interrupt code.

My interrupt is defined as:

#pragma save
#pragma nojtbound
#pragma nooverlay
void stepperirq() __interrupt(1) {

in order to avoid overlaying.

So could this (use of overlaid compiler generated temp variables in
interrupt
and main program be a problem)???

br Kusti

This e-mail may contain confidential or privileged information. If you are not the intended recipient (or
have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
We will not be liable for direct, indirect, special or consequential damages arising from alteration of
the contents of this message by a third party or as a result of any virus being passed on or as of transmission
of this e-mail in general.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Kustaa Nyholm | 8 May 06:38 2015

CONFIG in PIC18F4550

Hi,

I've got a weird problem.

I have written a firmware:

https://github.com/nyholku/TOAD4

I have two versions 1.5.3 and 1.5.5 which both work fine for me.

For one user the version 1.5.5 shows very strange symptoms.

This is 100% repeatable, he program 1.5.3 and everything works,
he programs 1.5.5 and strange things start to happen.

We have identical setups starting from OS and the actual application.

He is using binary (.hex) compiled by me with SDCC 3.4.0 so even
the compiler version is out of the equation.

What is different is that he is using PICKit 3 with mplab_ide and
I'm using PICKIt 2 with pk2cmd.

Now, I'm wondering if the CONFIG bits could be different, if
I do not set them all, are the other left in the state they are?

In SDCC?

In the programming stage (PICKit 2/3 mplab_ide/pk2cmc)?

I know, I know, clutching at straws but hey, I'm desperately out
of ideas and things to try...

Some more possibly related info.

1.5.3 was the first version (according to my version control notes)
that used SDCC 3.4.0 before that I was stuck with 2.8.9.

Moving from the old SDCC to the new necessitated the change of the
CONFIG words syntax. Previously I set them all, now I'm don't
set every bit in the source code, only those that I think are
necessary.

But this does not explain why 1.5.3 and 1.5.5 work for me
abd not for him because they both are compiled with the same
SDCC version by me. Unless the after the compiler version change
some CONFIG bits are left 'undefined' and are not programmed in
which case his PIC18F4550 chip could have some CONFIG bits
differently than mine.

To complicate matters I tried to compile 1.5.3 again (after
7 months) and the resulting .hex is not identical to what
archived back then. So maybe, just maybe, the 1.5.3 was originally
compiled with SDCC 2.8.9 and my version control is screwed.

So any thoughts and ideas are welcome at this point!

br Kusti

This e-mail may contain confidential or privileged information. If you are not the intended recipient (or
have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
We will not be liable for direct, indirect, special or consequential damages arising from alteration of
the contents of this message by a third party or as a result of any virus being passed on or as of transmission
of this e-mail in general.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Ashok Das | 28 Apr 16:57 2015
Picon

How to tell SDCC the location of code memory



<!-- .ExternalClass .ecxhmmessage P { padding:0px; } .ExternalClass body.ecxhmmessage { font-size:12pt; font-family:Calibri; } --
Hi all,

This problem may be very simple for c programmers but for a assembly guy like me its very critical. I have a 89S51 trainer board, which have a external static RAM located at 0x2000. I use this as code memory. I download the code onto RAM and order the Bootloader (the monitor program PAULMON2) (which is residing in internal flash of MCU) to jump to the location 0x2000, where my application program resides. While assembling any program, I use ORG directive to tell assembler to start the code from 0x2000. This works fine. Now I moved to SDCC but could not figure out how to tell SDCC to link  the code from address 0x2000 ? I could not find any straight answer. I searched in some online forum and posted questions also in SDCC source forge forum. I cannot use the code location from 0x0000 as this is used by Bootloader.

This is the thread I started: http://sourceforge.net/p/sdcc/discussion/1865/thread/82568b4d/


I used following command



sdcc --code-loc 0x2000 serial_101.c


The program serial_101.c compiles successfully, but starting location is 0x0000 as i observed in generated ASM file. I am using Windows7 64 and WindowsXP 32. I am completely new to C programming for Microcontroller. I request you to kindly help me on this.

Thanks & Regards


Ashok Das
Sr. Engineer Radio Access Network

Ericsson India Pvt. Ltd
Monal Tower - 2nd Floor
Guwahati. 781006, Assam, India
Mobile +91 9954161226
ashok.das-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org
ashok.ericsson-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org

   
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Sdcc-user mailing list
Sdcc-user@...
https://lists.sourceforge.net/lists/listinfo/sdcc-user
Georg Icking-Konert | 21 Apr 21:29 2015
Picon

Re: stm8flash compile fails under MacOS X

Hi Philipp,

first of thanks a lot for the patch! However, I am new to paths and seem to be unable to apply it :-(   Specifically:

  • I copied the patch from your mail and saved it as Unix textfile to root of folder stm8flash
  • command "patch -p1 < stm8flash.patch“ —> patch: **** malformed patch at line 6: .PHONY: all clean
  • command "git apply --stat stm8flash.patch“ —> fatal: corrupt patch at line 6

—> 
  • where do I need to copy the patch to? I suppose it’s the root of folder stm8flash…?
  • what command do I need to call with what parameters?
  • anything else I have to consider?
  • maybe this is a stupid question, but is there a reason why this patch isn’t simply applied to Valentin’s repository?

For your help thanks a lot in advance!


From: Philipp Klaus Krause <pkk-dH2bkuHepfc@public.gmane.org>
Subject: Re: [Sdcc-user] stm8flash compile fails under MacOS X


Does the attached patch help?

Philipp

-------------- next part --------------
diff --git a/Makefile b/Makefile
index bac211b..c1951e2 100644


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Sdcc-user mailing list
Sdcc-user@...
https://lists.sourceforge.net/lists/listinfo/sdcc-user
Philipp Klaus Krause | 20 Apr 17:35 2015
Picon

Passing function arguments in registers on z80 and related, etc

More efficient calling conventions have been a frequently requested
improvement for the z80 port. However, changing the calling convention
breaks compability with exisiting asm libraries, so it should not be
done often. And finding the best calling convention will take a bit of
work. However, for now, I implemented support for the calling
conventions that are already in use by z88dk for the z80, z180, r2k,
r3ka and tlcs90 ports:

__z88dk_fastcall and __z88dk_callee

The first one can be used on functions that have exactly one argument of
at most 32 bits. This argument will be passed in the lower bytes of
dehl. It is now fully supported in sdcc.

The second one omits the stack cleanup for stack parameters in the
caller. It is currently only supported on the caller side (and thus only
useful for calling hand-written asm functions).

Please use sdcc 3.4.3 #9218 or later if you want to try these calling
conventions.

Philipp

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Sdcc-user mailing list
Sdcc-user@...
https://lists.sourceforge.net/lists/listinfo/sdcc-user
Georg Icking-Konert | 19 Apr 04:15 2015
Picon

stm8flash compile fails under MacOS X

hi all,

for the STM8 Discovery board I want to use Valentin's stm8flash tool (https://github.com/vdudouyt/stm8flash) for flashing via SWIM / ST-Link. This board has no UART<->USB connection and therefore cannot be programmed via UART boot loader —> need a SWIM tool

Unfortunately I wasn’t able to compile the tool on my Mac. Here's my steps with observations:

  • installed pkg-config and libusb via Homebrew --> worked
  • compile of stlink.c gave 

    • many warning messages like (ignored):
      stlink.c:37:71: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      --> suppose this is not critical...? Disabled all warnings by CFLAGS += -w in Makefile

    • many error messages like (fixed):
      /usr/local/Cellar/libusb/1.0.19/include/libusb-1.0/libusb.h:1696:10: error: use of undeclared identifier ‚NULL'
      --> fixed by #include <stddef.h> in stlink.c before #include <libusb.h>

    • many error message like (open):
      stlink.c:340:12: error: use of undeclared identifier ‚stderr'
      fprintf(stderr, "Unknown status: %x\n", status);
      In addition it warns that 
      declaration of built-in function 'fprintf' requires inclusion of the header <stdio.h>
      --> it seems like the inclusion of <stdio.h> in line 4 of stlink.c has no effect...  :-(

  • to make sure my toolchain is ok, I compiled a dummy program with fprintf(stderr,"test"); and it was ok
—> I played around a lot but can't get that stdio.h error fixed. Apparently the compiler "forgets“ the stdio.h declarations completely and I have no clue, why…  :-( 


Hardware Setup:
  • iMac running MacOS X 10.10.3
  • "gcc -v“ yields:
    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
    Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
    Target: x86_64-apple-darwin14.3.0
    Thread model: posix
  • HW works under Windows on a VirtualPC, i.e. STVD could flash & debug the board on the same Mac and USB port
Anybody has idea what's going wrong, or maybe even succeeded in compiling the tool for MacOS X? For your help thanks a lot in advance!

Regards, 
Georg Icking

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Sdcc-user mailing list
Sdcc-user@...
https://lists.sourceforge.net/lists/listinfo/sdcc-user
Heejeong Ryu | 25 Mar 20:22 2015

How to separate code

Hello.

 

How to separate program area to two; one in external RAM, the other in ROM.

 

We are using total 48Kbyte XRAM for program size. But we want to reduce XRAM size to 32KByte and move some function block of code to hard code area for cost.

 

In this case, how can make makefile? Does SDCC support this?

 

Do you have any similar case?

 

Thanks,

 

Heejeong Ryu

 

Marvell Semiconductor | 5488 Marvell Lane, Santa Clara, CA 95054
M A R V E L L | www.marvell.com | hryu-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@...
https://lists.sourceforge.net/lists/listinfo/sdcc-user
Kustaa Nyholm | 20 Mar 18:57 2015

(0x300000) is absolute but occurs in more than one file

I was trying to compile a project that compiled cleanly last time I tried
(with SDCC 3.2.0),
meanwhile I've upgraded to 3.4.0:

~/sdcc-3.4.0/bin/sdcc -v
SDCC :
mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/pic16/pic14/TININative/ds400/hc0
8/s08/stm8 3.4.0 #8981 (Apr  5 2014) (Mac OS X i386)
published under GNU General Public License (GPL)

my code contains:

__code char __at 0x300000 CONFIG1L = 0x20; // USBDIV=1, CPUDIV=00, PLLDIV
= 000
__code char __at 0x300001 CONFIG1H = 0x0E; // IESO=0, FCMEN=0, FOSC = 1110
__code char __at 0x300002 CONFIG2L = 0x20; // Brown out off, PWRT On
__code char __at 0x300003 CONFIG2H = 0x00; // WDT off
__code char __at 0x300004 CONFIG3L = 0xff; // Unused configuration bits
__code char __at 0x300005 CONFIG3H = 0x80; // MCLR enabled , PORTB
digital, CCP2 - RB2
__code char __at 0x300006 CONFIG4L = 0x80; // ICD off, ext off, LVP off,
stk ovr off
__code char __at 0x300007 CONFIG4H = 0xff; // Unused configuration bits

and the linking fails with:

"(0x300000) is absolute but occurs in more than one file"

now, if comment out all but one of these the compile succeeds, so my
conclusion is that I don't have these defined in multiple files or
above file included multiple times.

A single:

__code char __at 0x300000 CONFIG1L = 0x20; // USBDIV=1, CPUDIV=00, PLLDIV
= 000

in any file in the project seems to be fine but two lines:

__code char __at 0x300000 CONFIG1L = 0x20; // USBDIV=1, CPUDIV=00, PLLDIV
= 000
__code char __at 0x300001 CONFIG1H = 0x0E; // IESO=0, FCMEN=0, FOSC = 1110

anywhere will fail.

I know, I should upgrade myc code to use the CONFIG as I get the warning:
"Warning[212] __CONFIG has been deprecated for PIC18 devices. Use
directive CONFIG."
but right now I would not like to go through the datasheet and figure out
names
for all those bits, especially as not all of them are what I consider
logical,
that is error prone, time consuming and tedious. So is there any way
I can use what I have without Doing The Right Thing(tm) ??

Also, isn't the warning and apparent backwards compatibility a bit futile
if
it does not work, eh?

cheers Kusti

This e-mail may contain confidential or privileged information. If you are not the intended recipient (or
have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
We will not be liable for direct, indirect, special or consequential damages arising from alteration of
the contents of this message by a third party or as a result of any virus being passed on or as of transmission
of this e-mail in general.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Georg Icking-Konert | 26 Feb 19:02 2015
Picon

Re: SDCC port of STM8 Standard Peripheral Library

hello Frieder,

thanks a lot for pointing this project out, I was not aware of it  :-)  However, are you sure this tool also works
for STM8? Because I can compile it without issue (OS X 10.10.2), but when I e.g. try to read the device ID I get
the following output:

————
iMac:stm32flash georg$ stm32flash /dev/tty.usbserial-A4009I0O

stm32flash 0.4

http://stm32flash.googlecode.com/

Interface serial_posix: 57600 8E1
Got NACK from device on command 0x01
————

Does it work with STM8 for you? For a brief feedback thanks a lot in advance!

Regards,
Georg

> Hi Georg,
> 
> Am 17.02.2015 um 21:05 schrieb Georg Icking-Konert:
>>  - created Win, Linux, and MacOSX batch scripts to compile and upload via https://github.com/gicking/STM8_serial_flasher
> 
> thanks! Just want to note, that there is another project with overlapping/similar functionality over here:
> https://code.google.com/p/stm32flash/
> Maybe there are synergies.
> 
> Greetings,
> Frieder
> 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Sdcc-user mailing list
Sdcc-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Gmane