![]() |
![]() ![]() ![]() ![]() ![]()
|
![]() |
next newest topic | next oldest topic |
Author | Topic: Problems with AN-25 Building a Salvo App with MPLab C18 |
aek Moderator |
![]() ![]() ![]() ![]() Just remove those two sections from the save directive in the ISR -- the latest versions of the compiler no longer need them. ------------------ IP: |
nealfoster Junior Member |
![]() ![]() ![]() ![]() i had the same problem as you, and the updated libraries fixed the compile errors, but I am still getting warnings when compiling isr.c do you still get the warnings? C:\salvo\demo\d4\isr.c:70:Warning [2074] location PROD specified in the interrupt save list is redundant IP: |
mwirth Junior Member |
![]() ![]() ![]() ![]() Bingo! Thanks. The operative paragraph in the versions.txt file that you referenced is: As usual, RTFM (but also all release notes :-) Mike IP: |
aek Moderator |
![]() ![]() ![]() ![]() You need to download and install the new libraries: http://www.pumpkininc.com/salvo/lite/pic/3.2/versions.txt -d.zip. ------------------ IP: |
mwirth Junior Member |
![]() ![]() ![]() ![]() OK, I got further, by: 1. Changing PORT in main.c to PORTB (a defined port for this PIC chip). Now I only get a couple warning messages during the compile. But I get a loading error because of incompatible COFF format from the prebuilt libraries, exactly like the one in an earlier message, http://www.pumpkininc.com/ubb/Forum17/HTML/000126.html I'm, using the Salvo Lite 3.2.3 download for PIC. Did the COFF format change again with the new C18 compiler release? Do you need to recompile the Salvo Lite libraries? TIA, Mike IP: |
mwirth Junior Member |
![]() ![]() ![]() ![]() I'm new to Salvo, and trying to get the demo app, ex1, in AN-25 to build (with the newly released C18 v3.10 -- but I don't think that's the problem). I've done a search of these forums and fixed a couple issues, but the last one below remains. Help? 1. Please add a note to AN-25 for neophytes that \salvo\ex\ex1\main.c is read-only, as will be the copy that they add to their new project. They'll have to permit writes to add the "#include <p18c452.h>" to their main.c 2. Add a note to AN-25 that they'll have to add two symbol definitions in the Project > Build Options...>Project dialog, MPLAB C18 tab, Macro Definitions pane, specifically: 3. Doing both of these gets me closer, but now I get compile errors: Any hints? TIA, Mike IP: |
All times are ET | next newest topic | next oldest topic |
![]() ![]() |
©2000-2008 Pumpkin, Inc. All Rights Reserved. Pumpkin and the Pumpkin logo, Salvo and the Salvo logo, The RTOS that runs in tiny places, CubeSat Kit and the CubeSat Kit logo are all trademarks of Pumpkin, Inc. All other trademarks are the properties of their respective owners.