Odd behavior when adding to 'modules' directory on ESP82666 GENERIC build? #9162
Replies: 4 comments 3 replies
-
Sounds like Rather than adding files into the modules directory, you should be writing a custom board definition with your own manifest.py. |
Beta Was this translation helpful? Give feedback.
-
Has the official method changed? I recall the documentation once said you could do it, and there are many examples via Google that show that method as available. Not saying it is a best practice or such, just that it was once acceptable, or at least doable. Nor am I discounting you stating creating my own board definition was suggested. Ah... looking at the _boot.py I must have overwritten it at some point, it only has a reference to import gc and setting the threshold. The reference to the uos.mount for bdev was missing! Opps! |
Beta Was this translation helpful? Give feedback.
-
I keep this up, I am going to know how this firmware generation works inside out... THEN you will all be TROUBLE. LOL |
Beta Was this translation helpful? Give feedback.
-
Yup and in the long run.... easier to maintain. |
Beta Was this translation helpful? Give feedback.
-
Odd behavior when adding to 'modules' directory on ESP82666 GENERIC build?
I added a few modules to the ports/eps8266/modules directory, generated a firmware image, my modules were compiled to mpy, they show up under "help('modules')" view, all seems fine. But... the file system on the ESP8266 is MIA (missing in action). I can't see the file system in Thonny for example. Yes, I have the files view enabled. It is just gone. What happened? There is no customization other than adding a few py files to the modules directory for the given port.
Beta Was this translation helpful? Give feedback.
All reactions