Skip to content

Commit 83d6d6f

Browse files
committed
Deliver V19
1 parent 6a4add8 commit 83d6d6f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+10345
-612
lines changed

build.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,13 @@
164164
cd "%(OUTPUT_DIR)s/%(MICROPYTHON_S1)s""
165165
make -C mpy-cross
166166
167-
#####################
167+
########################
168168
# Build %(MICROPYTHON_S1)s" #
169-
#####################
170-
cd "%(OUTPUT_DIR)s/%(MICROPYTHON_S1)s"/ports/rp2"
169+
########################
170+
cd "%(OUTPUT_DIR)s/%(MICROPYTHON_S1)s/ports/rp2"
171171
make submodules
172172
make BOARD=%(BOARD)s
173-
cp "%(OUTPUT_DIR)s/%(MICROPYTHON_S1)s"/ports/rp2/build-%(BOARD)s/firmware.uf2" "%(PYCAMERESP_DIR)s/delivery/%(BOARD)s-firmware.uf2"
173+
cp "%(OUTPUT_DIR)s/%(MICROPYTHON_S1)s/ports/rp2/build-%(BOARD)s/firmware.uf2" "%(PYCAMERESP_DIR)s/delivery/%(BOARD)s-firmware.uf2"
174174
175175
'''
176176

@@ -180,7 +180,7 @@
180180
# Build distri zip #
181181
####################
182182
cd %(PYCAMERESP_DIR)s
183-
python3 "%(PYCAMERESP_DIR)s/scripts/zip_mpy.py" "%(OUTPUT_DIR)s" "%(BOARD)s" "%(PYCAMERESP_DIR)s"
183+
python3 "%(PYCAMERESP_DIR)s/scripts/zip_mpy.py" "%(OUTPUT_DIR)s" "%(BOARD)s" "$(MICRO)" "%(BOARD_VARIANT_FIRMWARE)s" "%(PYCAMERESP_DIR)s"
184184
185185
'''
186186

@@ -408,7 +408,7 @@ def main():
408408
execute(PATCH_COMMANDS, args.s3)
409409

410410
if args.zippy:
411-
execute(ZIP_MODULES)
411+
execute(ZIP_MODULES, args.s3)
412412

413413
if args.build or args.all:
414414
if args.rp2:
@@ -433,7 +433,7 @@ def main():
433433
execute(SET_ESP_COMMANDS, args.s3)
434434
print("IDF_PATH='%s'"%os.environ["IDF_PATH"])
435435
execute(BUILD_ESP_COMMANDS, args.s3)
436-
execute(ZIP_MODULES)
436+
execute(ZIP_MODULES, args.s3)
437437

438438
if __name__ == "__main__":
439439
import sys

doc/CAMFLASHER.md

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ It offer the possibility to access the esp32 shell, edit files from esp32 and ex
99

1010
It is also a VT100 console which allows to operate the text editor, and to display colored texts thanks to the VT100 escape sequences. Not all VT100 commands are supported, but the most common ones are available.
1111

12-
Camflasher with shell commands **upload** and **download**, allows to upload or download files easily from the device.
12+
Camflasher with shell commands **upload** and **download**, allows to upload or download files easily from the device, and also the drag and drop of file or directory, allows you to easily install files on the board, to do this you must be in shell mode (Ctrl-Z to enter in shell mode and "exit" command after to restart server).
1313

1414
- Download computer drivers for your device :
1515
- [CH341 drivers](http://www.wch.cn/download/CH341SER_ZIP.html)
@@ -18,29 +18,26 @@ Camflasher with shell commands **upload** and **download**, allows to upload or
1818

1919
- Download the firmware associated with your device :
2020

21-
- [ESP32-CAM, ESP32-CAM-MB, ESP32ONE, M5Stack Camera](https://github.com/remibert/pycameresp/releases/download/V18/ESP32CAM-firmware.bin)
21+
- [ESP32-CAM, ESP32-CAM-MB, ESP32ONE, M5Stack Camera](https://github.com/remibert/pycameresp/releases/download/V19/ESP32CAM-firmware.bin)
2222

23-
- [ESP32-TTGO-T8 or ESP32 with SPIRAM ](https://github.com/remibert/pycameresp/releases/download/V18/GENERIC_SPIRAM-firmware.bin)
23+
- [ESP32-TTGO-T8 or ESP32 with SPIRAM ](https://github.com/remibert/pycameresp/releases/download/V19/GENERIC_SPIRAM-firmware.bin)
2424

25+
- [Freenove CAM S3](https://github.com/remibert/pycameresp/releases/download/V19/FREENOVE_CAM_S3-SPIRAM_OCT-firmware.bin)
2526

26-
- Or download the zip for standard micropython firmware :
27+
- [For other devices see releases](https://github.com/remibert/pycameresp/releases)
2728

28-
- [Shell with editor](https://github.com/remibert/pycameresp/releases/download/V18/shell.zip)
29+
The firmwares contains a micropython version, patched to support the camera, and some microsd, as well as all servers and other features. But if you are not interested in the whole platform, just the camera support, you can replace the main.py with your own implementation, it remains a standard micropython platform.
2930

30-
- [Wifi manager, Http server](https://github.com/remibert/pycameresp/releases/download/V18/server.zip)
31-
32-
- Text editor source files running on python3 and micropython :
33-
34-
- [Text editor](https://github.com/remibert/pycameresp/releases/download/V18/editor.zip)
35-
36-
It is possible to run the shell with editor, or the servers on a standard micropython platform. The servers, the wifi manager, requires having enough ram and wifi support (ESP32 with SPIRAM for example). Unzip archive and install it with rshell.
31+
The servers, the wifi manager, requires having enough ram and wifi support (ESP32 with SPIRAM for example). Unzip archive and install it with rshell.
3732

3833
- Download the camflasher application and unzip it :
39-
- [CamFlasher for Windows 10 64 bits](https://github.com/remibert/pycameresp/releases/download/V18/CamFlasher_windows_10_64.zip)
34+
- [CamFlasher for Windows 10 64 bits](https://github.com/remibert/pycameresp/releases/download/V19/CamFlasher_windows_10_64.zip)
35+
36+
- [CamFlasher for OSX Ventura Intel](https://github.com/remibert/pycameresp/releases/download/V19/CamFlasher_osx_i386.zip)
4037

41-
- [CamFlasher for OSX Ventura Intel](https://github.com/remibert/pycameresp/releases/download/V18/CamFlasher_osx_i386.zip)
38+
- [CamFlasher for OSX Ventura M1](https://github.com/remibert/pycameresp/releases/download/V19/CamFlasher_osx_arm.zip)
4239

43-
- [CamFlasher for OSX Ventura M1](https://github.com/remibert/pycameresp/releases/download/V18/CamFlasher_osx_arm.zip)
40+
- [CamFlasher for linux](https://github.com/remibert/pycameresp/releases/download/V19/CamFlasher_linux.zip)
4441

4542
- Connect the device to the USB port of your computer.
4643

@@ -55,10 +52,10 @@ It is possible to run the shell with editor, or the servers on a standard microp
5552
![CamFlasher](/images/1_CamFlasher.png "CamFlasher")
5653

5754
- Select firmware and check "Erase flash" the first time. The firmware can be download directly from web site.
58-
- For Esp32 S3 the address must be 0x0
59-
- For others Esp32 the address must be 0x1000.
55+
- **For Esp32 S3 the address must be 0x0**
56+
- **For others Esp32 the address must be 0x1000**.
6057

61-
**If the device resets in a loop, it is necessary to do a flash with erase**.
58+
**If the device resets in a loop, it is necessary to do a flash with erase, and check if the address is correct**.
6259

6360
![CamFlasher](/images/2_CamFlasher_SelectFirmware.png "CamFlasher")
6461

doc/FIRMWARE.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,19 @@ And after juste for rebuild use command :
4444
Replace **ESP32CAM** by your prefered firmware, add double quote if you want to use wildcards for build many firmwares, for example ESP32 GENERIC SPIRAM :
4545
- **python3 build.py --patch --build "GENERIC_SPIRAM"**
4646

47-
Or for all ESP32 S2
47+
Or for all ESP32 Camera
4848
- **python3 build.py --patch --build "ESP32CAM" "GENERIC_SPIRAM"**
4949

50-
To build ESP32 S3 :
51-
- **python3 build.py --s3 --patch --boardvariant SPIRAM --build "ESP32_GENERIC_S3"**
50+
To build ESP32 S3 with SPIRAM:
51+
- **python3 build.py --patch --build --s3 --boardvariant SPIRAM "ESP32_GENERIC_S3"**
52+
53+
To build ESP32 S3 without SPIRAM:
54+
- **python3 build.py --patch --build --s3 "ESP32_GENERIC_S3"**
5255

5356
To build Freenove CAM S3 :
54-
- **build.py --build --patch --s3 FREENOVE_CAM_S3 --boardvariant SPIRAM_OCT**
57+
- **python3 build.py --patch --build --s3 --boardvariant SPIRAM_OCT "FREENOVE_CAM_S3"**
5558

5659
To build Pico PI W you must clean all and enter command :
57-
- **python3 build.py --rp2 --patch --build "PICO_W"**
60+
- **python3 build.py --patch --build --rp2 "PICO_W"**
5861

59-
I no longer use the same version of micropython between the esp32 and the esp32-S3, the reason is simple, I can no longer link the firmware, so I stayed on a version 1.20 of micropython, which has the merit of working perfectly.
62+
I no longer use the same version of micropython between the esp32 and the esp32-S3, the reason is simple, I can't link the firmware, so I stayed on a version 1.20 of micropython, which has the merit of working perfectly.

doc/REQUIREMENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ Below are the devices compatible with pycameresp :
2020
![NODEMCU](/images/Device_NODEMCU.jpg "NODE MCU")
2121
![LOLIN32](/images/Device_LOLIN32.jpg "LOLIN32")
2222
![PicoPi](/images/Device_PicoPi.png "Pico PI W")
23-
![SONOFF R3](/images/Device_SonoffR3.png "SONOFF R3")
23+
![Freenove CAM S3](/images/Device_FREENOVE_CAM_S3.png "Freenove CAM S3")
2424

2525
Note on the freenove cam S3, I had problems with wifi disruption, which limited the video streaming speed, to correct this I unsoldered the two connectors from the edges of the card, it's tedious, but the speed has become maximum.

doc/lib/index.html

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@ <h1 class="title">Namespace <code>lib</code></h1>
2626
<section>
2727
<h2 class="section-title" id="header-submodules">Sub-modules</h2>
2828
<dl>
29-
<dt><code class="name"><a title="lib.device" href="device/index.html">lib.device</a></code></dt>
30-
<dd>
31-
<div class="desc"></div>
32-
</dd>
33-
<dt><code class="name"><a title="lib.electricmeter" href="electricmeter/index.html">lib.electricmeter</a></code></dt>
34-
<dd>
35-
<div class="desc"><p>Class to manage the electricmeter</p></div>
36-
</dd>
3729
<dt><code class="name"><a title="lib.htmltemplate" href="htmltemplate/index.html">lib.htmltemplate</a></code></dt>
3830
<dd>
3931
<div class="desc"><p>Class to manage the html templates</p></div>
@@ -42,7 +34,7 @@ <h2 class="section-title" id="header-submodules">Sub-modules</h2>
4234
<dd>
4335
<div class="desc"><p>Class to manage motion detection with ESP32CAM</p></div>
4436
</dd>
45-
<dt><code class="name"><a title="lib.sample" href="sample/index.html">lib.sample</a></code></dt>
37+
<dt><code class="name"><a title="lib.plugins" href="plugins/index.html">lib.plugins</a></code></dt>
4638
<dd>
4739
<div class="desc"></div>
4840
</dd>
@@ -87,11 +79,9 @@ <h1>Index</h1>
8779
<ul id="index">
8880
<li><h3><a href="#header-submodules">Sub-modules</a></h3>
8981
<ul>
90-
<li><code><a title="lib.device" href="device/index.html">lib.device</a></code></li>
91-
<li><code><a title="lib.electricmeter" href="electricmeter/index.html">lib.electricmeter</a></code></li>
9282
<li><code><a title="lib.htmltemplate" href="htmltemplate/index.html">lib.htmltemplate</a></code></li>
9383
<li><code><a title="lib.motion" href="motion/index.html">lib.motion</a></code></li>
94-
<li><code><a title="lib.sample" href="sample/index.html">lib.sample</a></code></li>
84+
<li><code><a title="lib.plugins" href="plugins/index.html">lib.plugins</a></code></li>
9585
<li><code><a title="lib.server" href="server/index.html">lib.server</a></code></li>
9686
<li><code><a title="lib.shell" href="shell/index.html">lib.shell</a></code></li>
9787
<li><code><a title="lib.tools" href="tools/index.html">lib.tools</a></code></li>

0 commit comments

Comments
 (0)