Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ARDUINO_PORTENTA_H7: sdram as heap #9087

Closed
@dmazzella

Description

@dmazzella

Hi @iabdalkader, @dpgeorge
I'm trying to use sdram mounted on the Portenta H7 as board heap.

i saw in ports/stm32/main.c:

// GC init
gc_init(MICROPY_HEAP_START, MICROPY_HEAP_END);

and what i tried to do was just assign into ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h:

#define MICROPY_HEAP_START                  sdram_start()
#define MICROPY_HEAP_END                    sdram_end()

but without success.

Did I do something wrong?
do any other preliminary operations need to be done?

Thank you and greetings,
D.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests, new feature implementationsport-stm32

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions