We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bf0e2f commit 57db082Copy full SHA for 57db082
hal/stm32l5.c
@@ -25,7 +25,6 @@
25
26
#include "hal.h"
27
#include "hal/stm32l5.h"
28
-#include "printf.h"
29
30
31
static void RAMFUNCTION flash_set_waitstates(unsigned int waitstates)
@@ -152,13 +151,6 @@ int RAMFUNCTION hal_flash_erase(uint32_t address, int len)
152
151
uint32_t end_address;
153
uint32_t p;
154
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
-
162
hal_flash_clear_errors(0);
163
if (len == 0)
164
return -1;
0 commit comments