From bd97b139ebf36e67f6a95aa7644644bc4fedb184 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Thu, 21 Feb 2019 10:06:29 +1100 Subject: [PATCH 1/2] newlib: When using psram, link qsort to flash not IRAM --- components/newlib/esp32-spiram-rom-functions.lf | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/newlib/esp32-spiram-rom-functions.lf b/components/newlib/esp32-spiram-rom-functions.lf index 4249a70fb..02ef24bcb 100644 --- a/components/newlib/esp32-spiram-rom-functions.lf +++ b/components/newlib/esp32-spiram-rom-functions.lf @@ -20,7 +20,6 @@ entries: lib_a-labs (noflash) lib_a-ldiv (noflash) lib_a-quorem (noflash) - lib_a-qsort (noflash) lib_a-utoa (noflash) lib_a-itoa (noflash) lib_a-atoi (noflash) @@ -56,8 +55,6 @@ entries: lib_a-toascii (noflash) lib_a-systimes (noflash) lib_a-time (noflash) - lib_a-bsd_qsort_r (noflash) - lib_a-qsort_r (noflash) lib_a-gettzinfo (noflash) lib_a-strupr (noflash) lib_a-asctime_r (noflash) From 7f28bce42ef51475eeb2f583b9639ae84615d4e6 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Thu, 21 Feb 2019 10:26:07 +1100 Subject: [PATCH 2/2] newlib: When using psram, link setlocale() to flash not IRAM --- components/newlib/esp32-spiram-rom-functions.lf | 1 - 1 file changed, 1 deletion(-) diff --git a/components/newlib/esp32-spiram-rom-functions.lf b/components/newlib/esp32-spiram-rom-functions.lf index 02ef24bcb..d741395d9 100644 --- a/components/newlib/esp32-spiram-rom-functions.lf +++ b/components/newlib/esp32-spiram-rom-functions.lf @@ -37,7 +37,6 @@ entries: lib_a-fflush (noflash) lib_a-refill (noflash) lib_a-s_fpclassify (noflash) - lib_a-locale (noflash) lib_a-asctime (noflash) lib_a-ctime (noflash) lib_a-ctime_r (noflash)