Below is a 16-bit Timer0 example for the PIC18F2550 using the XC8 1.38 compiler. I’ve included two examples: INITCONbits and straight up INTCON. Why? Well, In one project, the XC8 compiler bitched with: C:\Program Files (x86)\Microchip\xc8\v1.38\include\pic18f2550.h:8051: error: (1098) conflicting declarations …

Microchip MPLABX XC8 PIC18F2550 Timer0 example Read more »

Pchaos informed me that my original patch didn’t work.  From his original source, I created this patch: Switch to root and install the necessary packages which may be missing. su – yum install kernel-dev* gcc* patch Create these patch files …

PCHAOS’s VMWare 10.0.0.5 Compile/Install Errors in Fedora 21 Read more »

If you’re seeing the following VMWare 10.0.0.1 errors during compile, you need patches: vmnet-only/filter.c:206:1: error: conflicting types for ‘VNetFilterHookFn’ vmnet-only/netif.c:152:64: error: macro “alloc_netdev” requires 4 arguments, but only 3 given vmnet-only/netif.c:152:10: error: ‘alloc_netdev’ undeclared (first use in this function) vmci-only/linux/driver.c:740:12: …

VMWare 10.0.0.1 Compile/Install Errors in Fedora 21 Read more »