Search found 2754 matches

by jimmo
Wed Mar 03, 2021 5:51 am
Forum: General Discussion and Questions
Topic: Size of git repository
Replies: 8
Views: 3699

Re: Size of git repository

cyrano1960 wrote:
Tue Mar 02, 2021 11:03 am
I am using a NUCLEO_L476RG, an ESP32 and a Raspberry Pi Pico.
I think you need

git submodule update --init --recursive --depth=1 lib/berkeley-db-1.xx lib/stm32lib lib/pico-sdk
by jimmo
Wed Mar 03, 2021 5:45 am
Forum: ESP32 boards
Topic: Toolchain bindings in mpy files
Replies: 1
Views: 1027

Re: Toolchain bindings in mpy files

How do I create mpy module with bindings to IDF API? What needs to be included into Makefile or example? Unfortunately .mpy files cannot access any functions other than what's in dynruntime.h. At this stage they're mostly intended for writing high performance self-contained functionality in C. The ...
by jimmo
Wed Mar 03, 2021 5:41 am
Forum: General Discussion and Questions
Topic: base64 module not found
Replies: 2
Views: 1952

Re: base64 module not found

But this brings me to the next question: What would be the best way to install it in a new device automatically? (Without having to buiild micropython from sources). I am guessing, maybe, checking if it exists in the boot.py or in the main process and install it if it doesn't, or is there another r...
by jimmo
Wed Mar 03, 2021 5:36 am
Forum: General Discussion and Questions
Topic: How to Learn Python Quickly
Replies: 3
Views: 1558

Re: How to Learn Python Quickly

I have completed my internship in python and I want to build my career as a python developer but I don't know what's the step by step procedure for how to learn python? What did you cover in your internship? i.e. where do you need to start from? One of the best ways to learn is by having a project ...
by jimmo
Wed Mar 03, 2021 5:33 am
Forum: Programs, Libraries and Tools
Topic: Send and Run files over BLE REPL
Replies: 3
Views: 22858

Re: Send and Run files over BLE REPL

puttley wrote:
Tue Mar 02, 2021 3:35 am
Are there any examples that demonstrate how to do this?
Have a look at pyboard.py to see how to transmit files over the REPL (basically, it scripts the filesystem operations). https://github.com/micropython/micropyt ... pyboard.py
by jimmo
Wed Mar 03, 2021 5:31 am
Forum: Other Boards
Topic: [EV3] help with importing the ulab module
Replies: 2
Views: 1881

Re: [EV3] help with importing the ulab module

I am having trouble with importing the ulab module on the EV3 after having compiled it as described at https://github.com/v923z/micropython-ulab#unix-port I'm not entirely sure how the EV3 works -- does it run Linux? Are you compiling MicroPython on the EV3 itself? What's the difference between the...
by jimmo
Wed Mar 03, 2021 5:28 am
Forum: Development of MicroPython
Topic: make error buildung Micropython for RP2
Replies: 8
Views: 64160

Re: make error buildung Micropython for RP2

So I have manually created the build directory but I had little hope that this could be the error That line is supposed to create the build directory. the "[ -d build ] || ..." on the start means "if the build directory doesn't exist... ". cmake will create the build directory with the makefiles et...
by jimmo
Mon Mar 01, 2021 9:51 pm
Forum: General Discussion and Questions
Topic: Size of git repository
Replies: 8
Views: 3699

Re: Size of git repository

thanks a lot for this detailed explanation. Can you still please tell me how to load the smallest version to be able to generate a full firmware? Is it "--depth 1"? Or is it better only to download the zip-file in this case? Thanks again! Yeah it's "--depth 1" but also you need to do that for all t...
by jimmo
Sun Feb 28, 2021 10:58 pm
Forum: General Discussion and Questions
Topic: Size of git repository
Replies: 8
Views: 3699

Re: Size of git repository

What is the reason for this vast difference? When you download the zip file from github, you jsut get a snapshot of the latest code. When you clone the github repo, you get the full history. If you clone it recursively, you get the full history of all the submodules too. Additionally, a github repo...