File tree 8 files changed +14
-10
lines changed
8 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 15
15
{
16
16
data (a!xr) : ORIGIN = 0x800, LENGTH = 0x17800
17
17
app_ivt : ORIGIN = 0x5000, LENGTH = 0x110
18
- program (xr) : ORIGIN = 0x5110, LENGTH = 0x255F0
18
+ program (xr) : ORIGIN = 0x5110, LENGTH = 0x252F0
19
19
}
20
20
21
21
INCLUDE ../blapi/app_BLAPI_3.gld
Original file line number Diff line number Diff line change 15
15
{
16
16
data (a!xr) : ORIGIN = 0x800, LENGTH = 0x6000
17
17
app_ivt : ORIGIN = 0x5000, LENGTH = 0x110
18
- program (xr) : ORIGIN = 0x5110, LENGTH = 0x101F0
18
+ program (xr) : ORIGIN = 0x5110, LENGTH = 0xFEF0
19
19
}
20
20
21
21
INCLUDE ../blapi/app_BLAPI_3.gld
Original file line number Diff line number Diff line change 15
15
{
16
16
data (a!xr) : ORIGIN = 0x800, LENGTH = 0x17800
17
17
app_ivt : ORIGIN = 0x5000, LENGTH = 0x110
18
- program (xr) : ORIGIN = 0x5110, LENGTH = 0x101F0
18
+ program (xr) : ORIGIN = 0x5110, LENGTH = 0xFEF0
19
19
}
20
20
21
21
INCLUDE ../blapi/app_BLAPI_3.gld
Original file line number Diff line number Diff line change 15
15
{
16
16
data (a!xr) : ORIGIN = 0x800, LENGTH = 0x17800
17
17
app_ivt : ORIGIN = 0x5000, LENGTH = 0x110
18
- program (xr) : ORIGIN = 0x5110, LENGTH = 0x255F0
18
+ program (xr) : ORIGIN = 0x5110, LENGTH = 0x252F0
19
19
}
20
20
21
21
INCLUDE ../blapi/app_BLAPI_3.gld
Original file line number Diff line number Diff line change 15
15
{
16
16
data (a!xr) : ORIGIN = 0x800, LENGTH = 0x17800
17
17
app_ivt : ORIGIN = 0x5000, LENGTH = 0x110
18
- program (xr) : ORIGIN = 0x5110, LENGTH = 0x255F0
18
+ program (xr) : ORIGIN = 0x5110, LENGTH = 0x252F0
19
19
}
20
20
21
21
INCLUDE ../blapi/app_BLAPI_3.gld
Original file line number Diff line number Diff line change @@ -33,4 +33,4 @@ struct {
33
33
const char hardware [8 ];
34
34
const char bootloader [8 ];
35
35
} _version __attribute__((section ("version.sec" ), space (psv )))
36
- = { HW_IMPL_VER , "IOIO0311 " };
36
+ = { HW_IMPL_VER , "IOIO0312 " };
Original file line number Diff line number Diff line change 42
42
43
43
#define FORCEROM __attribute__((space(auto_psv)))
44
44
45
+ #define PAGE_SIZE 0x400
46
+ #define PAGE_START (address ) ((address) & ~(PAGE_SIZE - 1))
47
+
45
48
#define BOOTLOADER_MIN_APP_ADDRESS 0x5000
46
- #define BOOTLOADER_MAX_APP_ADDRESS (APP_PROGSPACE_END - 0x100) // last page reseved for fingerprint
47
- #define BOOTLOADER_FINGERPRINT_ADDRESS BOOTLOADER_MAX_APP_ADDRESS
49
+ // last page reseved for bootloader configuration
50
+ #define BOOTLOADER_MAX_APP_ADDRESS (PAGE_START(APP_PROGSPACE_END) - PAGE_SIZE)
51
+ #define BOOTLOADER_CONFIG_PAGE BOOTLOADER_MAX_APP_ADDRESS
52
+ #define BOOTLOADER_FINGERPRINT_ADDRESS BOOTLOADER_CONFIG_PAGE
48
53
#define BOOTLOADER_OSCTUN_ADDRESS (BOOTLOADER_FINGERPRINT_ADDRESS + 16)
49
- #define BOOTLOADER_CONFIG_PAGE (BOOTLOADER_MAX_APP_ADDRESS & 0xFFFFF400)
50
54
#define BOOTLOADER_INVALID_ADDRESS ((DWORD) -1)
51
55
52
56
static const char manager_app_name [] = "ioio.manager" ;
Original file line number Diff line number Diff line change @@ -33,4 +33,4 @@ struct {
33
33
const char hardware [8 ];
34
34
const char bootloader [8 ];
35
35
} _version __attribute__((section ("version.sec" ), space (psv )))
36
- = { HW_IMPL_VER , "IOIO0400 " };
36
+ = { HW_IMPL_VER , "IOIO0401 " };
You can’t perform that action at this time.
0 commit comments