BLHeli icon indicating copy to clipboard operation
BLHeli copied to clipboard

Linker/Compiler warnings

Open cturn opened this issue 10 years ago • 1 comments

I receive the below compiler warnings errors when building the Silabs variants. The build compiles, and works without issue, I have just been unable to locate the cause of/resolve the warnings...

*** WARNING #53 IN LINE 77 OF C:\Users\cxt70273\Downloads\BLHeli-master (3)\BLHeli-master\SiLabs\BLHELIBOOTLOAD.INC : VALUE HAS BEEN TRUNCATED TO 8 BITS ASSEMBLY COMPLETE. 1 WARNING(S) 0 ERROR(S) MS-DOS MCS-51 CODE BANKING LINKER/LOCATOR LX51 V06.18.15.328 Copyright (c) KEOLABS S.A.S. 1987-2015. All rights reserved. Raisonance is a KEOLABS brand.

***WARNING 6 : DATA SPACE MEMORY OVERLAP AT ADDRESS: 0020,(BLHELI,BLHELI) <Memory usage: code=6748, internal data=190.0, xdata/pdata=0>

LINK/LOCATE RUN COMPLETE, 1 WARNING FOUND.

cturn avatar Feb 19 '16 21:02 cturn

This is normal. This warning comes from separate ram variables defined both for the main code and the bootloader. That executes at separate times, so this is not an issue.

sskaug avatar Feb 19 '16 21:02 sskaug