diff --git a/apps/examples/hello/hello_main.c b/apps/examples/hello/hello_main.c index ada58ad5d5..c5ff57114d 100644 --- a/apps/examples/hello/hello_main.c +++ b/apps/examples/hello/hello_main.c @@ -61,12 +61,15 @@ * hello_main ****************************************************************************/ +__attribute__ ((__noinline__)) +void * get_pc () { return __builtin_return_address(0); } + #ifdef CONFIG_BUILD_KERNEL int main(int argc, FAR char *argv[]) #else int hello_main(int argc, char *argv[]) #endif { - printf("Hello, World!!\n"); + printf("Hello, World!!, pc : %p\n", get_pc()); return 0; } diff --git a/build/configs/rtl8730e/loadable_ext_ddr/defconfig b/build/configs/rtl8730e/loadable_ext_ddr/defconfig index 59ebbfb011..7bbce21319 100644 --- a/build/configs/rtl8730e/loadable_ext_ddr/defconfig +++ b/build/configs/rtl8730e/loadable_ext_ddr/defconfig @@ -28,7 +28,7 @@ CONFIG_NUM_APPS=1 CONFIG_SUPPORT_COMMON_BINARY=y CONFIG_COMMON_BINARY_VERSION="200204" CONFIG_COMMON_BINARY_NAME="common" -CONFIG_COMMON_BIN_STATIC_RAMSIZE=524288 +CONFIG_COMMON_BIN_STATIC_RAMSIZE=1048576 CONFIG_NUM_L2_PER_APP=4 CONFIG_BUILD_PROTECTED=y CONFIG_BUILD_2PASS=y @@ -1743,7 +1743,7 @@ CONFIG_APP1_INFO=y CONFIG_APP1_BIN_NAME="app1" CONFIG_APP1_BIN_TYPE="ELF" CONFIG_APP1_BIN_VER=190412 -CONFIG_APP1_BIN_DYN_RAMSIZE=5242880 +CONFIG_APP1_BIN_DYN_RAMSIZE=20971520 CONFIG_APP1_BIN_LOADING_PRIORITY="LOW" CONFIG_APP1_MAIN_STACKSIZE=8192 CONFIG_APP1_MAIN_PRIORITY=180