[Ovmsdev] Compilation issues, OVMS.X/v2_RT with Battmon and Cfg

Julien (JaXX) Banchet jaxx at jaxx.org
Sun Mar 2 22:01:00 HKT 2014


Hi,

Willing to use Michael’s last commit featuring "save/load sevcon profile » commands, I pulled the latest code and went to MPLab X IDE v2 (c18  v3.40). Alone it compiles fine.
But if I add OVMS_TWIZY_BATTMON and OVMS_TWIZY_CFG (to a duplicated from V2_RT_Production conf) to the definitions I end up on a :

"/Applications/microchip/mplabc18/v3.40/bin/mplink"    -p18f2685  -w  -m"build/memorymap" -u_EXTENDEDMODE -z__MPLAB_BUILD=1  -u_CRUNTIME -l "/Applications/microchip/mplabc18/v3.40/bin"/../lib  -o dist/Copy_of_V2_RT_Production/production/OVMS.X.production.cof  build/Copy_of_V2_RT_Production/production/UARTIntC.o build/Copy_of_V2_RT_Production/production/crypt_base64.o build/Copy_of_V2_RT_Production/production/crypt_hmac.o build/Copy_of_V2_RT_Production/production/crypt_md5.o build/Copy_of_V2_RT_Production/production/crypt_rc4.o build/Copy_of_V2_RT_Production/production/led.o build/Copy_of_V2_RT_Production/production/net.o build/Copy_of_V2_RT_Production/production/net_msg.o build/Copy_of_V2_RT_Production/production/net_sms.o build/Copy_of_V2_RT_Production/production/ovms.o build/Copy_of_V2_RT_Production/production/params.o build/Copy_of_V2_RT_Production/production/utils.o build/Copy_of_V2_RT_Production/production/inputs.o build/Copy_of_V2_RT_Production/production/diag.o build/Copy_of_V2_RT_Production/production/vehicle_twizy.o build/Copy_of_V2_RT_Production/production/vehicle.o build/Copy_of_V2_RT_Production/production/vehicle_none.o build/Copy_of_V2_RT_Production/production/logging.o   
MPLINK 4.40, Linker
Device Database Version 1.3
Copyright (c) 1998-2011 Microchip Technology Inc.
Error - section 'VEHICLE' can not fit the section. Section 'VEHICLE' length=0x00000043
Errors    : 1
make[2]: *** [dist/Copy_of_V2_RT_Production/production/OVMS.X.production.hex] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2


Can actually all the Definitions fit ? Am I doing anything wrong or is my setup wrong?

Thanks,

Julien.
PS: Twizy ravaged friday night, they took everything but the OVMS, breaking the glovebox, including half of the smartphone holder making it useless even for the stealer… cool :(


--  
Julien (JaXX) Banchet



More information about the OvmsDev mailing list