File tree 6 files changed +722
-32
lines changed
6 files changed +722
-32
lines changed Original file line number Diff line number Diff line change 13
13
// limitations under the License.
14
14
15
15
#include "bootloader.h"
16
+ #include "memory/spi_mem.h"
16
17
#include "mpu_regions.h"
17
18
#include "platform_config.h"
18
19
#include "platform_init.h"
@@ -55,6 +56,7 @@ int main(void)
55
56
#ifdef BOOTLOADER_DEVDEVICE
56
57
qtouch_init ();
57
58
#endif
59
+ spi_mem_protected_area_lock ();
58
60
bootloader_jump ();
59
61
60
62
const uint8_t * hww_data = NULL ;
Original file line number Diff line number Diff line change 17
17
#include "firmware_main_loop.h"
18
18
#include "hardfault.h"
19
19
#include "memory/bitbox02_smarteeprom.h"
20
+ #include "memory/spi_mem.h"
20
21
#include "platform/platform_config.h"
21
22
#include "platform_init.h"
22
23
#include "qtouch.h"
@@ -36,6 +37,8 @@ int main(void)
36
37
qtouch_init ();
37
38
common_main ();
38
39
bitbox02_smarteeprom_init ();
40
+ spi_mem_test ();
41
+ spi_mem_protected_area_lock ();
39
42
firmware_main_loop ();
40
43
return 0 ;
41
44
}
You can’t perform that action at this time.
0 commit comments