Search found 1633 matches

by jimmo
Mon Mar 23, 2020 12:15 am
Forum: Pyboard D-series
Topic: CYW4343x Firmware update
Replies: 7
Views: 527

Re: CYW4343x Firmware update

Hi, That offset is specific to the BT firmware that is loaded via HCI. The main cyw firmware (for WiFi etc) is loaded separately (entirely within libcyw43.a I presume). What are you actually trying to do? It might be reaching out to George Robotics (e.g. http://micropython.org/contact/ ) if you need...
by jimmo
Mon Mar 23, 2020 12:07 am
Forum: General Discussion and Questions
Topic: How to manipulate a datastream between UART and uos.dupterm
Replies: 2
Views: 284

Re: How to manipulate a datastream between UART and uos.dupterm

The last line -- "uos.dupterm(QC)" should be "uos.dupterm(QC())" (you need to create an instance of the QC class). It's generally a good idea to pass the "slot index" to dupterm too. (There's three slots, you manage them independently. Slot 1 is by default the USB VCP if enabled. If you don't specif...
by jimmo
Sun Mar 22, 2020 9:27 am
Forum: ESP32 boards
Topic: How to get BLE beacons
Replies: 8
Views: 1030

Re: How to get BLE beacons

Yes, if this were a real program, definitely.
by jimmo
Sun Mar 22, 2020 9:08 am
Forum: Other Boards
Topic: [Particle_Xenon/NRF5X] build fails - tinyusb hal file missing
Replies: 6
Views: 352

Re: [Particle_Xenon/NRF5X] build fails - tinyusb hal file missing

Were you previously able to build for NRF before a recent update to master? I think this is likely to be due to a weird git quirk when submodules (e.g. tinyusb) change the path to their own submodules (e.g. tinyusb's nrf drivers). So try doing git submodule deinit -f lib/tinyusb rm -rf .git/modules/...
by jimmo
Sun Mar 22, 2020 3:27 am
Forum: Programs, Libraries and Tools
Topic: CSV module devleopment
Replies: 14
Views: 759

Re: CSV module devleopment

Hi, I was actually looking at the json module in micropython-lib a couple of days ago (as part of https://github.com/micropython/micropython-lib/pull/376). I'm a little bit confused why this module exists, as most ports have a built-in complete json module. Rather than just a helper (i.e. _json), th...
by jimmo
Sun Mar 22, 2020 3:22 am
Forum: Programs, Libraries and Tools
Topic: Error trying to build a C++ module that uses the standard c++ library
Replies: 4
Views: 291

Re: Error trying to build a C++ module that uses the standard c++ library

saiftyfirst wrote:
Sat Mar 21, 2020 10:12 pm
What I understand is that there is no way I can use it ?
You could try building micropython with -mfloat-abi=soft? I'm not sure which ABI exactly the C++ stdlib uses, but some trial and error you may be able to find an option that matches.
by jimmo
Sun Mar 22, 2020 3:21 am
Forum: Development of MicroPython
Topic: test/parser.py fails on my port: any clue how to debug this?
Replies: 11
Views: 937

Re: test/parser.py fails on my port: any clue how to debug this?

Sorry it's really hard to give advice that isn't just guessing randomly in the dark. Do you have GDB support for your microcontroller? I only suggested the globals thing because you mentioned the map pointer was corrupt and that I have previously debugged an issue in the native emitter that caused s...
by jimmo
Sun Mar 22, 2020 3:18 am
Forum: Development of MicroPython
Topic: Trying to write MicroPython debugger via sys.settrace
Replies: 4
Views: 383

Re: Trying to write MicroPython debugger via sys.settrace

zamniah wrote:
Sat Mar 21, 2020 11:09 pm
Is there a way inside micropython to at least get to this array of local variables, albeit nameless? I didn't find an obvious way at least.
What do you mean by "inside micropython". From Python code... I'm not aware of a way to do so.
by jimmo
Sat Mar 21, 2020 12:03 am
Forum: Pyboard D-series
Topic: CYW4343x Firmware update
Replies: 7
Views: 527

Re: CYW4343x Firmware update

Like you suggested, libcyw43.a contains the firmware blobs (so this is included in the regular DFU update, but written to the external spiflash by mboot). (If you look at libcyw43.a there are some sections marked with ".big_const" which is used by the PYBD linker files). The source code is not curre...
by jimmo
Fri Mar 20, 2020 11:57 pm
Forum: ESP32 boards
Topic: esp32 with 8mb spiram only 4mb detected
Replies: 2
Views: 255

Re: esp32 with 8mb spiram only 4mb detected

This is a limitation of the way the memory controller works -- there's more info in this thread from a few weeks ago: viewtopic.php?f=18&t=7843