Pumpkin, Inc.

Pumpkin User Forums

Reminder -- PICC vs PICC-18 Salvo Message Pointers

For issues specific to Microchip's PICmicro® MCUs, including compilers (e.g. HI-TECH PICC & PICC-18, Microchip MPLAB®-C18) and IDEs (e.g. Microchip MPLAB®).

Reminder -- PICC vs PICC-18 Salvo Message Pointers

Postby aek » Fri Sep 27, 2002 8:45 am

Just a quick reminder --

Salvo libraries for PICC have 8-bit message pointer types. This means that Salvo messages cannot point to ROM, e.g. to a const char.

Salvo libraries for PICC-18 have 16-bit message pointer types. This means that Salvo messages can point to anywhere in ROM or RAM.

This is all because the default void * in PICC is 8 bits, whereas in PICC-18 it's 16 bits.

If you want Salvo message pointers to point to RAM and RAM with PICC, set OSBIG_MESSAGE_POINTERS to TRUE and do a source-code build (or regenerate the libraries).

------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Return to PICmicro MCUs

Who is online

Users browsing this forum: No registered users and 1 guest

cron