Search found 2754 matches
- Tue Jun 21, 2022 12:07 am
- Forum: General Discussion and Questions
- Topic: build micropython v1.19
- Replies: 4
- Views: 1250
Re: build micropython v1.19
Using Python interpreter in /home/edgar/.espressif/python_env/idf5.0_py3.8_env/bin/python FYI we only support v4.x of the IDF. For ESP32 I recommend v4.2.2 and for the newer chips (S2, S3, etc) then v4.4.1. Looks like you're just using the master branch of the IDF. That doesn't explain your problem...
- Mon Jun 20, 2022 11:25 am
- Forum: ESP32 boards
- Topic: ESP32 conneted WIFI to SMARTPHONE ....Mystery !!!
- Replies: 3
- Views: 1099
Re: ESP32 conneted WIFI to SMARTPHONE ....Mystery !!!
Sorry I'm not quite sure I understand your question...
Your device is connected, and it's listing scan results. What were you expecting to see?
- Mon Jun 20, 2022 11:21 am
- Forum: Raspberry Pi microcontroller boards
- Topic: [Solved] 'moduledefs' broken
- Replies: 6
- Views: 2614
Re: [Solved-ish] 'moduledefs' broken
If I were looking for a pragmatic solution I might match on just "MP_REGISTER_MODULE", see if the full match works, and report an error if not. Yes, I think something like this is likely to be a good improvement. Similar to what was done in https://github.com/micropython/micropython/commit/37d5114c...
- Mon Jun 20, 2022 7:16 am
- Forum: General Discussion and Questions
- Topic: Subroutines and multiple entry points for assembler functions?
- Replies: 4
- Views: 1083
Re: Subroutines and multiple entry points for assembler functions?
As I understand it, a code block can only reference labels within the foo function. Yep, exactly. The asm_thumb functions are handled completely independently of eachother, and the label table is reset on each new scope. I am trying to avoid all possible MicroPython call overhead, which means keepi...
- Mon Jun 20, 2022 6:56 am
- Forum: General Discussion and Questions
- Topic: Is this another bug, or a feature?
- Replies: 20
- Views: 8715
Re: Is this another bug, or a feature?
Just to follow-up... Is there actually a CPython vs MicroPython discrepancy here? As far as I can tell from the discussion, MicroPython matches CPython exactly?
- Mon Jun 20, 2022 6:47 am
- Forum: General Discussion and Questions
- Topic: Is this a bug or a feature?
- Replies: 5
- Views: 3450
Re: Is this a bug or a feature?
What's the best way to report a potential bug? I didn't see anything raised about this on GitHub, but just to chime in from the implementation side... The line between "bug" and "feature that isn't implemented yet" and "feature that won't be implemented in MicroPython" is quite blurry! The CPython ...
- Mon Jun 20, 2022 6:34 am
- Forum: Development of MicroPython
- Topic: Using mpy files in an MP library
- Replies: 6
- Views: 23442
Re: Using mpy files in an MP library
I'm currently building MicroPython as a library to be used in another application as an embedded python interpreter. I would like to be able to include new mpy files without having to rebuild mp or the application it is embedded in. How would I do this? Now I understand your other post (https://for...
- Mon Jun 20, 2022 6:20 am
- Forum: Programs, Libraries and Tools
- Topic: PC python script to run mpremote commands
- Replies: 6
- Views: 28204
Re: PC python script to run mpremote commands
But how do I run say... the 'mpremoyte ls' command ? mpremote is built on pyboard.py, and this is designed to be used as a module from your own scripts. See https://docs.micropython.org/en/latest/reference/pyboard.py.html#using-the-pyboard-library You can use pyb.fs_ls(), however this will print ou...
- Mon Jun 20, 2022 6:06 am
- Forum: General Discussion and Questions
- Topic: Trying to understand how memory allocation is working here...
- Replies: 10
- Views: 3975
Re: Trying to understand how memory allocation is working here...
Yeah, this was just a curiosity I noted as I was running some tests on the REPL. No issues I can think of in an actual program. I'm not sure how Thonny is working for doing its REPL. I know the author is on the forum, so perhaps he can pipe in. The bulk of the leakage seems to be down to Thonny. Ye...
- Mon Jun 20, 2022 5:39 am
- Forum: Development of MicroPython
- Topic: micropython on STM32F417
- Replies: 2
- Views: 1368
Re: micropython on STM32F417
Which board is the MCU on? Does it have SWD headers? Hooking up GDB would be my next step.Firas_Baccouri wrote: ↑Fri Jun 10, 2022 7:55 amI need to let micropython running on an STM32F417 controller
I assume you also changed it to use F417 (not F407) and updated the linker file to match the memory layout?