Search found 3203 matches

by dhylands
Wed Aug 21, 2019 4:07 pm
Forum: General Discussion and Questions
Topic: Best practices for debug and logging output in library modules
Replies: 1
Views: 19

Re: Best practices for debug and logging output in library modules

The first few posts for each user require moderator approval. During this time, BBCode is also disabled. Once you've made enough posts that you no longer require moderator approval, then BBCode gets enabled, including for your original posts which required moderator approval.
by dhylands
Thu Aug 15, 2019 9:42 pm
Forum: Hardware Projects
Topic: Errors when trying to build
Replies: 4
Views: 109

Re: Errors when trying to build

You need to make sure you have this line:
https://github.com/micropython/micropyt ... ard.mk#L10 (i.e. MICROPY_PY_LWIP = 1) in your mpconfigboard.mk file
by dhylands
Sat Aug 03, 2019 12:20 pm
Forum: ESP32 boards
Topic: rshell Wireless port?
Replies: 2
Views: 137

Re: rshell Wireless port?

Currently, the only wireless connection supported by rshell is via telnet. This was created for the WiPy.
by dhylands
Tue Jul 23, 2019 9:04 pm
Forum: General Discussion and Questions
Topic: MicroPython minimal port on NUCLEO F446ZE
Replies: 6
Views: 211

Re: MicroPython minimal port on NUCLEO F446ZE

Do you have an up-to-date micropython tree?

There was an issue which was fixed about 3 weeks ago. I get the following on my NUCLEO_F446RE:

Code: Select all

MicroPython v1.11-167-g331c224e0-dirty on 2019-07-23; minimal with unknown-cpu
>>> print('Hey there')
Hey there
>>> x = 3
>>> print(x)
3
>>> 
by dhylands
Wed Jul 17, 2019 9:24 pm
Forum: General Discussion and Questions
Topic: Communication between micropython boards
Replies: 1
Views: 136

Re: Communication between micropython boards

Sure. There are many ways of doing this, it really depends on the specifics of the type of data you want to pass. For example, I wrote some code which sends data over a serial link using JSON: https://github.com/dhylands/json-ipc That code actually sends arbitrary packets up to 64K in length, and th...
by dhylands
Wed Jul 17, 2019 2:49 am
Forum: ESP32 boards
Topic: main.py does not appear to working after boot
Replies: 47
Views: 1039

Re: main.py does not appear to working after boot

Just as a sanity test, I compiled the latest MicroPython for ESP32 and flashed my SparkFun ESP32 Thng. I edited the default boot.py to be: # This file is executed on every boot (including wake-boot from deepsleep) #import esp #esp.osdebug(None) #import webrepl #webrepl.start() print('Executing boot....
by dhylands
Wed Jul 17, 2019 1:04 am
Forum: ESP32 boards
Topic: main.py does not appear to working after boot
Replies: 47
Views: 1039

Re: main.py does not appear to working after boot

I normally put prints in boot.py and main.py if I'm trying to verify what's getting executed.
by dhylands
Sat Jul 13, 2019 12:00 am
Forum: Other Boards
Topic: micropython on PPC target
Replies: 1
Views: 103

Re: micropython on PPC target

You should probably start with the minimal port, and modify it to get something simple working.

You'll need to implement the uart_core.c function for your MCU. You'll then be able to get a very basic Micropython REPL on the uart port.
by dhylands
Fri Jul 12, 2019 2:48 pm
Forum: ESP32 boards
Topic: date time system
Replies: 4
Views: 238

Re: date time system

If you happen to be using rshell, it sets the time of the board to match the time of the PC.