Skip to content

Project that compiles fine when board=pimoroni_plasma2350, but fails with 'overlaps segment' when board=pimoroni_plasma2040 #116

@doctea

Description

@doctea

Hi!

I've got an old project that I'm revisiting after a couple of years off, and am having some trouble compiling it for both of the boards it once targeted.

When I try and compile it with board=pimoroni_plasma2350, it compiles correctly.

But if I change this to board=pimoroni_plasma2040, it fails to link, with:-
.platformio/packages/toolchain-rp2040-earlephilhower/bin/../lib/gcc/arm-none-eabi/14.3.0/../../../../arm-none-eabi/bin/ld.exe: section .stack1_dummy VMA [20040000,200407ff] overlaps section .heap VMA [2000379c,20041fff]

In the past, both of these targets worked correctly; in the meantime, I've replaced my PC, and so it seems likely that the versions of packages and libraries I have installed have changed - perhaps suggesting a reason for this.

A snippet of the platformio.ini file is below:-

[platformio]
default_envs = default

[env:default]
platform = https://github.com/maxgerhardt/platform-raspberrypi
board = pimoroni_plasma2040
framework = arduino
board_build.core = earlephilhower

I don't know where to begin to attempt to solve this or debug it further. Are there further things I can try to find a solution or to discover extra information?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions