Jeff Epler
ee51968d9d
can't be static, is called from builtins
2023-09-20 11:24:45 -05:00
Jeff Epler
4ed939f26e
fix compile error
2023-09-20 11:24:26 -05:00
Jeff Epler
680b94d463
fix compile erors
2023-09-20 11:24:22 -05:00
Jeff Epler
be62395c47
fix indentation
2023-09-20 11:24:15 -05:00
Jeff Epler
f9fb567a07
fix CP vs MP differences in exception-throwing functions
2023-09-20 11:24:07 -05:00
Jeff Epler
37a881f4d3
Get the type object for the constructor call
2023-09-20 11:23:49 -05:00
Jeff Epler
082b299a0c
spelling
2023-09-20 11:23:39 -05:00
Jeff Epler
e7668ed91d
spelling
2023-09-20 11:23:34 -05:00
Jeff Epler
2b754b1f6b
spelling
2023-09-20 11:23:28 -05:00
Jeff Epler
a715f089f4
mpy-cross needs to know it's targeting circuitpython
2023-09-20 11:23:24 -05:00
Jeff Epler
d83285b7d5
update translations
2023-09-20 11:22:43 -05:00
Jeff Epler
8e00c69cdf
spelling
2023-09-20 11:22:34 -05:00
Jeff Epler
cd3ca6b6a6
fix array object name
2023-09-20 11:22:25 -05:00
Jeff Epler
fb2eb6a7d9
add mp_obj_is_tuple_compatible
2023-09-20 11:22:01 -05:00
Jeff Epler
e4e58ac223
add mp_obj_get_type_qstr
2023-09-20 11:21:56 -05:00
Jeff Epler
a9d6661d5b
add and fix exception prototypes
2023-09-20 11:21:50 -05:00
Jeff Epler
b499b7fdc2
add missing type objects
2023-09-20 11:21:34 -05:00
Jeff Epler
57c3dfd579
fix missing define of NONSTANDARD_TYPECODES
2023-09-20 11:21:10 -05:00
Jeff Epler
649ea62f57
fix typo
2023-09-20 11:21:02 -05:00
Jeff Epler
73612ac119
Fix availability of MP_ERROR_TEXT in misc.h
2023-09-20 11:20:56 -05:00
Jeff Epler
aceb573c88
fix makeversionhdr
2023-09-20 11:20:45 -05:00
Jeff Epler
dc277f0aff
fix HEAP_PTR macro
2023-09-20 11:20:39 -05:00
Jeff Epler
36371fe757
fix compiling gc.c
2023-09-20 11:20:29 -05:00
Jeff Epler
0c64275cc6
Add header for PLACE_IN_ITCM
2023-09-20 11:19:57 -05:00
Jeff Epler
e05f79a9c0
update pre-commit
2023-09-20 11:15:13 -05:00
Jeff Epler
5eb7320ae1
fix conditional compliation
2023-09-20 11:10:56 -05:00
Jeff Epler
b6722c30a2
update translations
2023-09-20 11:08:50 -05:00
Jeff Epler
02e54e5f4e
extmod: don't list files that don't exist in our tree
2023-09-20 11:08:12 -05:00
Damien George
a3862e7267
stm32/powerctrlboot: Allow PLL1 Q and R outputs to be enabled on H5.
...
If a board needs these outputs then it can define MICROPY_HW_CLK_PLLQ/R.
It saves power to not enable them if they are not needed.
Signed-off-by: Damien George <damien@micropython.org>
2023-09-20 18:56:52 +10:00
Angus Gratton
fa68523968
py/nlrx64: Mark nlr_push() as naked function when possible.
...
Supported from GCC 8 and up, and Compiler Explorer suggests it works as
expected with Clang since 3.6 (2014).
- Fixes situation where building embedded MicroPython with -O0 and
MICROPY_NLR_X64 crashes at runtime (due to nlr_push pushing the
frame pointer register EBP). Closes #12421 .
- Allows removing the macOS tweak to undo pushing EBP onto the stack
in the generated function prelude.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
2023-09-20 11:48:36 +10:00
Dan Halbert
4d175ab41a
convert to MP_DEFINED_CONST_OBJ_TYPE()
2023-09-19 21:09:29 -04:00
Scott Shawcroft
40a5313589
Merge pull request #8414 from dhalbert/samd51g-fixes
...
fix CPU on Monster M4SK; turn off audiobusio by default on SAMD51G
2023-09-19 09:52:29 -07:00
Dan Halbert
2c0fa0f7dc
initial merge from v1.20.0; just satisifying conflicts
2023-09-19 11:10:12 -04:00
Dan Halbert
931a6adb81
fix CPU on Monster M4SK; turn off audiobusio by default on SAMD51G
2023-09-18 21:28:00 -04:00
Dan Halbert
9e9dff4bf2
Merge pull request #8400 from jepler/update-rgbmatrix-docs
...
rgbmatrix: more small doc improvements
2023-09-18 18:31:39 -04:00
Scott Shawcroft
e39fbf1b26
Merge pull request #8401 from jepler/i2c-expander-init
...
Fast(ish) special purpose bitbang spi over i2c
2023-09-18 13:19:49 -07:00
Scott Shawcroft
c86b3ae19f
Update to merged idf changes
2023-09-18 11:18:04 -07:00
Jeff Epler
faa6887050
Use faster bus & remove final delay
...
this pushes the LCD initialization down to about 1.3s.
2023-09-18 13:00:18 -05:00
Jeff Epler
5a60b8d573
Only delay when explicitly called for
2023-09-18 12:58:54 -05:00
Jeff Epler
67e15bb6a2
makerfabs_tft7: rename properties to match docs
2023-09-18 10:35:49 -05:00
Jeff Epler
75ba82cdb0
lcd_ev: add timings; rename TFT -> TFT_PINS
2023-09-18 10:35:36 -05:00
Jeff Epler
4c682262e6
lcd_ev: fix compile error
2023-09-18 10:35:05 -05:00
Jeff Epler
ee86c7649f
fix markup, that's not a link
2023-09-18 10:23:01 -05:00
IhorNehrutsa
00930b213e
esp32/mphalport: Add function/line/file info to check_esp_err exception.
...
Currently, check_esp_err() raises an exception without a location in the
source code, eg:
Traceback (most recent call last):
File "<stdin>", line 8, in <module>
OSError: (-258, 'ESP_ERR_INVALID_ARG')
This commit allows additional error reporting (function, line and file) to
be enabled via detailed exceptions. Change the error reporting config to
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_DETAILED)
and then exception messages from IDF errors look like:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: (-258, "0x0102 ESP_ERR_INVALID_ARG in function 'set_duty_u16'
at line 342 in file './machine_pwm.c'")
Signed-off-by: Ihor Nehrutsa <IhorNehrutsa@gmail.com>
2023-09-18 11:26:43 +10:00
Damien George
b0e03b3e07
tools/autobuild: Include .bin firmware in renesas-ra build output.
...
Signed-off-by: Damien George <damien@micropython.org>
2023-09-18 11:05:14 +10:00
Damien George
9dd40d1b60
docs/conf.py: Add sphinxcontrib.jquery to extensions.
...
This is needed by recent versions of sphinx-rtd-theme.
Signed-off-by: Damien George <damien@micropython.org>
2023-09-18 11:02:27 +10:00
Scott Shawcroft
0547ef61f9
Update dotclock for IDF 5.0
2023-09-15 14:43:37 -07:00
Jeff Epler
2a78d16b54
add board.DISPLAY
2023-09-15 14:49:29 -05:00
Jeff Epler
68af5543af
set up display at reset (yayay!)
2023-09-15 14:46:28 -05:00
Jeff Epler
91b98dc9d5
fix constness
2023-09-15 14:45:53 -05:00