![]() ![]() Nbproject/Makefile-impl.mk:39: recipe for target '. MPLAB XC8 supports all 8-bit PIC ® and AVR ® microcontrollers (MCUs) MPLAB XC16 supports all 16-bit PIC MCUs and dsPIC ® Digital Signal Controllers (DSCs) MPLAB XC32/32 supports all 32-bit PIC and SAM MCUs and MPUs The first versions of the MPLAB XC compilers that supported Catalina were: MPLAB XC8 - v2.20 MPLAB XC16 - v1.50 MPLAB XC32 - v2. Nbproject/Makefile-default.mk:84: recipe for target '.build-conf' failed Make: Leaving directory 'C:/Users/Delfin/Pictures/PIC18F4550 Basics/PWM_code.X' Nbproject/Makefile-default.mk:125: recipe for target 'dist/default/production/PWM_code.X.production.hex' failed #pragma config STVREN = ON, LVP = OFF, ICPRT = OFF, XINST = OFFīut I get an error message when trying to compile: C:\Program Files (x86)\Microchip\xc8\v1.40\include\pic18f4550.h:4426: error: (1098) conflicting declarations for variable "_TRISCbits" (C:\Program Files (x86)\Microchip\xc8\v1.40\include\pic18f4550.h:3829) #pragma config MCLRE = ON, LPT1OSC = OFF, PBADEN = OFF ![]() ![]() #pragma config PWRT = OFF, BOR = OFF, VREGEN = OFF #pragma config FOSC = HSPLL_HS, FCMEN = OFF, IESO = OFF #pragma config PLLDIV = 5, CPUDIV = OSC1_PLL2, USBDIV = 2 I am trying to run the most simple example of PWM using a PIC18F4550, XC8 compiler and the libraries plib/timers.h and plib/pwm.h ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |