File tree Expand file tree Collapse file tree 2 files changed +65
-0
lines changed Expand file tree Collapse file tree 2 files changed +65
-0
lines changed Original file line number Diff line number Diff line change 1+ QEMU_ARCH = arm
2+ QEMU_MACHINE = mps3-an547
3+
4+ CFLAGS += -mthumb -mcpu=cortex-m55 -mfloat-abi=hard -mfpu=fpv5-d16
5+ CFLAGS += -DQEMU_SOC_MPS3
6+ CFLAGS += -DMICROPY_HW_MCU_NAME='"Cortex-M55"'
7+ CFLAGS += -DCPU_FREQ_HZ=32000000
8+
9+ LDSCRIPT = mcu/arm/mps3.ld
10+
11+ SRC_BOARD_O = shared/runtime/gchelper_generic.o
12+
13+ MPY_CROSS_FLAGS += -march=armv7emdp
14+
15+ MICROPY_FLOAT_IMPL ?= double
16+ SUPPORTS_HARDWARE_FP_DOUBLE ?= 1
Original file line number Diff line number Diff line change 1+ /* This file is part of the MicroPython project, http://micropython.org/
2+ * The MIT License (MIT)
3+ * Copyright (c) 2018 Damien P. George
4+ */
5+
6+ MEMORY
7+ {
8+ ITCM : ORIGIN = 0x00000000 , LENGTH = 512K
9+ RAM : ORIGIN = 0x01000000 , LENGTH = 2M
10+ }
11+
12+ _estack = ORIGIN (RAM) + LENGTH (RAM);
13+
14+ SECTIONS
15+ {
16+ .isr_vector : {
17+ KEEP (*(.isr_vector ))
18+ . = ALIGN (4 );
19+ } > ITCM
20+
21+ .text : {
22+ *(.text *)
23+ *(.rodata *)
24+ . = ALIGN (4 );
25+ *(.ARM .exidx *)
26+ . = ALIGN (4 );
27+ _etext = .;
28+ _sidata = _etext;
29+ } > RAM
30+
31+ .data : AT ( _sidata )
32+ {
33+ . = ALIGN (4 );
34+ _sdata = .;
35+ *(.data *)
36+ . = ALIGN (4 );
37+ _edata = .;
38+ } >RAM
39+
40+ .bss :
41+ {
42+ . = ALIGN (4 );
43+ _sbss = .;
44+ *(.bss *)
45+ *(COMMON)
46+ . = ALIGN (4 );
47+ _ebss = .;
48+ } >RAM
49+ }
You can’t perform that action at this time.
0 commit comments