You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't build the firmware with MPLAB X IDE v5.20, XC8 v1.44. I tried various versions of MPLAB and XC8 (1.36, 1.42, 2.10), and various XC8 settings (Memory model, C standard, ...).
Here is the log :
make[1]: Entering directory 'TinyFPGA-A-Programmer/firmware'
make -f nbproject/Makefile-default.mk dist/default/production/firmware.production.hex
make[2]: Entering directory 'TinyFPGA-A-Programmer/firmware'
"Microchip\xc8\v1.44\bin\xc8.exe"--pass1--chip=16F1455-Q-G--double=24--float=24--opt=+asm,+asmfile,+speed,-space,-debug,-local--addrqual=ignore--mode=pro-P-N255--warn=-3--cci--asmlist-DXPRJ_default=default--summary=default,-psect,-class,+mem,-hex,-file--output=default,-inhx032--runtime=default,+clear,+init,-keep,-no_startup,-osccal,-resetbits,-download,-stackcall,+clib--output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s" -obuild/default/production/mcc_generated_files/mcc.p1 mcc_generated_files/mcc.c
"Microchip\xc8\v1.44\bin\xc8.exe"--pass1--chip=16F1455-Q-G--double=24--float=24--opt=+asm,+asmfile,+speed,-space,-debug,-local--addrqual=ignore--mode=pro-P-N255--warn=-3--cci--asmlist-DXPRJ_default=default--summary=default,-psect,-class,+mem,-hex,-file--output=default,-inhx032--runtime=default,+clear,+init,-keep,-no_startup,-osccal,-resetbits,-download,-stackcall,+clib--output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s" -obuild/default/production/mcc_generated_files/usb/usb_device_cdc.p1 mcc_generated_files/usb/usb_device_cdc.c
"Microchip\xc8\v1.44\bin\xc8.exe"--pass1--chip=16F1455-Q-G--double=24--float=24--opt=+asm,+asmfile,+speed,-space,-debug,-local--addrqual=ignore--mode=pro-P-N255--warn=-3--cci--asmlist-DXPRJ_default=default--summary=default,-psect,-class,+mem,-hex,-file--output=default,-inhx032--runtime=default,+clear,+init,-keep,-no_startup,-osccal,-resetbits,-download,-stackcall,+clib--output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s" -obuild/default/production/mcc_generated_files/interrupt_manager.p1 mcc_generated_files/interrupt_manager.c
"Microchip\xc8\v1.44\bin\xc8.exe"--pass1--chip=16F1455-Q-G--double=24--float=24--opt=+asm,+asmfile,+speed,-space,-debug,-local--addrqual=ignore--mode=pro-P-N255--warn=-3--cci--asmlist-DXPRJ_default=default--summary=default,-psect,-class,+mem,-hex,-file--output=default,-inhx032--runtime=default,+clear,+init,-keep,-no_startup,-osccal,-resetbits,-download,-stackcall,+clib--output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s" -obuild/default/production/mcc_generated_files/pin_manager.p1 mcc_generated_files/pin_manager.c
"Microchip\xc8\v1.44\bin\xc8.exe"--pass1--chip=16F1455-Q-G--double=24--float=24--opt=+asm,+asmfile,+speed,-space,-debug,-local--addrqual=ignore--mode=pro-P-N255--warn=-3--cci--asmlist-DXPRJ_default=default--summary=default,-psect,-class,+mem,-hex,-file--output=default,-inhx032--runtime=default,+clear,+init,-keep,-no_startup,-osccal,-resetbits,-download,-stackcall,+clib--output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s" -obuild/default/production/mcc_generated_files/usb/usb_descriptors.p1 mcc_generated_files/usb/usb_descriptors.c
"Microchip\xc8\v1.44\bin\xc8.exe"--pass1--chip=16F1455-Q-G--double=24--float=24--opt=+asm,+asmfile,+speed,-space,-debug,-local--addrqual=ignore--mode=pro-P-N255--warn=-3--cci--asmlist-DXPRJ_default=default--summary=default,-psect,-class,+mem,-hex,-file--output=default,-inhx032--runtime=default,+clear,+init,-keep,-no_startup,-osccal,-resetbits,-download,-stackcall,+clib--output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s" -obuild/default/production/mcc_generated_files/usb/usb_device_events.p1 mcc_generated_files/usb/usb_device_events.c
"Microchip\xc8\v1.44\bin\xc8.exe"--pass1--chip=16F1455-Q-G--double=24--float=24--opt=+asm,+asmfile,+speed,-space,-debug,-local--addrqual=ignore--mode=pro-P-N255--warn=-3--cci--asmlist-DXPRJ_default=default--summary=default,-psect,-class,+mem,-hex,-file--output=default,-inhx032--runtime=default,+clear,+init,-keep,-no_startup,-osccal,-resetbits,-download,-stackcall,+clib--output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s" -obuild/default/production/mcc_generated_files/usb/usb_device.p1 mcc_generated_files/usb/usb_device.c
"Microchip\xc8\v1.44\bin\xc8.exe"--pass1--chip=16F1455-Q-G--double=24--float=24--opt=+asm,+asmfile,+speed,-space,-debug,-local--addrqual=ignore--mode=pro-P-N255--warn=-3--cci--asmlist-DXPRJ_default=default--summary=default,-psect,-class,+mem,-hex,-file--output=default,-inhx032--runtime=default,+clear,+init,-keep,-no_startup,-osccal,-resetbits,-download,-stackcall,+clib--output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s" -obuild/default/production/main.p1 main.c
:: warning: (1426) 24-bit floating point types are not supported; float have been changed to 32-bits
:: warning: (1426) 24-bit floating point types are not supported; double have been changed to 32-bits
:: warning: (1426) 24-bit floating point types are not supported; float have been changed to 32-bits
:: warning: (1426) 24-bit floating point types are not supported; double have been changed to 32-bits
:: warning: (1426) 24-bit floating point types are not supported; float have been changed to 32-bits
:: warning: (1426) 24-bit floating point types are not supported; double have been changed to 32-bits
:: warning: (1426) 24-bit floating point types are not supported; float have been changed to 32-bits
:: warning: (1426) 24-bit floating point types are not supported; double have been changed to 32-bits
:: warning: (1426) 24-bit floating point types are not supported; float have been changed to 32-bits
:: warning: (1426) 24-bit floating point types are not supported; double have been changed to 32-bits
:: warning: (1426) 24-bit floating point types are not supported; float have been changed to 32-bits
:: warning: (1426) 24-bit floating point types are not supported; double have been changed to 32-bits
:: warning: (1426) 24-bit floating point types are not supported; float have been changed to 32-bits
:: warning: (1426) 24-bit floating point types are not supported; double have been changed to 32-bits
:: warning: (1426) 24-bit floating point types are not supported; float have been changed to 32-bits
:: warning: (1426) 24-bit floating point types are not supported; double have been changed to 32-bits
main.c:30: warning: (1427) machine-dependent path specified in name of included file; use -I instead
mcc_generated_files/mcc.h:53: warning: (1427) machine-dependent path specified in name of included file; use -I instead
mcc_generated_files/mcc.h:53: warning: (1427) machine-dependent path specified in name of included file; use -I instead
mcc_generated_files/mcc.h:53: warning: (1427) machine-dependent path specified in name of included file; use -I instead
main.c:24: warning: (359) illegal conversion between pointer types
pointer to volatile unsigned char -> pointer to unsigned char
main.c:25: warning: (359) illegal conversion between pointer types
pointer to volatile unsigned char -> pointer to unsigned char
main.c:27: warning: (359) illegal conversion between pointer types
pointer to volatile unsigned char -> pointer to unsigned char
main.c:27: warning: (359) illegal conversion between pointer types
pointer to volatile unsigned char -> pointer to unsigned char
main.c:28: warning: (359) illegal conversion between pointer types
pointer to volatile unsigned char -> pointer to unsigned char
main.c:28: warning: (359) illegal conversion between pointer types
pointer to volatile unsigned char -> pointer to unsigned char
main.c:146: warning: (373) implicit signed to unsigned conversion
main.c:150: warning: (373) implicit signed to unsigned conversion
main.c:154: warning: (373) implicit signed to unsigned conversion
main.c:155: warning: (373) implicit signed to unsigned conversion
main.c:159: warning: (373) implicit signed to unsigned conversion
main.c:163: warning: (373) implicit signed to unsigned conversion
main.c:170: warning: (373) implicit signed to unsigned conversion
main.c:183: warning: (373) implicit signed to unsigned conversion
mcc_generated_files/usb/usb_descriptors.c:278: warning: (362) redundant "&" applied to array
main.c:187: warning: (373) implicit signed to unsigned conversion
main.c:191: warning: (373) implicit signed to unsigned conversion
main.c:195: warning: (373) implicit signed to unsigned conversion
main.c:199: warning: (373) implicit signed to unsigned conversion
main.c:203: warning: (373) implicit signed to unsigned conversion
main.c:207: warning: (373) implicit signed to unsigned conversion
main.c:211: warning: (373) implicit signed to unsigned conversion
mcc_generated_files/usb/usb_device.c:296: warning: (346) declaration of "i" hides outer declaration
main.c:228: warning: (373) implicit signed to unsigned conversion
main.c:230: warning: (373) implicit signed to unsigned conversion
main.c:235: warning: (373) implicit signed to unsigned conversion
main.c:236: warning: (373) implicit signed to unsigned conversion
main.c:237: warning: (373) implicit signed to unsigned conversion
main.c:272: warning: (373) implicit signed to unsigned conversion
main.c:276: warning: (373) implicit signed to unsigned conversion
main.c:280: warning: (373) implicit signed to unsigned conversion
main.c:284: warning: (373) implicit signed to unsigned conversion
main.c:288: warning: (373) implicit signed to unsigned conversion
main.c:292: warning: (373) implicit signed to unsigned conversion
main.c:296: warning: (373) implicit signed to unsigned conversion
main.c:300: warning: (373) implicit signed to unsigned conversion
main.c:311: warning: (373) implicit signed to unsigned conversion
main.c:313: warning: (373) implicit signed to unsigned conversion
main.c:318: warning: (373) implicit signed to unsigned conversion
main.c:319: warning: (373) implicit signed to unsigned conversion
main.c:320: warning: (373) implicit signed to unsigned conversion
main.c:329: warning: (346) declaration of "data" hides outer declaration
mcc_generated_files/usb/usb_device.c:1092: warning: (373) implicit signed to unsigned conversion
mcc_generated_files/usb/usb_device.c:1099: warning: (373) implicit signed to unsigned conversion
main.c:396: warning: (346) declaration of "data" hides outer declaration
main.c:407: warning: (373) implicit signed to unsigned conversion
main.c:413: warning: (373) implicit signed to unsigned conversion
main.c:414: warning: (373) implicit signed to unsigned conversion
mcc_generated_files/usb/usb_device.c:1497: warning: (362) redundant "&" applied to array
mcc_generated_files/usb/usb_device.c:1514: warning: (362) redundant "&" applied to array
mcc_generated_files/usb/usb_device.c:1550: warning: (373) implicit signed to unsigned conversion
main.c:416: warning: (373) implicit signed to unsigned conversion
main.c:417: warning: (373) implicit signed to unsigned conversion
mcc_generated_files/usb/usb_device.c:1884: warning: (362) redundant "&" applied to array
mcc_generated_files/usb/usb_device.c:1976: warning: (346) declaration of "i" hides outer declaration
main.c:484: warning: (373) implicit signed to unsigned conversion
mcc_generated_files/usb/usb_device.c:1994: warning: (362) redundant "&" applied to array
mcc_generated_files/usb/usb_device_cdc.c:170: warning: (362) redundant "&" applied to array
mcc_generated_files/usb/usb_device_cdc.c:177: warning: (362) redundant "&" applied to array
main.c:507: warning: (373) implicit signed to unsigned conversion
main.c:534: warning: (357) illegal conversion of integer to pointer
mcc_generated_files/usb/usb_device.c:2180: warning: (362) redundant "&" applied to array
mcc_generated_files/usb/usb_device.c:2386: warning: (373) implicit signed to unsigned conversion
mcc_generated_files/usb/usb_device.c:2606: warning: (373) implicit signed to unsigned conversion
"Microchip\xc8\v1.44\bin\xc8.exe" --chip=16F1455 -G -mdist/default/production/firmware.production.map -DXPRJ_default=default --double=24 --float=24 --opt=+asm,+asmfile,+speed,-space,-debug,-local --addrqual=ignore --mode=pro -P -N255 --warn=-3 --cci --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,-osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s" --memorysummary dist/default/production/memoryfile.xml -odist/default/production/firmware.production.elf build/default/production/mcc_generated_files/usb/usb_device_cdc.p1 build/default/production/mcc_generated_files/interrupt_manager.p1 build/default/production/mcc_generated_files/pin_manager.p1 build/default/production/mcc_generated_files/mcc.p1 build/default/production/mcc_generated_files/usb/usb_descriptors.p1 build/default/production/mcc_generated_files/usb/usb_device_events.p1 build/default/production/mcc_generated_files/usb/usb_device.p1 build/default/production/main.p1
Microchip MPLAB XC8 C Compiler (Free Mode) V1.44
Builddate: Sep 13 2017
PartSupportVersion: 1.44
Copyright (C) 2017 Microchip Technology Inc.
Licensetype: Node Configuration
:: warning: (1426) 24-bit floating point types are not supported; float have been changed to 32-bits
:: warning: (1426) 24-bit floating point types are not supported; double have been changed to 32-bits
:: warning: (1273) Omniscient Code Generation not available in Free mode
Nonlinespecificmessage:: advisory: (1492) using updated 32-bit floating-point libraries; improved accuracy might increase code size
mcc_generated_files/usb/usb_device_cdc.c:146: advisory: (1510) non-reentrant function "_USBCheckCDCRequest" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device_cdc.c:293: advisory: (1510) non-reentrant function "_CDCInitEP" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device_events.c:49: advisory: (1510) non-reentrant function "_USER_USB_CALLBACK_EVENT_HANDLER" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:277: advisory: (1510) non-reentrant function "_USBDeviceInit" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:477: advisory: (1510) non-reentrant function "_USBDeviceTasks" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:878: advisory: (1510) non-reentrant function "_USBEnableEndpoint" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:1416: advisory: (1510) non-reentrant function "_USBCtrlEPAllowStatusStage" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:1488: advisory: (1510) non-reentrant function "_USBCtrlEPAllowDataStage" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:1543: advisory: (1510) non-reentrant function "_USBConfigureEndpoint" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:1616: advisory: (1510) non-reentrant function "_USBCtrlEPServiceComplete" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:1771: advisory: (1510) non-reentrant function "_USBCtrlTrfTxService" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:1852: advisory: (1510) non-reentrant function "_USBCtrlTrfRxService" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:1968: advisory: (1510) non-reentrant function "_USBStdSetCfgHandler" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:2043: advisory: (1510) non-reentrant function "_USBStdGetDscHandler" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:2129: advisory: (1510) non-reentrant function "_USBStdGetStatusHandler" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:2202: advisory: (1510) non-reentrant function "_USBStallHandler" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:2245: advisory: (1510) non-reentrant function "_USBSuspend" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:2303: advisory: (1510) non-reentrant function "_USBWakeFromSuspend" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:2372: advisory: (1510) non-reentrant function "_USBCtrlEPService" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:2465: advisory: (1510) non-reentrant function "_USBCtrlTrfSetupHandler" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:2538: advisory: (1510) non-reentrant function "_USBCtrlTrfOutHandler" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:2592: advisory: (1510) non-reentrant function "_USBCtrlTrfInHandler" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:2686: advisory: (1510) non-reentrant function "_USBCheckStdRequest" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:2754: advisory: (1510) non-reentrant function "_USBStdFeatureReqHandler" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device.c:3025: advisory: (1510) non-reentrant function "_USBIncrement1msInternalTimers" appears in multiple call graphs and has been duplicated by the compiler
Microchip\xc8\v1.44\sources\common\Umul16.c:15: advisory: (1510) non-reentrant function "___wmul" appears in multiple call graphs and has been duplicated by the compiler
Microchip\xc8\v1.44\sources\common\memset.c:8: advisory: (1510) non-reentrant function "_memset" appears in multiple call graphs and has been duplicated by the compiler
mcc_generated_files/usb/usb_device_cdc.c:423: warning: (520) function "_USBCDCEventHandler" is never called
mcc_generated_files/usb/usb_device_cdc.c:556: warning: (520) function "_putUSBUSART" is never called
mcc_generated_files/usb/usb_device_cdc.c:629: warning: (520) function "_putsUSBUSART" is never called
mcc_generated_files/usb/usb_device_cdc.c:726: warning: (520) function "_putrsUSBUSART" is never called
mcc_generated_files/pin_manager.c:89: warning: (520) function "_PIN_MANAGER_IOC" is never called
mcc_generated_files/usb/usb_device.c:1073: warning: (520) function "_USBStallEndpoint" is never called
mcc_generated_files/usb/usb_device.c:1129: warning: (520) function "_USBCancelIO" is never called
mcc_generated_files/usb/usb_device.c:1247: warning: (520) function "_USBDeviceDetach" is never called
mcc_generated_files/usb/usb_device.c:3104: warning: (520) function "_USBGet1msTickCount" is never called
mcc_generated_files/usb/usb_device.c:358: warning: (751) arithmetic overflow in constant expression
mcc_generated_files/usb/usb_device.c:1029: warning: (751) arithmetic overflow in constant expression
mcc_generated_files/usb/usb_device.c:1083: warning: (751) arithmetic overflow in constant expression
mcc_generated_files/usb/usb_device.c:1357: warning: (759) expression generates no code
mcc_generated_files/usb/usb_device.c:1446: warning: (751) arithmetic overflow in constant expression
mcc_generated_files/usb/usb_device.c:1454: warning: (751) arithmetic overflow in constant expression
mcc_generated_files/usb/usb_device.c:1497: warning: (751) arithmetic overflow in constant expression
mcc_generated_files/usb/usb_device.c:1514: warning: (751) arithmetic overflow in constant expression
mcc_generated_files/usb/usb_device.c:1660: warning: (751) arithmetic overflow in constant expression
mcc_generated_files/usb/usb_device.c:1733: warning: (751) arithmetic overflow in constant expression
mcc_generated_files/usb/usb_device.c:1884: warning: (751) arithmetic overflow in constant expression
mcc_generated_files/usb/usb_device.c:1902: warning: (751) arithmetic overflow in constant expression
mcc_generated_files/usb/usb_device.c:1921: warning: (759) expression generates no code
mcc_generated_files/usb/usb_device.c:2558: warning: (751) arithmetic overflow in constant expression
mcc_generated_files/usb/usb_device.c:2620: warning: (751) arithmetic overflow in constant expression
mcc_generated_files/usb/usb_device.c:2657: warning: (759) expression generates no code
main.c:649: warning: (1393) possible hardware stack overflow detected; estimated stack depth: 19
:0: error: (1347) can't find 0x28 words (0x28 withtotal) for psect "text24" in class "CODE" (largest unused contiguous range 0x21)
Nonlinespecificmessage:: advisory: (1493) updated 32-bit floating-point routines might trigger "can't find space" messages appearing after updating to this release; consider using the smaller 24-bit floating-point types
:0: error: (1347) can't find 0x27 words (0x27 withtotal) for psect "text42" in class "CODE" (largest unused contiguous range 0x21)
:0: error: (1347) can't find 0x24 words (0x24 withtotal) for psect "text57" in class "CODE" (largest unused contiguous range 0x21)
:0: error: (1347) can't find 0x23 words (0x23 withtotal) for psect "text25" in class "CODE" (largest unused contiguous range 0x21)
:0: error: (1347) can't find 0x20 words (0x20 withtotal) for psect "text40" in class "CODE" (largest unused contiguous range 0x1B)
:0: error: (1347) can't find 0x20 words (0x20 withtotal) for psect "text58" in class "CODE" (largest unused contiguous range 0x1B)
:0: error: (1347) can't find 0x1F words (0x1f withtotal) for psect "text9" in class "CODE" (largest unused contiguous range 0x1B)
:0: error: (1347) can't find 0x1F words (0x1f withtotal) for psect "text41" in class "CODE" (largest unused contiguous range 0x1B)
:0: error: (1347) can't find 0x1D words (0x1d withtotal) for psect "text11" in class "CODE" (largest unused contiguous range 0x1B)
:0: error: (1347) can't find 0x1D words (0x1d withtotal) for psect "text35" in class "CODE" (largest unused contiguous range 0x1B)
:0: error: (1347) can't find 0x1A words (0x1a withtotal) for psect "swtext2" in class "CONST" (largest unused contiguous range 0xA)
:0: error: (1347) can't find 0x19 words (0x19 withtotal) for psect "text18" in class "CODE" (largest unused contiguous range 0xA)
:0: error: (1347) can't find 0x19 words (0x19 withtotal) for psect "text43" in class "CODE" (largest unused contiguous range 0xA)
:0: error: (1347) can't find 0x18 words (0x18 withtotal) for psect "text51" in class "CODE" (largest unused contiguous range 0xA)
:0: error: (1347) can't find 0x16 words (0x16 withtotal) for psect "stringtext6" in class "STRCODE" (largest unused contiguous range 0xA)
:0: error: (1347) can't find 0x15 words (0x15 withtotal) for psect "text36" in class "CODE" (largest unused contiguous range 0xA)
:0: error: (1347) can't find 0x12 words (0x12 withtotal) for psect "stringtext7" in class "STRCODE" (largest unused contiguous range 0xA)
:0: error: (1347) can't find 0x12 words (0x12 withtotal) for psect "stringtext8" in class "STRCODE" (largest unused contiguous range 0xA)
:0: error: (1347) can't find 0xF words (0xf withtotal) for psect "text32" in class "CODE" (largest unused contiguous range 0xA)
:0: error: (1347) can't find 0xC words (0xc withtotal) for psect "idataBANK6" in class "CODE" (largest unused contiguous range 0xA)
:0: error: (1347) can't find 0x8 words (0x8 withtotal) for psect "idataBANK5" in class "CODE" (largest unused contiguous range 0x1)
:0: error: (1347) can't find 0x6 words (0x6 withtotal) for psect "stringtext1" in class "STRCODE" (largest unused contiguous range 0x1)
:0: error: (1347) can't find 0x6 words (0x6 withtotal) for psect "inittext" in class "CODE" (largest unused contiguous range 0x1)
:0: error: (1347) can't find 0x6 words (0x6 withtotal) for psect "clrtext" in class "CODE" (largest unused contiguous range 0x1)
:0: error: (1347) can't find 0x4 words (0x4 withtotal) for psect "stringtext9" in class "STRCODE" (largest unused contiguous range 0x1)
:0: error: (1347) can't find 0x4 words (0x4 withtotal) for psect "text1" in class "CODE" (largest unused contiguous range 0x1)
:0: error: (1347) can't find 0x4 words (0x4 withtotal) for psect "text33" in class "CODE" (largest unused contiguous range 0x1)
:0: error: (1347) can't find 0x2 words (0x2 withtotal) for psect "stringtext2" in class "STRCODE" (largest unused contiguous range 0x1)
(908) exit status = 1
nbproject/Makefile-default.mk:243: recipe for target 'dist/default/production/firmware.production.hex' failed
make[2]: Leaving directory 'TinyFPGA-A-Programmer/firmware'
nbproject/Makefile-default.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory 'TinyFPGA-A-Programmer/firmware'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make[2]: *** [dist/default/production/firmware.production.hex] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILDFAILED(exitvalue2,totaltime: 5s)
The text was updated successfully, but these errors were encountered:
@telec16 I was able to make the "floating-point not supported" warning go away by upgrading my project from the git-provided project file version to MPLAB X v5.30 and linking against the "C90" library instead of the C99 one (XC8 Linker > Runtime).
I also changed the standard to "C90" (required to compile at all), and changed the memory model float size to 24-bits (it doesn't seem to make a difference).
Even with this change, I can't get the firmware to fit. The firmware barely fit as-is in old versions of MPLAB X. Something changed in the code generating and now the firmware size just plain doesn't fit anymore (with the free compiler and -O2) :(.
I can't build the firmware with MPLAB X IDE v5.20, XC8 v1.44. I tried various versions of MPLAB and XC8 (1.36, 1.42, 2.10), and various XC8 settings (Memory model, C standard, ...).
Here is the log :
The text was updated successfully, but these errors were encountered: