Scott Shawcroft
8137e2d6d2
Switch all ports to auto-growing split heap
...
This simplifies allocating outside of the VM because the VM doesn't
take up all remaining memory by default.
On ESP we delegate to the IDF for allocations. For all other ports,
we use TLSF to manage an outer "port" heap. The IDF uses TLSF
internally and we use their fork for the other ports.
This also removes the dynamic C stack sizing. It wasn't often used
and is not possible with a fixed outer heap.
Fixes #8512 . Fixes #7334 .
2023-11-01 15:24:16 -07:00
Scott Shawcroft
48f4b0f7cb
Switch to gcc 12.3 for arm32
...
Fixes #7432
2023-10-17 11:43:38 -07:00
Dan Halbert
1c388ab315
finish converting to MP_REGISTER_ROOT_POINTER()
2023-09-29 10:49:34 -04:00
Dan Halbert
27c7807693
silabs build needs work; other builds are working
2023-08-13 19:05:16 -04:00
Dan Halbert
38f6fa27e3
fetch-port-submodules; fetch-all-submodules
2023-06-05 17:23:34 -04:00
MicroDev
b17364a447
conditionally build all languages
2023-03-04 15:08:54 +05:30
Scott Shawcroft
ad2d190507
Merge pull request #7247 from tannewt/picow_web_workflow
...
Enable* web workflow for Pico W
2022-11-28 14:19:42 -08:00
Scott Shawcroft
c3a96a63c0
Enable* web workflow for Pico W
...
* Except for circuitpython.local which depends on MDNS and will be
done in a follow up PR.
Progress on #7214
2022-11-21 16:24:05 -08:00
MicroDev
c3c1717813
refactor common port specific Makefile code
2022-11-18 23:00:28 +05:30
MicroDev
e2a3597263
add awesome new make error message
...
Copied from initial implementation on atmel-samd
Co-authored-by: Rose Hooper <rhooper@toybox.ca>
Co-authored-by: Jeff Epler <jepler@gmail.com>
2022-11-18 11:27:23 +05:30
Scott Shawcroft
9d10a3da66
Conditionalize LTO
2022-05-27 12:59:54 -07:00
Jeff Epler
ac978969f7
litex: Enable -Werror=missing-prototypes
2021-11-12 19:13:51 -06:00
Jeff Epler
414c2f9da6
Always use python3
...
.. similar to https://github.com/micropython/micropython/pull/4448
2021-10-15 15:11:21 -05:00
Scott Shawcroft
17fcd499b2
Merge pull request #4649 from tannewt/merge_1.11_2
...
Merge MicroPython v1.11 into CircuitPython
2021-04-27 11:02:02 -07:00
Scott Shawcroft
76033d5115
Merge MicroPython v1.11 into CircuitPython
2021-04-26 15:47:41 -07:00
Artyom Skrobov
4e3c1d4a4c
[build] Allow USB to be set to 0
...
Unify USB-related makefile var and C def as CIRCUITPY_USB.
Always define it as 0 or 1, same as all other settings.
USB_AVAILABLE was conditionally defined in supervisor.mk,
but never actually used to #ifdef USB-related code.
Loosely related to #4546
2021-04-23 11:13:34 -04:00
Dan Halbert
fb33c4e1c0
-ftree-vrp better diagnostics on -Os builds; -fno-inline-functions for -O2; fix struct init in HCI bleio
2020-12-15 12:23:56 -05:00
root
778e8bfda9
Changes to optimization option
2020-07-23 19:27:02 -05:00
root
d83a4ac72d
Changes to add compiler optimization option
2020-07-22 12:44:41 -05:00
root
49decf90c9
Add option for higher optimization levels
2020-07-21 10:11:08 -05:00
Diego Elio Pettenò
34b4993d63
Add license to some obvious files.
2020-07-06 19:16:25 +01:00
Scott Shawcroft
796373b8be
A number of small ESP32S2 fixes:
...
* Fix flash writes that don't end on a sector boundary. Fixes #2944
* Fix enum incompatibility with IDF.
* Fix printf output so it goes out debug UART.
* Increase stack size to 8k.
* Fix sleep of less than a tick so it doesn't crash.
2020-05-28 15:43:55 -07:00
Scott Shawcroft
75b7f583d2
Update LiteX APIs for new tick
2020-03-31 17:52:23 -07:00
Sean Cross
c69f7f8657
ports: litex: use dfu.py instead of dfu-suffix.py
...
dfu.py now generates proper dfu suffixes without the nonstandard prefix.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31 13:04:59 +08:00
Sean Cross
34ea140783
ports: fomu: build dfu as part of Makefile
...
Now that we have a replacement for `dfu-suffix`, construct a dfu
image rather than a UF2 image.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31 11:42:55 +08:00
Sean Cross
065441e58c
ports: litex: enable itcm region for fomu
...
This adds a new command line flag -DFOMU to indicate we're building
for a Fomu board.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31 09:40:38 +08:00
Sean Cross
786e79ebc9
ports: litex: add port and fomu board
...
This adds support for Litex, along with support for the Fomu FPGA board.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31 09:40:38 +08:00