Skip to content

Commit fca80c9

Browse files
committed
stm32l5 hal: removed debug printf
1 parent d0ea72f commit fca80c9

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

hal/stm32l5.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
#include "hal.h"
2727
#include "hal/stm32l5.h"
28-
#include "printf.h"
2928

3029

3130
static void RAMFUNCTION flash_set_waitstates(unsigned int waitstates)
@@ -152,13 +151,6 @@ int RAMFUNCTION hal_flash_erase(uint32_t address, int len)
152151
uint32_t end_address;
153152
uint32_t p;
154153

155-
if (address < WOLFBOOT_PARTITION_BOOT_ADDRESS) {
156-
wolfBoot_printf("hal_flash_erase: addr=0x%08x len=%d (below boot)\n",
157-
address, len);
158-
} else {
159-
wolfBoot_printf("hal_flash_erase: addr=0x%08x len=%d\n", address, len);
160-
}
161-
162154
hal_flash_clear_errors(0);
163155
if (len == 0)
164156
return -1;

0 commit comments

Comments
 (0)