Search found 17 matches

by walecka
Thu May 21, 2020 8:38 pm
Forum: Programs, Libraries and Tools
Topic: Can't connect to my board with rshell, File Size Issues with pyboard.py
Replies: 13
Views: 9638

Can't connect to my board with rshell, File Size Issues with pyboard.py

Big Picture: I am working on an STM32 B-L475E-IOT01A discovery board. I am trying to upload a few libraries I have written onto my board, and have run into issues with both rshell and pyboard.py Rshell: I have been unable to connect to my board via Rshell. whenever I enter the command rshell connec...
by walecka
Wed May 13, 2020 6:32 pm
Forum: Programs, Libraries and Tools
Topic: Bluetooth library for B_L475E_IOT01A1
Replies: 3
Views: 2298

Bluetooth library for B_L475E_IOT01A1

1) Is there a library that enables use of the stm32 B_L475E_IOT01A1's onboard SPBTLE-RF bluetooth module? I can see that there is a library in "Micropython-specific libraries" called ubluetooth that looks like exactly what I am after, but I am unable to import it onto my board from the REPL. That le...
by walecka
Mon Apr 27, 2020 9:35 pm
Forum: General Discussion and Questions
Topic: issue with "from example_dir import *"
Replies: 1
Views: 1227

issue with "from example_dir import *"

i have loaded a directory with library module files onto my device using the ./pyboard tool such that the directory tree on my device looks like this /flash 'boot.py' 'main.py' /example_dir 'mod1.py' 'mod2.py' '__init__.py' __init__.py contains only the following line of code: __all__ = ["mod1", "mo...
by walecka
Tue Apr 21, 2020 8:38 am
Forum: Programs, Libraries and Tools
Topic: How to import other .py library file on non-pyboard stm32?
Replies: 4
Views: 2267

Re: How to import other .py library file on non-pyboard stm32?

the contents of the USB drive that shows up are: DETAILS.TXT and MBED.HTM. The name of the drive on my desktop is NODE_F446RE. I was indeed connected to the ST-Link usb port rather than the MCU. The exact board I am using is the Nucleo-64 STM32F446RE. I was able to copy a file using pyboard.py from ...
by walecka
Tue Apr 21, 2020 5:52 am
Forum: Programs, Libraries and Tools
Topic: How to import other .py library file on non-pyboard stm32?
Replies: 4
Views: 2267

Re: How to import other .py library file on non-pyboard stm32?

In order to get files into this directory, what do I need to do? Simply dragging and dropping my file into my device (in mass-storage mode) is not working. Also, when I open up my device (in storage mode), I do not see main.py or boot.py, so I believe this is the wrong place. I guess my real questio...
by walecka
Tue Apr 21, 2020 1:21 am
Forum: Programs, Libraries and Tools
Topic: How to import other .py library file on non-pyboard stm32?
Replies: 4
Views: 2267

How to import other .py library file on non-pyboard stm32?

Say I have written a python library that imports pyb and calls pyb hardware-accessing functions (SPI, I2C, etc) Where should I place my .py file (what directory) so that, when I compile and connect to my board (STM32F446RE, for reference), I can import this library and call its functions from the RE...
by walecka
Wed Apr 08, 2020 10:20 pm
Forum: General Discussion and Questions
Topic: microPython Code Structure Help for a Beginner
Replies: 1
Views: 1324

microPython Code Structure Help for a Beginner

Apologies in advance for the simplistic nature of the question. I am guessing that the information I seek already exists somewhere, and in my experience these types of forum posts are likely to generate snarky/condescending responses. I promise I have cloned and scoured the microPython directory and...