hal: clean hal tests and PIC32C*.ld linker script

master
Marco Oliverio 2025-05-14 19:09:55 +02:00 committed by Daniele Lacamera
parent 1b9ec09b1a
commit e3c7f6c663
3 changed files with 3 additions and 15 deletions

View File

@ -40,7 +40,7 @@
int hal_flash_test(void)
{
int ret = 0;
uint32_t i, len;
uint32_t i;
uint8_t* pagePtr = (uint8_t*)TEST_ADDRESS;
static uint8_t pageData[TEST_SZ];
@ -110,7 +110,7 @@ int hal_flash_test_write_once(void)
hal_flash_lock();
if (ret != 0) {
wolfBoot_printf("Write failed at byte %d, bit %d: Ret %d\n", i, b, ret);
wolfBoot_printf("Write failed at bit %d: Ret %d\n", b, ret);
return -1;
}
@ -185,7 +185,7 @@ int hal_flash_test_align(void)
int hal_flash_test_dualbank(void)
{
int ret = 0;
uint32_t i, len;
uint32_t i;
uint8_t cur_fill = 0xb0;
uint8_t new_fill = 0xf0;
uint8_t fill;

View File

@ -15,11 +15,6 @@ SECTIONS
. = ALIGN(4);
_end_text = .;
} > FLASH
.edidx :
{
. = ALIGN(4);
*(.ARM.exidx*)
} > FLASH
.edidx :
{
@ -27,7 +22,6 @@ SECTIONS
*(.ARM.exidx*)
} > FLASH
_stored_data = .;
.data : AT (_stored_data)
{

View File

@ -15,11 +15,6 @@ SECTIONS
. = ALIGN(4);
_end_text = .;
} > FLASH
.edidx :
{
. = ALIGN(4);
*(.ARM.exidx*)
} > FLASH
.edidx :
{
@ -27,7 +22,6 @@ SECTIONS
*(.ARM.exidx*)
} > FLASH
_stored_data = .;
.data : AT (_stored_data)
{