build system: fix cxx init_priority not working on S3

This commit is contained in:
Marius Vikhammer 2021-07-08 12:19:56 +08:00
parent 4553654f40
commit fe921291d2
4 changed files with 4 additions and 4 deletions

View File

@ -327,7 +327,7 @@ SECTIONS
/* C++ constructor and destructor tables */ /* C++ constructor and destructor tables */
/* Don't include anything from crtbegin.o or crtend.o, as IDF doesn't use toolchain crt */ /* Don't include anything from crtbegin.o or crtend.o, as IDF doesn't use toolchain crt */
__init_array_start = ABSOLUTE(.); __init_array_start = ABSOLUTE(.);
KEEP (*(EXCLUDE_FILE (*crtend.* *crtbegin.*) .ctors .ctors.*)) KEEP (*(EXCLUDE_FILE (*crtend.* *crtbegin.*) .ctors SORT(.ctors.*)))
__init_array_end = ABSOLUTE(.); __init_array_end = ABSOLUTE(.);
KEEP (*crtbegin.*(.dtors)) KEEP (*crtbegin.*(.dtors))
KEEP (*(EXCLUDE_FILE (*crtend.*) .dtors)) KEEP (*(EXCLUDE_FILE (*crtend.*) .dtors))

View File

@ -33,7 +33,7 @@
#if SOC_LCD_RGB_SUPPORTED #if SOC_LCD_RGB_SUPPORTED
#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32S3) #if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32S3)
/* Not enough memory for framebuffer when running in default_2 config */ /* Not enough memory for framebuffer when running in default_2 config TODO IDF-3565 */
TEST_CASE("lcd rgb lcd panel", "[lcd]") TEST_CASE("lcd rgb lcd panel", "[lcd]")
{ {

View File

@ -343,4 +343,4 @@ static void test_wifi_connection_softap(void)
TEST_CASE_MULTIPLE_DEVICES("test wifi retain connection for 60s", "[wifi][test_env=UT_T2_1][timeout=90]", test_wifi_connection_sta, test_wifi_connection_softap); TEST_CASE_MULTIPLE_DEVICES("test wifi retain connection for 60s", "[wifi][test_env=UT_T2_1][timeout=90]", test_wifi_connection_sta, test_wifi_connection_softap);
#endif //!TEMPORARY_DISABLED_FOR_TARGETS(ESP32S2, ESP32C3) #endif //!TEMPORARY_DISABLED_FOR_TARGETS(ESP32S2, ESP32S3, ESP32C3)

View File

@ -243,4 +243,4 @@ static void test_wifi_roc(void)
TEST_CASE_MULTIPLE_DEVICES("test ROC and Offchannel Action Frame Tx", "[Offchan][test_env=UT_T2_1][timeout=90]", test_wifi_roc, test_wifi_offchan_tx); TEST_CASE_MULTIPLE_DEVICES("test ROC and Offchannel Action Frame Tx", "[Offchan][test_env=UT_T2_1][timeout=90]", test_wifi_roc, test_wifi_offchan_tx);
#endif //!TEMPORARY_DISABLED_FOR_TARGETS(ESP32S2, ESP32C3) #endif //!TEMPORARY_DISABLED_FOR_TARGETS(ESP32S2, ESP32S3, ESP32C3)