Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
Alright, thanks for the info. (Just in case you or anyone reading this thread doesn't know this: The repl uart can be removed from the repl and used independently. For this alone, no micropython fork would be required)
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Re: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
I read about it, but never tried it. Do you have a working example? Isn't CP2102 disturbing the communication, since I can't set it to suspend mode?kevinkk525 wrote: ↑Mon Jun 28, 2021 5:24 amThe repl uart can be removed from the repl and used independently. For this alone, no micropython fork would be required)
Schematics: https://cdn.hackaday.io/files/885637889 ... T_V1.0.PDF
I'm a beginner with this stuff and no programmer at all.
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
This should work for the esp8266 in the same way: viewtopic.php?f=2&t=7844&p=44765&hilit= ... erm#p44765
(I'm sure I read posts about the esp8266 and esp32 too but can't find it at the moment)
If you compile the firmware with no esp-idf output, the uart should be completely silent from the micropython side.
The CP2102 should not cause any trouble (i think, it might if you try to send stuff from the PC).
(I'm sure I read posts about the esp8266 and esp32 too but can't find it at the moment)
If you compile the firmware with no esp-idf output, the uart should be completely silent from the micropython side.
The CP2102 should not cause any trouble (i think, it might if you try to send stuff from the PC).
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Re: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
Well, I have to write my code, so I'm not able to shut down esp-idf output, i.e. REPL.kevinkk525 wrote: ↑Mon Jun 28, 2021 7:00 amIf you compile the firmware with no esp-idf output, the uart should be completely silent from the micropython side.
The CP2102 should not cause any trouble (i think, it might if you try to send stuff from the PC).
Using the available TXD1 for the sensor, send the command to the sensor, shut down REPL. Get data from sensor on RXD0. Turn on REPL. Might be a possibility. Don't know, if someone has done that before?
Communication to the sensor (MH-Z19B) is simple. Send a string, get a string. No sensing needed.
I'm a beginner with this stuff and no programmer at all.
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
esp-idf has nothing to do with the repl, it's just the startup garbage and wifi debug messages and the likes. the repl comes from micropython and you can use the webrepl to control and program your device.
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Re: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
Of course, sorry
I'm a beginner with this stuff and no programmer at all.