Skip to content

Basic build fails with "Memory layout looks suspicious" #892

Open
@Niko-O

Description

@Niko-O

Describe the bug.

I am following the "How to Build by yourself" guide for Windows: https://github.com/DarkFlippers/unleashed-firmware/blob/dev/documentation/HowToBuild.md#how-to-build-by-yourself
Git is installed.
Cloning the Git repo seems to work.
./fbt.cmd updater_package does a ton of things and then outputs this:

2025-04-13 16:48:02,916 [WARNING] Firmware image overlaps C2 region and is not programmable!
2025-04-13 16:48:02,917 [WARNING] Memory layout looks suspicious
2025-04-13 16:48:02,917 [ERROR] You might brick your device into a state in which you'd need an SWD programmer to fix it.
2025-04-13 16:48:02,917 [ERROR] Please confirm that you REALLY want to do that with --I-understand-what-I-am-doing=yes
scons: *** [dist_updater_package] Error 2

Complete console log (too large to paste here):
Log.txt

Reproduction

  1. git clone --recursive https://github.com/DarkFlippers/unleashed-firmware.git
  2. cd .\unleashed-firmware\
  3. ./fbt.cmd updater_package

Target

I don't think it's relevant at this point, but if it is, please let me know what info exactly you need here.

Logs

See attached Log.txt file.

Anything else?

Note that I am basically completely new to programming for the Flipper Zero and there's a good chance that I'm missing something that seems obvious to you but isn't explained in the guide. For example, navigating the current working directory to the directory created by git clone before running fbt is probably obvious to you but it is not not explained in the guide, so I had to guess whether or not I need to do that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions