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
5050
5151volatile const uint8_t bootloader_identifier[] __attribute__ ((section (" .bootloader_identification" ), used)) = " MCUboot Arduino" ;
5252
53-
54-
5553DigitalOut red (BOARD_RED_LED, 1 );
5654DigitalOut green (BOARD_GREEN_LED, 1 );
5755DigitalOut blue (BOARD_BLUE_LED, 1 );
58-
5956DigitalIn boot_sel (BOARD_BOOT_SEL,PullDown);
6057
6158Ticker swap_ticker;
62-
6359bool debug_enabled = false ;
6460
6561static void led_swap_feedback_off (void ) {
@@ -117,8 +113,6 @@ int target_debug_init(void) {
117113 return 0 ;
118114}
119115
120-
121-
122116#if MCUBOOT_APPLICATION_DFU
123117USBD_HandleTypeDef USBD_Device;
124118extern PCD_HandleTypeDef hpcd;
@@ -179,7 +173,6 @@ static int start_dfu(void) {
179173}
180174
181175int start_secure_application (void ) {
182-
183176 int rc;
184177
185178 BOOT_LOG_INF (" Starting MCUboot" );
@@ -209,7 +202,6 @@ int start_secure_application(void) {
209202}
210203
211204int main (void ) {
212-
213205 target_debug_init ();
214206
215207 BOOT_LOG_INF (" Starting Arduino bootloader" );
You can’t perform that action at this time.
0 commit comments