Skip to content

Commit 4981914

Browse files
committed
Enable BL protection and 120s sleep timeout on brainpad
1 parent d3ac97b commit 4981914

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

boards/brainpad_arcade/board.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ __attribute__((section(".config"))) __attribute__((used)) //
1414
const uint32_t configData[] = {
1515
/* CF2 START */
1616
513675505, 539130489, // magic
17-
55, 100, // used entries, total entries
17+
57, 100, // used entries, total entries
1818
1, 0x2e, // PIN_ACCELEROMETER_INT = PC14
1919
2, 0x16, // PIN_ACCELEROMETER_SCL = PIN_D6
2020
3, 0x17, // PIN_ACCELEROMETER_SDA = PIN_D7
@@ -70,9 +70,11 @@ const uint32_t configData[] = {
7070
208, 0x16e42d61, // BOOTLOADER_BOARD_ID = 0x16e42d61
7171
209, 0x57755a57, // UF2_FAMILY = STM32F401
7272
210, 0x10, // PINS_PORT_SIZE = PA_16
73+
211, 0x1, // BOOTLOADER_PROTECTION = 1
74+
212, 0x78, // timeout = 120
7375
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
7476
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
75-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
77+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
7678
/* CF2 END */
7779
};
7880
#endif

0 commit comments

Comments
 (0)