I've pasted below my equivalent outputs, from MCC "Generate", and "Clean and Build":djrm wrote: Fri Apr 25, 2025 8:36 pm I think I've done everything I should to install the library but when I build the project I get errors.
The only significant differences I can see (we have the same versions), is you seem to be generating a tca0_deprecated.h file, whereas I get a timer_interface.h file instead?
I also noticed I don't seem to get your "In File included" messages on the Clean and Build?
Code: Select all
07:43:45.018 INFO: Fetching list of available libraries.
07:43:45.192 INFO: Download Complete: C:\Users\greg\.mcc\mcc_libraries.xml
07:43:47.029 INFO: Start MCC v5.5.2
07:43:47.034 INFO: Core v5.7.1 loaded.
07:44:14.481 INFO: Loaded configuration from file D:\_RevisionControlled\MPLABXProjects\CreatiVisionKeyboard_3.X\CreatiVisionKeyboard_3.mc3
08:51:27.423 INFO: *****************************************************
08:51:27.423 INFO: Generation Results
08:51:27.423 INFO: *****************************************************
08:51:27.425 INFO: main.c Success. MCC output unchanged. User edits maintained. [See 'Force Update']
08:51:27.426 INFO: mcc_generated_files\system\ccp.h Success.
08:51:27.426 INFO: mcc_generated_files\system\clock.h Success.
08:51:27.426 INFO: mcc_generated_files\system\config_bits.h Success.
08:51:27.426 INFO: mcc_generated_files\system\interrupt.h Success.
08:51:27.426 INFO: mcc_generated_files\system\pins.h Success.
08:51:27.426 INFO: mcc_generated_files\system\port.h Success.
08:51:27.426 INFO: mcc_generated_files\system\protected_io.h Success.
08:51:27.426 INFO: mcc_generated_files\system\src\clock.c Success.
08:51:27.426 INFO: mcc_generated_files\system\src\config_bits.c Success.
08:51:27.426 INFO: mcc_generated_files\system\src\interrupt.c Success.
08:51:27.426 INFO: mcc_generated_files\system\src\pins.c Success.
08:51:27.427 INFO: mcc_generated_files\system\src\protected_io.S Success.
08:51:27.427 INFO: mcc_generated_files\system\src\system.c Success.
08:51:27.427 INFO: mcc_generated_files\system\system.h Success.
08:51:27.427 INFO: mcc_generated_files\system\utils\assembler.h Success.
08:51:27.427 INFO: mcc_generated_files\system\utils\assembler\gas.h Success.
08:51:27.427 INFO: mcc_generated_files\system\utils\assembler\iar.h Success.
08:51:27.427 INFO: mcc_generated_files\system\utils\atomic.h Success.
08:51:27.427 INFO: mcc_generated_files\system\utils\compiler.h Success.
08:51:27.427 INFO: mcc_generated_files\system\utils\interrupt_avr8.h Success.
08:51:27.427 INFO: mcc_generated_files\system\utils\utils.h Success.
08:51:27.428 INFO: mcc_generated_files\system\utils\utils_assert.h Success.
08:51:27.428 INFO: mcc_generated_files\timer\src\tca0.c Success.
08:51:27.428 INFO: mcc_generated_files\timer\tca0.h Success.
08:51:27.428 INFO: mcc_generated_files\timer\timer_interface.h Success.
08:51:27.473 INFO: *****************************************************
08:51:27.473 INFO: Generation complete (total time: 585 milliseconds)
08:51:27.474 INFO: *****************************************************
08:51:27.474 INFO: Generation complete.
Code: Select all
CLEAN SUCCESSFUL (total time: 19ms)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make -f nbproject/Makefile-default.mk dist/default/production/CreatiVisionKeyboard_3.X.production.hex
make[2]: Entering directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
"C:\Program Files\Microchip\xc8\v3.00\bin\xc8-cc.exe" -c -mcpu=AVR32EA28 -x assembler-with-cpp -D__AVR32EA28__ -mdfp="C:/Program Files/Microchip/MPLABX/v6.25/packs/Microchip/AVR-Ex_DFP/2.11.221/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default -gdwarf-3 -mno-const-data-in-progmem -Wa,--defsym=__MPLAB_BUILD=1 -MD -MP -MF "build/default/production/mcc_generated_files/system/src/protected_io.o.d" -MT "build/default/production/mcc_generated_files/system/src/protected_io.o.d" -MT build/default/production/mcc_generated_files/system/src/protected_io.o -o build/default/production/mcc_generated_files/system/src/protected_io.o mcc_generated_files/system/src/protected_io.S
make[2]: Leaving directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
make[2]: Entering directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
"C:\Program Files\Microchip\xc8\v3.00\bin\xc8-cc.exe" -mcpu=AVR32EA28 -c -x c -D__AVR32EA28__ -mdfp="C:/Program Files/Microchip/MPLABX/v6.25/packs/Microchip/AVR-Ex_DFP/2.11.221/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "build/default/production/mcc_generated_files/system/src/system.o.d" -MT "build/default/production/mcc_generated_files/system/src/system.o.d" -MT build/default/production/mcc_generated_files/system/src/system.o -o build/default/production/mcc_generated_files/system/src/system.o mcc_generated_files/system/src/system.c
make[2]: Leaving directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
make[2]: Entering directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
"C:\Program Files\Microchip\xc8\v3.00\bin\xc8-cc.exe" -mcpu=AVR32EA28 -c -x c -D__AVR32EA28__ -mdfp="C:/Program Files/Microchip/MPLABX/v6.25/packs/Microchip/AVR-Ex_DFP/2.11.221/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "build/default/production/mcc_generated_files/system/src/interrupt.o.d" -MT "build/default/production/mcc_generated_files/system/src/interrupt.o.d" -MT build/default/production/mcc_generated_files/system/src/interrupt.o -o build/default/production/mcc_generated_files/system/src/interrupt.o mcc_generated_files/system/src/interrupt.c
make[2]: Leaving directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
make[2]: Entering directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
"C:\Program Files\Microchip\xc8\v3.00\bin\xc8-cc.exe" -mcpu=AVR32EA28 -c -x c -D__AVR32EA28__ -mdfp="C:/Program Files/Microchip/MPLABX/v6.25/packs/Microchip/AVR-Ex_DFP/2.11.221/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "build/default/production/main.o.d" -MT "build/default/production/main.o.d" -MT build/default/production/main.o -o build/default/production/main.o main.c
make[2]: Leaving directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
make[2]: Entering directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
"C:\Program Files\Microchip\xc8\v3.00\bin\xc8-cc.exe" -mcpu=AVR32EA28 -c -x c -D__AVR32EA28__ -mdfp="C:/Program Files/Microchip/MPLABX/v6.25/packs/Microchip/AVR-Ex_DFP/2.11.221/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "build/default/production/mcc_generated_files/system/src/config_bits.o.d" -MT "build/default/production/mcc_generated_files/system/src/config_bits.o.d" -MT build/default/production/mcc_generated_files/system/src/config_bits.o -o build/default/production/mcc_generated_files/system/src/config_bits.o mcc_generated_files/system/src/config_bits.c
make[2]: Leaving directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
make[2]: Entering directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
"C:\Program Files\Microchip\xc8\v3.00\bin\xc8-cc.exe" -mcpu=AVR32EA28 -c -x c -D__AVR32EA28__ -mdfp="C:/Program Files/Microchip/MPLABX/v6.25/packs/Microchip/AVR-Ex_DFP/2.11.221/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "build/default/production/mcc_generated_files/timer/src/tca0.o.d" -MT "build/default/production/mcc_generated_files/timer/src/tca0.o.d" -MT build/default/production/mcc_generated_files/timer/src/tca0.o -o build/default/production/mcc_generated_files/timer/src/tca0.o mcc_generated_files/timer/src/tca0.c
make[2]: Leaving directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
make[2]: Entering directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
"C:\Program Files\Microchip\xc8\v3.00\bin\xc8-cc.exe" -mcpu=AVR32EA28 -c -x c -D__AVR32EA28__ -mdfp="C:/Program Files/Microchip/MPLABX/v6.25/packs/Microchip/AVR-Ex_DFP/2.11.221/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "build/default/production/mcc_generated_files/system/src/clock.o.d" -MT "build/default/production/mcc_generated_files/system/src/clock.o.d" -MT build/default/production/mcc_generated_files/system/src/clock.o -o build/default/production/mcc_generated_files/system/src/clock.o mcc_generated_files/system/src/clock.c
make[2]: Leaving directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
make[2]: Entering directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
"C:\Program Files\Microchip\xc8\v3.00\bin\xc8-cc.exe" -mcpu=AVR32EA28 -c -x c -D__AVR32EA28__ -mdfp="C:/Program Files/Microchip/MPLABX/v6.25/packs/Microchip/AVR-Ex_DFP/2.11.221/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "build/default/production/mcc_generated_files/system/src/pins.o.d" -MT "build/default/production/mcc_generated_files/system/src/pins.o.d" -MT build/default/production/mcc_generated_files/system/src/pins.o -o build/default/production/mcc_generated_files/system/src/pins.o mcc_generated_files/system/src/pins.c
make[2]: Leaving directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
make[2]: Entering directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
"C:\Program Files\Microchip\xc8\v3.00\bin\xc8-cc.exe" -mcpu=AVR32EA28 -Wl,-Map=dist/default/production/CreatiVisionKeyboard_3.X.production.map -DXPRJ_default=default -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="C:/Program Files/Microchip/MPLABX/v6.25/packs/Microchip/AVR-Ex_DFP/2.11.221/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -gdwarf-3 -mno-const-data-in-progmem -Wl,--memorysummary,dist/default/production/memoryfile.xml -o dist/default/production/CreatiVisionKeyboard_3.X.production.elf -o dist/default/production/CreatiVisionKeyboard_3.X.production.elf build/default/production/mcc_generated_files/system/src/clock.o build/default/production/mcc_generated_files/system/src/system.o build/default/production/mcc_generated_files/system/src/interrupt.o build/default/production/mcc_generated_files/system/src/protected_io.o build/default/production/mcc_generated_files/system/src/config_bits.o build/default/production/mcc_generated_files/system/src/pins.o build/default/production/mcc_generated_files/timer/src/tca0.o build/default/production/main.o -Wl,--start-group -Wl,-lm -Wl,--end-group
Info: Loading file: c:\program files\microchip\xc8\v3.00\avr\avr\bin\../lib\ldscripts/avrxmega3.xn
"C:\Program Files\Microchip\xc8\v3.00\bin"\\avr-objcopy -O ihex "dist/default/production/CreatiVisionKeyboard_3.X.production.elf" "dist/default/production/CreatiVisionKeyboard_3.X.production.hex"
make[2]: Leaving directory 'D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X'
BUILD SUCCESSFUL (total time: 2s)
Loading code from D:/_RevisionControlled/MPLABXProjects/CreatiVisionKeyboard_3.X/dist/default/production/CreatiVisionKeyboard_3.X.production.hex...
Reserved Bytes exist in Fuse memory, if you wish to preserve use Configuration Bits memory view or FW
Program loaded with pack,AVR-Ex_DFP,2.11.221,Microchip
Loading completed