225 views
in Platform Packages by
Hi there,

We use the STM32F769 device, and we've just upgrade from Embedded Wizard Professiona l8.30 -> 14.5. I've managed to get my project to compile with the new libraries:
   STM32F769-Discovery-BuildEnvironment-V14.00.00.00
   STM32-M7-RGB565-SmallBusiness-AddOn-V14.00.00

But the linker stage fails with:

    .\Output\Obj\TOUCH8_APP.axf: Error: L6242E: Cannot link object ewslot.o as its attributes are incompatible with the image attributes.
       ... wchart-16 clashes with wchart-32.
       ... packed-enum clashes with enum_is_int.

The affected files are:
    ewcolor.o, ewdebug.o, ewextbmp_RGB565.o, ewextfnt.o, ewextpxl_RGB565.o, ewextsvg.o,
    ewgfx.o, ewgfxattrtext.o, ewgfxbidi.o, ewgfxcore.o, ewgfxdriver.o, ewgfxsvg.o, ewgfxtasks.o,
    ewobject.o, ewpoint.o, ewrect.o, ewref.o, ewresource.o, ewscalars.o, ewslot.o, ewstring.o, ewtimer.o

My C Compiler is Armcc.exe,V5.06 update 5 (build 528)

I understand the problem is that our compiler is set up for 32 bit wide char, and integer sized enum arrangement.
However, it's clear to me that Embedded Wizard has changed this since 8.30.

Can you explain why this was changed in Embedded Wizard?
Also, what is my way out of this. I'd really like to switch with our current size arrangements if possible.

Kind Regards,
Rob Shand

1 Answer

0 votes
by
 
Best answer
Hi Rob,

with version 14 we decided to remove the flags

-fshort-enums

-fshort-wchar

from all Keil uVision projects for all platforms. This gives more flexibility for all customer projects. Can you remove these flags from your project?

Best regards,

Manfred.
by
Hi Manfred,

Ok, I understand. We'll make that change,

Kind Regards,

Rob

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...