File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -50,16 +50,12 @@ volatile const uint8_t bootloader_data[] __attribute__ ((section (".bootloader_v
50
50
51
51
volatile const uint8_t bootloader_identifier[] __attribute__ ((section (" .bootloader_identification" ), used)) = " MCUboot Arduino" ;
52
52
53
-
54
-
55
53
DigitalOut red (BOARD_RED_LED, 1 );
56
54
DigitalOut green (BOARD_GREEN_LED, 1 );
57
55
DigitalOut blue (BOARD_BLUE_LED, 1 );
58
-
59
56
DigitalIn boot_sel (BOARD_BOOT_SEL,PullDown);
60
57
61
58
Ticker swap_ticker;
62
-
63
59
bool debug_enabled = false ;
64
60
65
61
static void led_swap_feedback_off (void ) {
@@ -117,8 +113,6 @@ int target_debug_init(void) {
117
113
return 0 ;
118
114
}
119
115
120
-
121
-
122
116
#if MCUBOOT_APPLICATION_DFU
123
117
USBD_HandleTypeDef USBD_Device;
124
118
extern PCD_HandleTypeDef hpcd;
@@ -179,7 +173,6 @@ static int start_dfu(void) {
179
173
}
180
174
181
175
int start_secure_application (void ) {
182
-
183
176
int rc;
184
177
185
178
BOOT_LOG_INF (" Starting MCUboot" );
@@ -209,7 +202,6 @@ int start_secure_application(void) {
209
202
}
210
203
211
204
int main (void ) {
212
-
213
205
target_debug_init ();
214
206
215
207
BOOT_LOG_INF (" Starting Arduino bootloader" );
You can’t perform that action at this time.
0 commit comments