8000 shrink boards and remove non-circuitpython attributes in micropython … · cezer-io/circuitpython@34af8c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 34af8c3

Browse files
committed
shrink boards and remove non-circuitpython attributes in micropython module doc
1 parent 8c7b592 commit 34af8c3

File tree

3 files changed

+18
-10
lines changed

3 files changed

+18
-10
lines changed

docs/library/micropython.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Functions
2727
written which run under both CPython and MicroPython, by following the above
2828
pattern.
2929

30-
.. function:: opt_level([level])
30+
.. CIRCUITPY-CHANGE: REMOVE .. function:: opt_level([level])
3131
3232
If *level* is given then this function sets the optimisation level for subsequent
3333
compilation of scripts, and returns ``None``. Otherwise it returns the current
@@ -45,7 +45,7 @@ Functions
4545

4646
The default optimisation level is usually level 0.
4747

48-
.. function:: alloc_emergency_exception_buf(size)
48+
.. CIRCUITPY-CHANGE: REMOVE .. function:: alloc_emergency_exception_buf(size)
4949
5050
Allocate *size* bytes of RAM for the emergency exception buffer (a good
5151
size is around 100 bytes). The buffer is used to create exceptions in cases
@@ -56,7 +56,7 @@ Functions
5656
(eg ``boot.py`` or ``main.py``) and then the emergency exception buffer will be active
5757
for all the code following it.
5858

59-
.. function:: mem_info([verbose])
59+
.. CIRCUITPY-CHANGE: REMOVE .. function:: mem_info([verbose])
6060
6161
Print information about currently used memory. If the *verbose* argument
6262
is given then extra information is printed.
@@ -65,7 +65,7 @@ Functions
6565
includes the amount of stack and heap used. In verbose mode it prints out
6666
the entire heap indicating which blocks are used and which are free.
6767

68-
.. function:: qstr_info([verbose])
68+
.. CIRCUITPY-CHANGE: REMOVE .. function:: qstr_info([verbose])
6969
7070
Print information about currently interned strings. If the *verbose*
7171
argument is given then extra information is printed.
@@ -74,15 +74,15 @@ Functions
7474
includes the number of interned strings and the amount of RAM they use. In
7575
verbose mode it prints out the names of all RAM-interned strings.
7676

77-
.. function:: stack_use()
77+
.. CIRCUITPY-CHANGE: REMOVE .. function:: stack_use()
7878
7979
Return an integer representing the current amount of stack that is being
8080
used. The absolute value of this is not particularly useful, rather it
8181
should be used to compute differences in stack usage at different points.
8282

83-
.. function:: heap_lock()
84-
.. function:: heap_unlock()
85-
.. function:: heap_locked()
83+
.. CIRCUITPY-CHANGE: REMOVE .. function:: heap_lock()
84+
.. CIRCUITPY-CHANGE: REMOVE .. function:: heap_unlock()
85+
.. CIRCUITPY-CHANGE: REMOVE .. function:: heap_locked()
8686
8787
Lock or unlock the heap. When locked no memory allocation can occur and a
8888
`builtins.MemoryError` will be raised if any heap allocation is attempted.
@@ -102,7 +102,7 @@ Functions
102102
Note: `heap_locked()` is not enabled on most ports by default,
103103
requires ``MICROPY_PY_MICROPYTHON_HEAP_LOCKED``.
104104

105-
.. function:: kbd_intr(chr)
105+
.. CIRCUITPY-CHANGE: REMOVE .. function:: kbd_intr(chr)
106106
107107
Set the character that will raise a `KeyboardInterrupt` exception. By
108108
default this is set to 3 during script execution, corresponding to Ctrl-C.
@@ -113,7 +113,7 @@ Functions
113113
incoming stream of characters that is usually used for the REPL, in case
114114
that stream is used for other purposes.
115115

116-
.. function:: schedule(func, arg)
116+
.. CIRCUITPY-CHANGE: REMOVE .. function:: schedule(func, arg)
117117
118118
Schedule the function *func* to be executed "very soon". The function
119119
is passed the value *arg* as its single argument. "Very soon" means that

ports/espressif/boards/makergo_esp32c3_supermini/mpconfigboard.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@ CIRCUITPY_ESP_FLASH_MODE=dio
77
CIRCUITPY_ESP_FLASH_FREQ=80m
88
CIRCUITPY_ESP_FLASH_SIZE=4MB
99

10+
# Not enough flash space. (TEMP - may remove later)
1011
CIRCUITPY_CODEOP = 0
1112

1213
CIRCUITPY_LEGACY_4MB_FLASH_LAYOUT = 1
1314

1415
CIRCUITPY_ESP_USB_SERIAL_JTAG = 1
16+
17+
# Not enough pins. (TEMP - may remove later)
18+
CIRCUITPY_PARALLELDISPLAYBUS = 0
19+
CIRCUITPY_RGBMATRIX = 0

ports/espressif/boards/sunton_esp32_2424S012/mpconfigboard.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ CIRCUITPY_ESP_FLASH_SIZE=4MB
1010
CIRCUITPY_LEGACY_4MB_FLASH_LAYOUT = 1
1111

1212
CIRCUITPY_ESP_USB_SERIAL_JTAG = 1
13+
14+
# Not enough flash space.
15+
CIRCUITPY_CODEOP = 0

0 commit comments

Comments
 (0)
0