Search found 34 matches

by ltmerlin
Mon Jul 27, 2020 12:37 pm
Forum: General Discussion and Questions
Topic: Generating autodocs for upython
Replies: 6
Views: 419

Re: Generating autodocs for upython

I got the following error: mkdocstrings.handlers.CollectionError: module 'lib' has no attribute 'helpers' I added my lib dir which contains a helpers.py file which I want to document, but it does not seem to find it. docs/helpers.md ## Documentation for Helper ::: lib.helpers mkdocs.yml - mkdocstrin...
by ltmerlin
Mon Jul 27, 2020 8:37 am
Forum: General Discussion and Questions
Topic: Generating autodocs for upython
Replies: 6
Views: 419

Re: Generating autodocs for upython

Hi pawamoy, thanks for the hint!
by ltmerlin
Tue Jun 09, 2020 1:31 pm
Forum: General Discussion and Questions
Topic: Generating autodocs for upython
Replies: 6
Views: 419

Re: Generating autodocs for upython

Thanks for your answer. That works great with Sphinx!
It would also be nice to be able to do this using MkDocs. I did not found a way yet. Keep you posted.
by ltmerlin
Sat Jun 06, 2020 7:37 pm
Forum: General Discussion and Questions
Topic: Generating autodocs for upython
Replies: 6
Views: 419

Generating autodocs for upython

Is there a way to generate auto docs from upython code like we normally do with python? Using Sphinx auto docs or mkdocstrings is not working as standard python is used to import the modules to be documented. This leads to some issues if some modules are not importable (such as "import machine")... ...
by ltmerlin
Sat Jun 06, 2020 7:26 pm
Forum: MicroPython pyboard
Topic: How to properly increase FLASH_FS on pyboardv11?
Replies: 6
Views: 1177

Re: How to properly increase FLASH_FS on pyboardv11?

Ok that makes sense!
Thanks for you reply. Your suggestions work and indeed when filling the FS with my first suggested build settings it does really strange things :D
by ltmerlin
Mon Jun 01, 2020 4:38 pm
Forum: ESP32 boards
Topic: OTA guide for ESP32
Replies: 2
Views: 560

Re: OTA guide for ESP32

thanks tve!
I'll give it a go soon.
Keep you posted!
by ltmerlin
Mon Jun 01, 2020 4:36 pm
Forum: MicroPython pyboard
Topic: How to properly increase FLASH_FS on pyboardv11?
Replies: 6
Views: 1177

Re: How to properly increase FLASH_FS on pyboardv11?

thanks for the explanation. the F413 has: MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1024K /* entire flash */ FLASH_ISR (rx) : ORIGIN = 0x08000000, LENGTH = 16K /* sector 0 */ FLASH_FS (rx) : ORIGIN = 0x08004000, LENGTH = 176K /* sectors 1,2,3 are 16K, 4 is 64K, 5 is 128K (64K used) for fil...
by ltmerlin
Mon May 25, 2020 8:16 am
Forum: ESP32 boards
Topic: Flash ESP32 from another ESP32
Replies: 2
Views: 419

Re: Flash ESP32 from another ESP32

I'll keep you posted :) I'm first looking into OTA... copying the firmware from one ESP32 to the other and try to activate it. But the problem still stands as we still need to be able to flash the virgin second ESP32. I will have to write the flashing tool code from scratch like what we could call u...
by ltmerlin
Mon May 25, 2020 8:11 am
Forum: ESP32 boards
Topic: OTA guide for ESP32
Replies: 2
Views: 560

OTA guide for ESP32

Is there some official documentation on updating firmware of an ESP32 "over-the-air". If I build the firmware I have either one complete firmware.bin or the pieces bootloader.bin, application.bin and partitions.bin. Which of these do I need for an OTA? I'm not sure what needs to be copied to the OTA...
by ltmerlin
Sun May 24, 2020 9:09 pm
Forum: ESP32 boards
Topic: Flash ESP32 from another ESP32
Replies: 2
Views: 419

Flash ESP32 from another ESP32

Does anyone have experience with flashing an ESP32 from another ESP32? I'm using 2 ESP32 boards for a project with only one usb socket for flashing (using standard usb-serial ic). Suppose we can flash one ESP32 via the USB-serial, how can we flash the second ESP32 using the first ESP32? Since the es...