Commit graph

936 commits

Author SHA1 Message Date
Jeff Epler
d9082f86ed workflows: Add CircuitPython check-stubs & doc building to CI 2021-04-04 20:20:57 -05:00
Jeff Epler
25c8701d75 workflows: Reenable CI against CircuitPython (main branch) 2021-04-04 20:03:30 -05:00
Jeff Epler
e66eb74361
Merge pull request #360 from jepler/cp-2.6.0
Changes relative to 2.6.0 to allow building on CircuitPython
2021-04-04 20:00:41 -05:00
ef65415b55 CircuitPython make check-stubs fixes 2021-04-03 12:10:08 -05:00
4666bbd4de Fix diagnostics in CircuitPython 2021-04-03 12:07:12 -05:00
9cd13000b7 ulab.array -> ulab.ndarray
This was flagged as an error in building circuitpython, since ulab.array
doesn't name a type object.

# Conflicts:
#	code/numpy/linalg/linalg.c
2021-04-03 12:06:07 -05:00
fe6677335f code: Add a docstring for numpy, scipy packages
.. this fixes a problem in CircuitPython where building the docs would say
"../shared-bindings/ulab/numpy/approx/index.rst: WARNING: document isn't included in any toctree"
2021-04-03 12:05:42 -05:00
Zoltán Vörös
c1b8f9d687
updated version number 2021-04-02 13:00:10 +02:00
Zoltán Vörös
27203ea6dd
Merge pull request #357 from Crazyhackelkorn/ardupy_openmv
The PR adds pre-processor switches for compilation with older `micropython` versions.
2021-04-01 10:35:14 +02:00
Stephan Hartl
da9eb89e9a Changed define OPENMV to micropython version check
The issue with is solved only coresponed to micropython v1.11
2021-04-01 09:49:42 +02:00
Zoltán Vörös
5c6d43bae5
Merge pull request #358 from v923z/snippets
add rclass
2021-04-01 07:54:55 +02:00
Zoltán Vörös
7e6a5f9fc9
Update snippets/rclass.py
Co-authored-by: Cal Hays <callumjhays@gmail.com>
2021-04-01 07:53:04 +02:00
Zoltán Vörös
4701338c28 add rclass 2021-03-31 20:49:53 +02:00
Stephan Hartl
04f6fd68f9 Readd some OPENMV code
I used the OPENMV define to get ulab 1.6.1 under ArduPy (Mircopython v1.11) running.
To update to 2.1.5 i have readded the missing code
2021-03-31 16:18:30 +02:00
Stephan Hartl
07545f5156 add relativ path for ulab.h and ndarray.h
Some header files didn't had relative path.
Compiling Ardupy didn't finde the files.
In C files ist the path right
2021-03-31 16:11:09 +02:00
Zoltán Vörös
7a183e1fa0
Merge pull request #353 from v923z/where
add where
2021-03-31 08:04:47 +02:00
Zoltán Vörös
3f0068beb3
Merge pull request #356 from pimoroni/patch-cmake-instructions
Update RP2 build script and README instructions
2021-03-31 08:04:20 +02:00
Zoltán Vörös
2407d5e289 fix trivial error in ndarray_from_mp_object 2021-03-31 07:24:52 +02:00
Zoltán Vörös
032e891545 add where tests 2021-03-31 07:11:33 +02:00
Phil Howard
adc260a2b9 Update RP2 build instructions to use upstream 2021-03-30 16:48:39 +01:00
Phil Howard
962450a3ab Update build/rp2.sh to use upstream micropython 2021-03-30 16:47:55 +01:00
Zoltán Vörös
24caf74d90
Update README.md 2021-03-28 16:19:33 +02:00
Zoltán Vörös
1af6c9b0d1
Update README.md 2021-03-28 16:17:07 +02:00
Zoltán Vörös
7a6207079a
Update README.md 2021-03-28 16:14:43 +02:00
Zoltán Vörös
5890f0e193
Merge pull request #352 from pimoroni/patch-cmake-debug
Remove debug output from code/usermod.cmake
2021-03-26 09:44:07 +01:00
Phil Howard
a630f2ae23 Add build script for rp2 port 2021-03-25 21:38:38 +00:00
Phil Howard
a0ebea086b Update CMake documentation for rp2/esp32 2021-03-25 21:11:13 +00:00
Phil Howard
571286a10e code/micropython.cmake: drop redundant -D 2021-03-25 21:11:13 +00:00
Phil Howard
74371a8acb Move code/usermod.cmake to code/micropython.cmake 2021-03-25 21:11:13 +00:00
Phil Howard
655aa2ccd1 Remove debug output from code/usermod.cmake 2021-03-25 21:11:13 +00:00
Zoltán Vörös
064cb67b88
fix esp32 link 2021-03-23 19:39:57 +01:00
Zoltán Vörös
74e11c9bff
add link to esp32 build script 2021-03-23 19:38:31 +01:00
Zoltán Vörös
84caddf2a4
Merge pull request #354 from v923z/build
add build script for esp32
2021-03-23 19:27:30 +01:00
Zoltán Vörös
97e1ab98fa add build script for esp32 2021-03-23 19:26:22 +01:00
Zoltán Vörös
b996a16be3 add where documentation 2021-03-23 17:28:17 +01:00
Zoltán Vörös
6668bb3060 add where implementation 2021-03-23 17:09:27 +01:00
Zoltán Vörös
fbca8d8396
Merge pull request #351 from v923z/esp
fix ESP32 compilation error and instructions
2021-03-21 18:53:48 +01:00
Zoltán Vörös
8d77d959cc fix ulab directory 2021-03-21 18:52:17 +01:00
Zoltán Vörös
8d185cf2fc spell out installation directory 2021-03-21 18:50:51 +01:00
Zoltán Vörös
bdca1c328e fix typo 2021-03-21 18:47:57 +01:00
Zoltán Vörös
db71303fb0 fix ESP32 compilation error and instructions 2021-03-21 18:43:18 +01:00
Zoltán Vörös
714a3b8727
Merge pull request #348 from v923z/all-any-test
add any/all test script
2021-03-13 18:15:44 +01:00
Zoltán Vörös
fde76a4160 add any/all test script 2021-03-13 18:12:50 +01:00
Zoltán Vörös
ee7fb20898
Update README.md 2021-03-12 22:06:19 +01:00
Zoltán Vörös
ba46921524
Merge pull request #346 from pimoroni/patch-cmake-user-c-module-support
USER_C_MODULES cmake support for rp2 and esp32
2021-03-12 22:00:24 +01:00
Phil Howard
51b5f8b930 USER_C_MODULES cmake support for rp2 and esp32
This change introduces `usermod.cmake`, the CMake configuration required to make
this library compatible with the CMake build systems for the rp2 (Raspberry Pi Pico/RP2040)
and esp32 ports of MicroPython.

This is effectively 1:1 in functionality with `micropython.mk` and defines the source files,
include directories and compile arguments needed to build the module.

See https://github.com/micropython/micropython/pull/6960 for discussion.
2021-03-12 20:53:33 +00:00
Zoltán Vörös
d460dbcc7f
Update README.md 2021-03-12 21:11:47 +01:00
Zoltán Vörös
ef80991418
Merge pull request #347 from jsimonrichard/patch-1
📝 Add rp2 firmware instructions
2021-03-11 06:58:19 +01:00
Simon Richard
17be6e6188
📝 Add rp2 firmware instructions
Add instructions for compiling micropython with ulab for the rp2 port.
2021-03-10 16:58:21 -05:00
Zoltán Vörös
b3b22ab638
Merge pull request #344 from v923z/dot-test
fix dot test
2021-03-08 18:45:12 +01:00