File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed
targets/TARGET_NUVOTON/TARGET_M2354/device Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 35
35
36
36
/* Resolve non-secure ROM start */
37
37
#ifndef MBED_ROM_START
38
- #error ("MBED_ROM_START must be present!!!")
38
+ /* FIXME: Workaround to cmake build doesn't generate this symbol yet */
39
+ #define MBED_ROM_START 0x10070400
39
40
#endif
40
41
41
42
/* Resolve non-secure ROM size */
42
43
#ifndef MBED_ROM_SIZE
43
- #error ("MBED_ROM_SIZE must be present!!!")
44
+ /* FIXME: Workaround to cmake build doesn't generate this symbol yet */
45
+ #define MBED_ROM_SIZE 0x8F400
44
46
#endif
45
47
46
48
/* Resolve non-secure RAM start */
47
49
#ifndef MBED_RAM_START
48
- #error ("MBED_RAM_START must be present!!!")
50
+ /* FIXME: Workaround to cmake build doesn't generate this symbol yet */
51
+ #define MBED_RAM_START 0x30014000
49
52
#endif
50
53
51
54
/* Resolve non-secure RAM size */
52
55
#ifndef MBED_RAM_SIZE
53
- #error ("MBED_RAM_SIZE must be present!!!")
56
+ /* FIXME: Workaround to cmake build doesn't generate this symbol yet */
57
+ #define MBED_RAM_SIZE 0x2C000
54
58
#endif
55
59
56
60
/* Mbed build tool passes just APPLICATION_xxx macros to C/C++ files and just
Original file line number Diff line number Diff line change 20
20
21
21
/* Resolve non-secure ROM start */
22
22
if (! isdefinedsymbol (MBED_ROM_START )) {
23
- error "MBED_ROM_START must be present!!!" ;
23
+ /* FIXME: Workaround to cmake build doesn't generate this symbol yet */
24
+ define MBED_ROM_START = 0x10070400 ;
24
25
}
25
26
26
27
/* Resolve non-secure ROM size */
27
28
if (! isdefinedsymbol (MBED_ROM_SIZE )) {
28
- error "MBED_ROM_SIZE must be present!!!" ;
29
+ /* FIXME: Workaround to cmake build doesn't generate this symbol yet */
30
+ define MBED_ROM_SIZE = 0x8F400 ;
29
31
}
30
32
31
33
/* Resolve non-secure RAM start */
32
34
if (! isdefinedsymbol (MBED_RAM_START )) {
33
- error "MBED_RAM_START must be present!!!" ;
35
+ /* FIXME: Workaround to cmake build doesn't generate this symbol yet */
36
+ define MBED_RAM_START = 0x30014000 ;
34
37
}
35
38
36
39
/* Resolve non-secure RAM size */
37
40
if (! isdefinedsymbol (MBED_RAM_SIZE )) {
38
- error "MBED_RAM_SIZE must be present!!!" ;
41
+ /* FIXME: Workaround to cmake build doesn't generate this symbol yet */
42
+ define MBED_RAM_SIZE = 0x2C000 ;
39
43
}
40
44
41
45
/* Mbed build tool passes just APPLICATION_xxx macros to C/C++ files and just
You can’t perform that action at this time.
0 commit comments