Phil Howard
6a3ba0d421
MicroPython: Shim MP_REGISTER_MODULE for >1.18 compat.
...
MicroPython has changed MP_REGISTER_MODULE to use only *two* args and now runs the preprocessing stage on files before running makemoduledefs.py.
This change avoids the build exploding, since the new regex matches the last two args as a single argument and generates a malformed module defs include.
The pattern here exploits the fact that 1.18 and below do not preprocess files, so *both* MP_REGISTER_MODULE lines are included in the source, but *only* the three arg version is matched by regex.
In >1.18 the files will be processed and the three arg version removed before makemoduledefs.py processes it.
2022-06-14 12:08:47 +01:00
Phil Howard
bc0390b86c
MicroPython: Use placement new to alloc classes on GC_HEAP
2022-05-23 15:34:49 +01:00
ZodiusInfuser
51d08bebd9
Optimized most motor functions
2022-05-12 23:49:31 +01:00
ZodiusInfuser
71f0ea76ed
Further Motor documentation
2022-05-09 18:20:48 +01:00
ZodiusInfuser
3bbf733bfb
Further Motor documentation
2022-05-09 18:19:48 +01:00
ZodiusInfuser
13ac475b7c
Further Motor documentation
2022-05-09 18:16:41 +01:00
ZodiusInfuser
6c9f4a9235
Further Motor documentation
2022-05-09 17:26:44 +01:00
ZodiusInfuser
7499cc0378
Further Motor documentation
2022-05-09 17:07:14 +01:00
ZodiusInfuser
71a7a80218
Finalise motor API
2022-04-29 13:02:00 +01:00
ZodiusInfuser
898e4bace4
Finalised motor cluster frequency, and disabled loading zone
2022-04-29 00:09:19 +01:00
ZodiusInfuser
56451bff30
Finished MP examples
2022-04-26 12:52:28 +01:00
ZodiusInfuser
0efe210c4c
Added in PH_EN motor driver, and zeropoint support
2022-04-25 16:16:02 +01:00
ZodiusInfuser
7608e3f293
Encoder driver finalising
2022-04-25 12:28:42 +01:00
ZodiusInfuser
652612fc31
Removed old C++ motor implementation
2022-04-22 13:59:40 +01:00
ZodiusInfuser
8ef0d33f0c
Finalised more examples
2022-04-20 18:55:39 +01:00
ZodiusInfuser
ae191697f2
Added a motor profiler example and finished constructor args
2022-04-20 14:26:32 +01:00
ZodiusInfuser
96070f61af
Started on motor readme, and updated API elements accordingly
2022-04-12 17:00:39 +01:00
ZodiusInfuser
0facfaa540
Updated MP bindings to newest C++
2022-04-11 17:59:16 +01:00
ZodiusInfuser
f3c0a305f2
Improvements to MotorState
2022-04-09 01:41:42 +01:00
ZodiusInfuser
7e9860e780
More mp binding and example work
2022-04-07 17:57:38 +01:00
ZodiusInfuser
b36993f492
First setup of motor micropython bindings
2022-04-05 20:44:03 +01:00