Bonsoir,
Je pratique la programmation des pics depuis des années ... sous MPLab. Depuis un moment je pense à passer à MPLabx. Je vous passe les détails... J'ai donc suivi plusieurs tutos et comparé, puis je me suis lancé, téléchargement, installation, mise en oeuvre du programme le plus simple : Flashing Led. Et impossible de le faire fonctionner, voici ce que j'obtiens ... et j'y perds mon latin.
Un peu d'aide serait bienvenue...
Merci d'avance.
Code:make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf make[1]: Entering directory 'L:/MPLABX_Tests/Flashing_Led_01.X' make -f nbproject/Makefile-default.mk dist/default/production/Flashing_Led_01.X.production.hex make[2]: Entering directory 'L:/MPLABX_Tests/Flashing_Led_01.X' "C:\Program Files (x86)\Microchip\xc8\v2.10\bin\xc8-cc.exe" -mcpu=16F688 -c -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=default -msummary=-psect,-class,+mem,-hex,-file -ginhx032 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -std=c99 -gdwarf-3 -mstack=compiled:auto:auto -o build/default/production/Flashing_Led.p1 Flashing_Led.c ::: advisory: (2049) C99 compliant libraries are currently not available for baseline or mid-range devices, or for enhanced mid-range devices using a reentrant stack; using C90 libraries Flashing_Led.c:20:5: error: use of undeclared identifier 'TRISbits' TRISbits.RB0=0; // Set PortB.0 as output ^ Flashing_Led.c:25:9: error: use of undeclared identifier 'LATBbits' LATBbits.LATB0= ~LATBbits.LATB0; ^ Flashing_Led.c:25:26: error: use of undeclared identifier 'LATBbits' LATBbits.LATB0= ~LATBbits.LATB0; ^ 3 errors generated. (908) exit status = 1 make[2]: Leaving directory 'L:/MPLABX_Tests/Flashing_Led_01.X' make[1]: Leaving directory 'L:/MPLABX_Tests/Flashing_Led_01.X' make[2]: *** [nbproject/Makefile-default.mk:110: build/default/production/Flashing_Led.p1] Error 1 make[1]: *** [nbproject/Makefile-default.mk:91: .build-conf] Error 2 make: *** [nbproject/Makefile-impl.mk:39: .build-impl] Error 2 BUILD FAILED (exit value 2, total time: 5s)
-----