Congratulations on getting your environment up and running.
First, some observations:
1) It's helpful if you include the PICC linker line (not just the memory usage map) with a problem like this. This lists the files that were used to create the executable.
2) All of the demo, tutorial, example, etc. programs should compile without any warnings (or errors). So the "function _OSIdleTaskHook is never called (warning)" should be a tip-off that something is not quite right ...
Building salvo utorial u6sya u6.pjt in MPLAB (this project is a full source code build), I get:
code:
Linking:
Command line: "C:HT-PICBINPICC.EXE -G -INTEL -MTU6.map -16C77 -oTU6.HEX -fakelocal
-Isalvoinclude -Isalvosource
salvosourceDELAY.OBJ
salvosourceEVENT.OBJ
salvosourceINIT.OBJ
salvosourceINITECB.OBJ
salvosourceINITTASK.OBJ
salvosourceINITTCB.OBJ
salvosourceMEM.OBJ
salvosourceMSG.OBJ
salvosourceQINS.OBJ
salvosourceSCHED.OBJ
salvosourceTIMER.OBJ
salvosourceUTIL.OBJ
salvo utorial u6MAIN.OBJ "
Enter PICC -HELP for helpMemory Usage Map:
Program ROM $0000 - $0081 $0082 ( 130) words
Program ROM $04CE - $07FF $0332 ( 818) words
$03B4 ( 948) words total Program ROM
Bank 0 RAM $0020 - $0037 $0018 ( 24) bytes
Bank 0 RAM $0070 - $0072 $0003 ( 3) bytes
$001B ( 27) bytes total Bank 0 RAM
Bank 1 RAM $00A0 - $00B7 $0018 ( 24) bytes total Bank 1 RAM
Build completed successfully.
If I build salvo utorial u6sysa u6lib.pjt (this is a project that links to a standard library), I get:
code:
Linking:
Command line: "C:HT-PICBINPICC.EXE -G
-INTEL -MTU6LIB.map -16C77 -oTU6LIB.HEX
-fakelocal -Isalvoinclude -Isalvosource
salvo utorial u6MAIN.OBJ
salvolibrarySLP42CAB.LIB "
Enter PICC -HELP for helpMemory Usage Map:
Program ROM $0000 - $0083 $0084 ( 132) words
Program ROM $046B - $07FF $0395 ( 917) words
$0419 ( 1049) words total Program ROM
Bank 0 RAM $0020 - $0038 $0019 ( 25) bytes
Bank 0 RAM $0070 - $0072 $0003 ( 3) bytes
$001C ( 28) bytes total Bank 0 RAM
Bank 1 RAM $00A0 - $00D2 $0033 ( 51) bytes total Bank 1 RAM
Build completed successfully.
So from your screen dump it looks like you're doing a full-source build in MPLAB. I really can't tell what you're building in CodeWright -- the 77 bytes of Bank 0 RAM, and nothing in other banks (libraries and this project all default to putting Salvo's variables in Bank 1) suggest that something isn't right with your Codewright build ...
What do you mean by "Codewright building same project"? The project is defined only in MPLAB. If you want to build it from a command-line, you'll have to snag the correct files, have the right salvocfg.h, etc.
In Appendix C of the User Manual, under "Project Nomenclature", you'll find the naming conventions for Salvo projects that are in the distribution. By opening a project in MPLAB you'll see which files are included. The salvocfg.h that's associated with each project often requires certain predefined symbols (e.g. MAKE_WITH_STD_LIBRARY) for a successful build.
------------------
[This message has been edited by aek (edited October 04, 2001).]