Skip to content

Bluepill template built with arm-gcc does not fit 128K Flash #139

Closed
@Chandler-Kluser

Description

@Chandler-Kluser

I have got the bluepill template for pikascript and then made a Makefile to compile with arm-none-eabi-gcc, the code is in this repository.

I was able to compile all .c files in the template into objects and them link them successfully, I could also build a binary firmware.

The issue is that the size is WAY too big for 128K bluepill flash memory, so I would like to know what objects may not be compiled to build a smaller binary.

Thanks in advance!

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