Skip to main content
JWrig.13
Visitor II
July 26, 2023
Question

en.x-cube_classb

  • July 26, 2023
  • 1 reply
  • 943 views

I've downloaded the x-cube_classb application, but none of the projects will build for EWARM

In addition to a few warnings, the linker fails: 

    unable to allocate space for sections/blocks with a total estimated minimum size of 0x220 bytes (max align 0x4) in <[0x2000'0030-0x2000'1fff]> (total uncommitted space 0x1b74).

EWARM version: 9.30.1.50054

Compiler version : 9.30.1.335

    Is this classB code incompatible with this version
This topic has been closed for replies.

1 reply

Petr Sladecek
ST Employee
October 16, 2023

Hello,

as visible from table "STL code size and data size (in bytes)" at user manual, the STL needs ~220 bytes at RAM only. Area 0x2000'0030-0x2000'1fff should be sufficient enough to allocate that. Check your linker file setting (stack/heap size).

Best regards,

Petr

Best regards,

Petr