mirror of https://github.com/wolfSSL/wolfBoot.git
Reviewers requests
- Removed stray printfs from elf.c - Updated test-configs.yml to include build tests for config filespull/562/head
parent
c841113ea7
commit
71f24248cf
|
@ -220,6 +220,24 @@ jobs:
|
||||||
config-file: ./config/examples/sim.config
|
config-file: ./config/examples/sim.config
|
||||||
make-args: CFLAGS_EXTRA=-DWOLFBOOT_FLASH_MULTI_SECTOR_ERASE
|
make-args: CFLAGS_EXTRA=-DWOLFBOOT_FLASH_MULTI_SECTOR_ERASE
|
||||||
|
|
||||||
|
sim_elf_scattered:
|
||||||
|
uses: ./.github/workflows/test-build.yml
|
||||||
|
with:
|
||||||
|
arch: host
|
||||||
|
config-file: ./config/examples/sim-elf-scattered.config
|
||||||
|
|
||||||
|
sim_elf_scattered_nobackup:
|
||||||
|
uses: ./.github/workflows/test-build.yml
|
||||||
|
with:
|
||||||
|
arch: host
|
||||||
|
config-file: ./config/examples/sim-elf-scattered.config
|
||||||
|
make-args: DISABLE_BACKUP=1
|
||||||
|
|
||||||
|
sim32_elf_scattered:
|
||||||
|
uses: ./.github/workflows/test-build.yml
|
||||||
|
with:
|
||||||
|
arch: host
|
||||||
|
config-file: ./config/examples/sim32-elf-scattered.config
|
||||||
|
|
||||||
# TODO: SP math with small stack has issues
|
# TODO: SP math with small stack has issues
|
||||||
|
|
||||||
|
|
|
@ -222,7 +222,7 @@ int elf_store_image_scattered(const unsigned char *hdr, unsigned long *entry_out
|
||||||
paddr = (unsigned long)ph[i].paddr;
|
paddr = (unsigned long)ph[i].paddr;
|
||||||
offset = (unsigned long)ph[i].offset;
|
offset = (unsigned long)ph[i].offset;
|
||||||
filesz = (unsigned long)ph[i].file_size;
|
filesz = (unsigned long)ph[i].file_size;
|
||||||
printf("Writing section at address %lx offset %lx\n", paddr, offset);
|
wolfBoot_printf("Writing section at address %lx offset %lx\n", paddr, offset);
|
||||||
#ifdef EXT_FLASH
|
#ifdef EXT_FLASH
|
||||||
if (ext_flash) {
|
if (ext_flash) {
|
||||||
ext_flash_unlock();
|
ext_flash_unlock();
|
||||||
|
@ -261,7 +261,7 @@ int elf_store_image_scattered(const unsigned char *hdr, unsigned long *entry_out
|
||||||
paddr = (unsigned long)ph[i].paddr;
|
paddr = (unsigned long)ph[i].paddr;
|
||||||
offset = (unsigned long)ph[i].offset;
|
offset = (unsigned long)ph[i].offset;
|
||||||
filesz = (unsigned long)ph[i].file_size;
|
filesz = (unsigned long)ph[i].file_size;
|
||||||
printf("Writing section at address %lx offset %lx\n", paddr, offset);
|
wolfBoot_printf("Writing section at address %lx offset %lx\n", paddr, offset);
|
||||||
#ifdef EXT_FLASH
|
#ifdef EXT_FLASH
|
||||||
if (ext_flash) {
|
if (ext_flash) {
|
||||||
ext_flash_unlock();
|
ext_flash_unlock();
|
||||||
|
|
Loading…
Reference in New Issue