From fe2495a2f72d01c30ccbcb45eb60457f9f526a1d Mon Sep 17 00:00:00 2001 From: Sudeep Mohanty Date: Thu, 8 Aug 2024 12:33:48 +0200 Subject: [PATCH] test(freertos): Added build test for function in flash with -Os optimation This commit adds a build test for when FreeRTOS and esp_ringbuf functions are placed in flash and the compiler optimizes for code size. --- .../system/build_test/sdkconfig.ci.func_in_flash_with_Os | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tools/test_apps/system/build_test/sdkconfig.ci.func_in_flash_with_Os diff --git a/tools/test_apps/system/build_test/sdkconfig.ci.func_in_flash_with_Os b/tools/test_apps/system/build_test/sdkconfig.ci.func_in_flash_with_Os new file mode 100644 index 0000000000..a8af29c111 --- /dev/null +++ b/tools/test_apps/system/build_test/sdkconfig.ci.func_in_flash_with_Os @@ -0,0 +1,4 @@ +CONFIG_COMPILER_OPTIMIZATION_SIZE=y +CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y +CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH=y +CONFIG_RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH=y