Skip to content

Switch all ports to auto-growing split heap #8553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -351,3 +351,6 @@
[submodule "lib/certificates"]
path = lib/certificates
url = https://github.com/adafruit/certificates
[submodule "lib/tlsf"]
path = lib/tlsf
url = https://github.com/espressif/tlsf.git
14 changes: 14 additions & 0 deletions lib/libm/fabsf.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*****************************************************************************/
/*****************************************************************************/
// fabsf from musl-0.9.15
/*****************************************************************************/
/*****************************************************************************/

#include "libm.h"

float fabsf(float x)
{
union {float f; uint32_t i;} u = {x};
u.i &= 0x7fffffff;
return u.f;
}
1 change: 1 addition & 0 deletions lib/tlsf
Submodule tlsf added at 8c9cd0
14 changes: 2 additions & 12 deletions locale/circuitpython.pot
Original file line number Diff line number Diff line change
Expand Up @@ -1271,10 +1271,6 @@ msgstr ""
msgid "Invalid BSSID"
msgstr ""

#: main.c
msgid "Invalid CIRCUITPY_PYSTACK_SIZE\n"
msgstr ""

#: shared-bindings/wifi/Radio.c
msgid "Invalid MAC address"
msgstr ""
Expand Down Expand Up @@ -2164,7 +2160,7 @@ msgid "Unable to allocate buffers for signed conversion"
msgstr ""

#: supervisor/shared/safe_mode.c
msgid "Unable to allocate the heap."
msgid "Unable to allocate to the heap."
msgstr ""

#: ports/espressif/common-hal/busio/I2C.c
Expand Down Expand Up @@ -2735,7 +2731,7 @@ msgstr ""
msgid "can't set attribute"
msgstr ""

#: py/runtime.c shared-bindings/supervisor/Runtime.c
#: py/runtime.c
msgid "can't set attribute '%q'"
msgstr ""

Expand Down Expand Up @@ -3004,12 +3000,6 @@ msgstr ""
msgid "error = 0x%08lX"
msgstr ""

#: ports/espressif/common-hal/espcamera/Camera.c
msgid ""
"espcamera.Camera requires reserved PSRAM to be configured. See the "
"documentation for instructions."
msgstr ""

#: py/runtime.c
msgid "exceptions must derive from BaseException"
msgstr ""
Expand Down
Loading