Skip to content

Commit 7ca843d

Browse files
committed
Fix PAX symbols and add PAX codecs symbols
1 parent 0bc3c81 commit 7ca843d

File tree

15 files changed

+259
-144
lines changed

15 files changed

+259
-144
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ idf_component_register(
88
"src/kbelf_lib_gcc.c"
99
"src/kbelf_lib_m.c"
1010
"src/kbelf_lib_pax_gfx.c"
11+
"src/kbelf_lib_pax_codecs.c"
1112
"src/kbelf_lib_pthread.c"
1213
"src/kbelfx.c"
1314
"kbelf/src/port/riscv.c"

fakelib/libbadge.so

0 Bytes
Binary file not shown.

fakelib/libc.so

0 Bytes
Binary file not shown.

fakelib/libgcc.so

0 Bytes
Binary file not shown.

fakelib/libm.so

0 Bytes
Binary file not shown.

fakelib/libpax-codecs.so

5.76 KB
Binary file not shown.

fakelib/libpax-gfx.so

1.23 KB
Binary file not shown.

fakelib/libpthread.so

0 Bytes
Binary file not shown.

idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
targets:
22
- esp32p4
33
dependencies:
4-
badgeteam/badge-elf-api: "0.1.0"
4+
badgeteam/badge-elf-api: "0.2.0"

src/badge_elf.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
#include "hal/cache_hal.h"
99
#include "kbelf.h"
1010
#include "soc/soc.h"
11+
#include "sdkconfig.h"
12+
13+
#if CONFIG_BOOTLOADER_REGION_PROTECTION_ENABLE
14+
#error Please disable CONFIG_BOOTLOADER_REGION_PROTECTION_ENABLE
15+
#endif
1116

1217
static char const TAG[] = "badge-elf";
1318

0 commit comments

Comments
 (0)