mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-25 20:28:27 +00:00
New Cube pack
This commit is contained in:
1 parent
c76f092ba1
commit
e6e7a690a7
2 files changed
+44
-8
No files matched your search
@@ -1,13 +1,21 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<package schemaVersion="1.7.40" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd">
|
<package schemaVersion="1.7.56" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:stm32="https://developer.st.com/schemas/stm32cube/1.0.0" xsi:noNamespaceSchemaLocation="PACK.xsd">
|
||||||
<vendor>Cesanta</vendor>
|
<vendor>Cesanta</vendor>
|
||||||
<name>I-CUBE-Mongoose</name>
|
<name>I-CUBE-Mongoose</name>
|
||||||
<description>Mongoose - a lightweight networking library providing TCP/IP stack, TLS, HTTP (Embedded Web Server), WebSocket, MQTT, and Firmware OTA updates. Build production-ready web device dashboards and MQTT cloud connectivity without stitching multiple components together.
|
<description>Mongoose - a full-stack networking library for microcontrollers: Ethernet and Wi-Fi drivers, TCP/IP stack, TLS 1.3, HTTP, WebSocket, MQTT, Modbus, OTA updates and device management, in a two-file C/C++ library, on any RTOS or bare metal.</description>
|
||||||
</description>
|
|
||||||
<url>https://mongoose.ws/downloads/stm32pack/</url>
|
<url>https://mongoose.ws/downloads/stm32pack/</url>
|
||||||
<license>License.txt</license>
|
<license>License.txt</license>
|
||||||
<supportContact>https://mongoose.ws/contact/</supportContact>
|
<supportContact>https://mongoose.ws/contact/</supportContact>
|
||||||
|
<environments>
|
||||||
|
<environment name="STM32Cube">
|
||||||
|
<stm32:pack type="MW" friendlyName="Mongoose" shortDesc="Mongoose full-stack networking library">
|
||||||
|
<relocation-info parent="middleware"/>
|
||||||
|
<no-compatibility-constraint/>
|
||||||
|
</stm32:pack>
|
||||||
|
</environment>
|
||||||
|
</environments>
|
||||||
<releases>
|
<releases>
|
||||||
|
<release date="2026-10-19" version="7.23.2">See https://github.com/cesanta/mongoose/releases/tag/7.23</release>
|
||||||
<release date="2026-09-28" version="7.23.1">See https://github.com/cesanta/mongoose/releases/tag/7.23</release>
|
<release date="2026-09-28" version="7.23.1">See https://github.com/cesanta/mongoose/releases/tag/7.23</release>
|
||||||
<release date="2026-05-11" version="7.21.7">See https://github.com/cesanta/mongoose/releases/tag/7.21</release>
|
<release date="2026-05-11" version="7.21.7">See https://github.com/cesanta/mongoose/releases/tag/7.21</release>
|
||||||
<release date="2026-05-05" version="7.21.5">See https://github.com/cesanta/mongoose/releases/tag/7.21</release>
|
<release date="2026-05-05" version="7.21.5">See https://github.com/cesanta/mongoose/releases/tag/7.21</release>
|
||||||
@@ -20,7 +28,7 @@
|
|||||||
<keyword>IMPLEMENTED_WITH_STM32CUBEMX</keyword>
|
<keyword>IMPLEMENTED_WITH_STM32CUBEMX</keyword>
|
||||||
</keywords>
|
</keywords>
|
||||||
<components>
|
<components>
|
||||||
<component Cclass="Mongoose" Cgroup="Networking Core" Cversion="7.23.1" maxInstances="1">
|
<component Cclass="Mongoose" Cgroup="Networking Core" Cversion="7.23.2" maxInstances="1">
|
||||||
<description>Networking Core</description>
|
<description>Networking Core</description>
|
||||||
<files>
|
<files>
|
||||||
<file category="doc" name="README.md"/>
|
<file category="doc" name="README.md"/>
|
||||||
@@ -28,7 +36,15 @@
|
|||||||
<file category="sourceC" name="mongoose.c" />
|
<file category="sourceC" name="mongoose.c" />
|
||||||
<file category="header" name="mongoose_config.h"/>
|
<file category="header" name="mongoose_config.h"/>
|
||||||
<file category="utility" name="README.md" public="false"/>
|
<file category="utility" name="README.md" public="false"/>
|
||||||
|
<file category="genAsset" name=".config/mongoose_parameters.json"/>
|
||||||
</files>
|
</files>
|
||||||
|
<environments>
|
||||||
|
<environment name="STM32Cube">
|
||||||
|
<stm32:component>
|
||||||
|
<middleware-entry-point id="Mongoose" name="Mongoose" category="TCP/IP"/>
|
||||||
|
</stm32:component>
|
||||||
|
</environment>
|
||||||
|
</environments>
|
||||||
</component>
|
</component>
|
||||||
</components>
|
</components>
|
||||||
</package>
|
</package>
|
||||||
@@ -1,10 +1,16 @@
|
|||||||
VERSION = 7.23.1
|
VERSION = 7.23.2
|
||||||
REPO_ROOT = ../..
|
REPO_ROOT = ../..
|
||||||
MX ?= /Applications/STMicroelectronics/STM32CubeMX.app/Contents/MacOs/STM32CubeMX
|
MX ?= /Applications/STMicroelectronics/STM32CubeMX.app/Contents/MacOs/STM32CubeMX
|
||||||
FILES = Cesanta.I-CUBE-Mongoose.pdsc Release_Notes.html mongoose_config.h README.md
|
FILES = Cesanta.I-CUBE-Mongoose.pdsc Release_Notes.html mongoose_config.h README.md .config/mongoose_parameters.json
|
||||||
GENERATED = License.txt mongoose.h mongoose.c
|
GENERATED = License.txt mongoose.h mongoose.c
|
||||||
|
MX2 ?= $(HOME)/STMicroelectronics/STM32CubeMX2_1.1.2/.bin/cube
|
||||||
|
PACKSDIR ?= $(HOME)/Library/Application Support/stm32cube/packs
|
||||||
|
MX2CPN ?= STM32C5A3ZGT6
|
||||||
|
MX2PROJ = $(CURDIR)/mx2test/test.ioc2
|
||||||
|
|
||||||
|
NAME = Cesanta.I-CUBE-Mongoose.$(VERSION)
|
||||||
|
PACK = $(NAME).pack
|
||||||
|
|
||||||
PACK = Cesanta.I-CUBE-Mongoose.$(VERSION).pack
|
|
||||||
all: $(PACK)
|
all: $(PACK)
|
||||||
|
|
||||||
Cesanta.I-CUBE-Mongoose.$(VERSION).pack: $(FILES) $(GENERATED)
|
Cesanta.I-CUBE-Mongoose.$(VERSION).pack: $(FILES) $(GENERATED)
|
||||||
@@ -44,5 +50,19 @@ mongoose.h: Mongoose
|
|||||||
mongoose.c: Mongoose
|
mongoose.c: Mongoose
|
||||||
cp $(REPO_ROOT)/mongoose.c $@
|
cp $(REPO_ROOT)/mongoose.c $@
|
||||||
|
|
||||||
|
test_mx2: $(PACK)
|
||||||
|
-$(MX2) pack remove --cmsis-pack-root "$(PACKSDIR)" $(NAME)
|
||||||
|
rm -f "$(PACKSDIR)/.Download/$(PACK)"
|
||||||
|
$(MX2) pack install --cmsis-pack-root "$(PACKSDIR)" "$(CURDIR)/$(PACK)"
|
||||||
|
export PATH="$(dir $(MX2)):$$PATH"; \
|
||||||
|
PORT=$$(cube lifecycle-mx start-only | sed -n 's/^BACKEND_PORT *//p'); \
|
||||||
|
cube mx project close --port $$PORT -p "$(MX2PROJ)" --discard > /dev/null 2>&1; \
|
||||||
|
rm -rf mx2test && mkdir mx2test && \
|
||||||
|
cube mx project create-from-mcu --port $$PORT --cpn $(MX2CPN) -l "$(CURDIR)/mx2test" -n test --empty-project && \
|
||||||
|
cube mx middleware enable-middleware --port $$PORT -p "$(MX2PROJ)" -n Mongoose | tee mx2test/enable.json && \
|
||||||
|
grep -q '"status": "success"' mx2test/enable.json && \
|
||||||
|
cube mx project save --port $$PORT -p "$(MX2PROJ)" && \
|
||||||
|
cube mx project close --port $$PORT -p "$(MX2PROJ)" --discard
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf *.pack STM32CubeMX/*.$(VERSION)_*.xml $(GENERATED)
|
rm -rf *.pack STM32CubeMX/*.$(VERSION)_*.xml $(GENERATED) mx2test
|
||||||
Reference in new issue
Block a user