Search found 4 matches
- Tue Sep 08, 2020 5:34 am
- Forum: Programs, Libraries and Tools
- Topic: How to add a C module to minimal port?
- Replies: 3
- Views: 2082
- Mon Sep 07, 2020 8:52 am
- Forum: Programs, Libraries and Tools
- Topic: How to add a C module to minimal port?
- Replies: 3
- Views: 2082
Re: How to add a C module to minimal port?
manually append SRC_MOD to SRC_C to build the C module.
But there are so many compiling errors.
Seems there are some dependencies to enable C module with minimal port. any flag to enable?
But there are so many compiling errors.
Seems there are some dependencies to enable C module with minimal port. any flag to enable?
- Mon Sep 07, 2020 7:26 am
- Forum: Programs, Libraries and Tools
- Topic: How to add a C module to minimal port?
- Replies: 3
- Views: 2082
How to add a C module to minimal port?
take ulab (https://github.com/v923z/micropython-ulab/) as an example, to build ulab module by "make USER_C_MODULES=../../../ulab all" It can be built with unix port: Including User C Module from ../../../ulab/code ....... CC ../../../ulab/code/ndarray.c CC ../../../ulab/code/ulab_create.c CC ../../....
- Wed Jul 29, 2020 4:51 am
- Forum: General Discussion and Questions
- Topic: Is it possible to run numpy with micropython ?
- Replies: 1
- Views: 1324
Is it possible to run numpy with micropython ?
NumPy consists of C and Python. For Python part, it imports some modules that micropython does not fully support. For C part, NumPy depends on CPython3.6+. It includes CPython header "Python.h". Regardless of RAM limitation, is it possible to put numpy to micropython? https://numpy.org/doc/stable/us...