mirror of https://github.com/wolfSSL/wolfBoot.git
hal: clean hal tests and PIC32C*.ld linker script
parent
1b9ec09b1a
commit
e3c7f6c663
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue