Sergio R. Caprile
54d4611eb6
call mg_tcpip_free from mg_mgr_free()
2025-05-15 17:37:40 -03:00
Sergio R. Caprile
f3fafb6759
make clang happy
2025-05-15 17:09:29 -03:00
Sergio R. Caprile
14be42c868
INFO -> VERBOSE
2025-05-15 15:50:36 -03:00
Sergey Lyubka
ccd6bcd95f
Merge pull request #3132 from cesanta/tls
...
stronger bounds checking
2025-05-13 22:26:35 +01:00
Sergey Lyubka
a3b63f3b0d
Merge pull request #3130 from cesanta/longpost
...
fix broken TCP closure
2025-05-13 22:26:15 +01:00
Sergio R. Caprile
1ef6c6aeb5
Handle TCP options
2025-05-13 16:27:50 -03:00
robertc2000
bd53529b45
Merge pull request #3134 from cesanta/ota-rw612
...
OTA for FRDM-RW612
2025-05-13 10:33:41 +03:00
Sergio R. Caprile
cc8ecc5a42
stronger bounds checking
2025-05-12 18:13:41 -03:00
robert
5a816a1d41
OTA for FRDM-RW612
2025-05-12 07:59:15 -04:00
robert
cdc439bc38
Websocket offset validation enhancement
2025-05-09 06:04:34 -04:00
Sergio R. Caprile
ae8422e304
fix broken TCP closure
2025-05-08 13:40:02 -03:00
Sergey Lyubka
041ec6e1f8
Close if drained
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:pico-sdk/pico-2-w-picosdk-freertos-lwip], -DMG_TLS=MG_TLS_BUILTIN) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:pico-sdk/pico-rndis-dashboard], ) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:pico-sdk/pico-rndis-dashboard], -DMG_TLS=MG_TLS_BUILTIN) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:pico-sdk/pico-w-picosdk-freertos-lwip], ) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:pico-sdk/pico-w-picosdk-freertos-lwip], -DMG_TLS=MG_TLS_BUILTIN) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:renesas/ek-ra6m4-make-baremetal-builtin], ) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:renesas/ek-ra6m4-make-baremetal-builtin], -DMG_TLS=MG_TLS_BUILTIN) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:stm32/nucleo-f746zg-make-baremetal-builtin-cmsis_driver], ) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:stm32/nucleo-f746zg-make-baremetal-builtin-cmsis_driver], -DMG_TLS=MG_TLS_BUILTIN) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:stm32/nucleo-f746zg-make-freertos-tcp], ) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:stm32/nucleo-f746zg-make-freertos-tcp], -DMG_TLS=MG_TLS_BUILTIN) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:tutorials/http/device-dashboard/microchip/same54-xpro], ) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:tutorials/http/device-dashboard/microchip/same54-xpro], -DMG_TLS=MG_TLS_BUILTIN) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} (map[path:pico-sdk/pico-rndis-device]) (push) Has been cancelled
Full build and test / cube_examples (push) Has been cancelled
Full build and test / zephyr_examples (push) Has been cancelled
Full build and test / test_f7 (push) Has been cancelled
Full build and test / test_f4 (push) Has been cancelled
Full build and test / test_h743 (push) Has been cancelled
Full build and test / test_h723 (push) Has been cancelled
Full build and test / test_h5 (push) Has been cancelled
Full build and test / test_rt1020 (push) Has been cancelled
Full build and test / test_rt1060 (push) Has been cancelled
Full build and test / test_rt1170 (push) Has been cancelled
Full build and test / test_ra6m4 (push) Has been cancelled
Full build and test / test_tm4c (push) Has been cancelled
Full build and test / test_same54 (push) Has been cancelled
Full build and test / test_pico_w5500 (push) Has been cancelled
CodeQL Scanning / CodeQL-Build (push) Has been cancelled
CIFuzz / Fuzzing (push) Has been cancelled
2025-05-03 10:28:40 +01:00
Sergio R. Caprile
f618fe125c
Fix lwIP builds
...
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:pico-sdk/pico-2-w-picosdk-freertos-lwip], -DMG_TLS=MG_TLS_BUILTIN) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:pico-sdk/pico-rndis-dashboard], ) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:pico-sdk/pico-rndis-dashboard], -DMG_TLS=MG_TLS_BUILTIN) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:pico-sdk/pico-w-picosdk-freertos-lwip], ) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:pico-sdk/pico-w-picosdk-freertos-lwip], -DMG_TLS=MG_TLS_BUILTIN) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:renesas/ek-ra6m4-make-baremetal-builtin], ) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:renesas/ek-ra6m4-make-baremetal-builtin], -DMG_TLS=MG_TLS_BUILTIN) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:stm32/nucleo-f746zg-make-baremetal-builtin-cmsis_driver], ) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:stm32/nucleo-f746zg-make-baremetal-builtin-cmsis_driver], -DMG_TLS=MG_TLS_BUILTIN) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:stm32/nucleo-f746zg-make-freertos-tcp], ) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:stm32/nucleo-f746zg-make-freertos-tcp], -DMG_TLS=MG_TLS_BUILTIN) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:tutorials/http/device-dashboard/microchip/same54-xpro], ) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} ${{ matrix.ssl }} (map[path:tutorials/http/device-dashboard/microchip/same54-xpro], -DMG_TLS=MG_TLS_BUILTIN) (push) Has been cancelled
Full build and test / ${{ matrix.example.path }} (map[path:pico-sdk/pico-rndis-device]) (push) Has been cancelled
Full build and test / cube_examples (push) Has been cancelled
Full build and test / zephyr_examples (push) Has been cancelled
Full build and test / test_f7 (push) Has been cancelled
Full build and test / test_f4 (push) Has been cancelled
Full build and test / test_h743 (push) Has been cancelled
Full build and test / test_h723 (push) Has been cancelled
Full build and test / test_h5 (push) Has been cancelled
Full build and test / test_rt1020 (push) Has been cancelled
Full build and test / test_rt1060 (push) Has been cancelled
Full build and test / test_rt1170 (push) Has been cancelled
Full build and test / test_ra6m4 (push) Has been cancelled
Full build and test / test_tm4c (push) Has been cancelled
Full build and test / test_same54 (push) Has been cancelled
Full build and test / test_pico_w5500 (push) Has been cancelled
CodeQL Scanning / CodeQL-Build (push) Has been cancelled
CIFuzz / Fuzzing (push) Has been cancelled
fixes #3119
lwIP does not export ip_mreq by default, it requires enabling support for IGMP by setting LWIP_IGMP, with the associated extra stuff. Mongoose will print an error if mg_multicast_add() is called with no multicast support in lwIP.
2025-04-29 19:24:17 -03:00
Sergio R. Caprile
8ab514fabc
make hexdump send CRLF
2025-04-28 12:33:31 -03:00
Sergio R. Caprile
143b0ac126
fix
2025-04-24 11:04:43 -03:00
Sergio R. Caprile
1d2a768184
refactor the rest of the drivers
2025-04-22 13:59:03 -03:00
Sergio R. Caprile
dceb4beb09
Refactor MIP strategy and first driver (CMSIS)
2025-04-22 12:55:21 -03:00
robert
6f697db49d
Added MDNS and driver support for multicast
2025-04-22 12:55:15 -03:00
Sergio R. Caprile
8e0212c3db
Fix not reading last TLS small record with fast closure
...
Fixes #3104
MbedTLS API fairplay
2025-04-22 09:56:49 -03:00
Sergio R. Caprile
21eefa4b55
Merge pull request #3102 from cesanta/mipfin
...
Fix handling of FIN segments carrying data
2025-04-14 11:27:09 -03:00
Sergey Lyubka
fb6c6aafeb
Merge pull request #3100 from cesanta/timers
...
Fix #2768 - remove completed timers
2025-04-14 15:15:36 +01:00
Sergio R. Caprile
df07426e78
Fix handling of FIN segments carrying data
2025-04-14 11:11:48 -03:00
Sergio R. Caprile
f2fe47e9f7
workaround causing TLS libs to return zero
2025-04-11 14:42:15 -03:00
Sergio R. Caprile
fbc1708000
Add support for RM2 with STM32F (429, 746)
2025-04-11 09:20:40 -03:00
Sergey Lyubka
0539cf1023
Fix #2768 - remove completed timers
2025-04-11 11:24:10 +01:00
Sergio R. Caprile
6f2dcf92a7
no VLA
2025-04-09 10:55:54 -03:00
robert
e656b1c792
Removed alloca call for ARM-CGT compatibility
2025-04-07 09:08:22 -04:00
Sergey Lyubka
e0ccbadd25
Merge pull request #3083 from cesanta/cyw
...
Introducing CYW driver and Wi-Fi AP support
2025-03-30 11:27:56 +01:00
Sergey Lyubka
40a2a8822f
Squash warning
2025-03-29 18:59:01 +00:00
Sergio R. Caprile
e37a0b9056
Add CYW driver
2025-03-24 17:03:05 -03:00
Sergey Lyubka
064fc6ff7b
Allow user to set custom DHCP name
2025-03-22 16:30:02 +00:00
Sergio R. Caprile
c1849c2b19
fix IO_WAIT on send for builtin TLS and MbedTLS
2025-03-11 16:14:12 -03:00
Sergio R. Caprile
4eadf3699f
unbreak C89
2025-03-11 16:00:42 -03:00
Sergio R. Caprile
fbc231f33e
Merge pull request #3070 from cesanta/hton
...
remove memcpy from htons/l and test load/save bigendian macros
2025-03-08 14:46:46 -03:00
Sergio R. Caprile
90a23fe230
Add support for Wi-Fi chip drivers
2025-03-07 16:41:33 -03:00
Sergio R. Caprile
065027843e
Change driver API: up(ifp) -> poll(ifp, 1second)
...
Add misc extras required by Wi-Fi drivers (in progress)
2025-03-07 14:14:16 -03:00
Sergio R. Caprile
8906b1ac0f
Merge pull request #3025 from cesanta/ub
...
fix UB and possible exception trigger
2025-03-07 13:49:37 -03:00
Sergio R. Caprile
782896b5d3
remove memcpy from htons/l
2025-03-05 17:20:35 -03:00
Sergio R. Caprile
61fc480850
Rename conflictive macros, refactor crypto tests
2025-03-04 11:55:57 -03:00
robertc2000
562e82f5ac
Merge pull request #3059 from cesanta/ota-rt1050
...
OTA on RT1050
2025-03-03 10:09:27 +02:00
robert
d7ff85bb48
OTA on RT1050
2025-03-03 03:03:28 -05:00
Sergey Lyubka
93f36927ca
Add .mjs mime type
2025-02-27 16:50:04 +00:00
robert
5269eb9c39
ETH driver: use the same scheme for RX
2025-02-19 10:01:54 -05:00
Sergio R. Caprile
d59f84fbbc
Fix Windows returning IO_RESET
2025-02-18 16:04:13 -03:00
robert
91f553c45f
RW612 ETH driver
Build and test - essentials / ${{ matrix.example.path }} (map[path:ti/ek-tm4c1294xl-make-freertos-builtin]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:esp32/uart-bridge]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:esp8266/http-client-server]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:infineon/infineon-xmc4700_4800-lwip-rtx-rtos]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:stm32/nucleo-g031-make-baremetal-builtin]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:esp32/device-dashboard]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:microchip/same54-xpro/device-dashboard]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:nxp/rt1020-evk-make-freertos-builtin]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:nxp/rt1060-evk-make-freertos-builtin]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:nxp/rt1170-evk-make-freertos-builtin]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:pico-sdk/pico-2-w-picosdk-freertos-lwip]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:pico-sdk/pico-rndis-dashboard]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:pico-sdk/pico-w-picosdk-freertos-lwip]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:renesas/ek-ra6m4-make-baremetal-builtin]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:stm32/nucleo-f746zg-make-baremetal-builtin-cmsis_driver]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:stm32/nucleo-f746zg-make-freertos-tcp]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:pico-sdk/pico-rndis-device]) (push) Has been cancelled
Build and test - essentials / cube_examples (push) Has been cancelled
Build and test - essentials / test_f7 (push) Has been cancelled
Build and test - essentials / test_f4 (push) Has been cancelled
Build and test - essentials / test_h743 (push) Has been cancelled
Build and test - essentials / test_h723 (push) Has been cancelled
Build and test - essentials / test_h5 (push) Has been cancelled
Build and test - essentials / test_rt1020 (push) Has been cancelled
Build and test - essentials / test_rt1060 (push) Has been cancelled
Build and test - essentials / test_rt1170 (push) Has been cancelled
Build and test - essentials / test_ra6m4 (push) Has been cancelled
Build and test - essentials / test_tm4c (push) Has been cancelled
Build and test - essentials / test_same54 (push) Has been cancelled
Build and test - essentials / test_pico_w5500 (push) Has been cancelled
2025-02-17 03:47:41 -05:00
Sergey Lyubka
38ede8ec58
2024 -> 2025
Build and test - essentials / ${{ matrix.example.path }} (map[path:ti/ek-tm4c1294xl-make-freertos-builtin]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:esp32/uart-bridge]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:esp8266/http-client-server]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:infineon/infineon-xmc4700_4800-lwip-rtx-rtos]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:stm32/nucleo-g031-make-baremetal-builtin]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:esp32/device-dashboard]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:microchip/same54-xpro/device-dashboard]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:nxp/rt1020-evk-make-freertos-builtin]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:nxp/rt1060-evk-make-freertos-builtin]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:nxp/rt1170-evk-make-freertos-builtin]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:pico-sdk/pico-2-w-picosdk-freertos-lwip]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:pico-sdk/pico-rndis-dashboard]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:pico-sdk/pico-w-picosdk-freertos-lwip]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:renesas/ek-ra6m4-make-baremetal-builtin]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:stm32/nucleo-f746zg-make-baremetal-builtin-cmsis_driver]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:stm32/nucleo-f746zg-make-freertos-tcp]) (push) Has been cancelled
Build and test - essentials / ${{ matrix.example.path }} (map[path:pico-sdk/pico-rndis-device]) (push) Has been cancelled
Build and test - essentials / cube_examples (push) Has been cancelled
Build and test - essentials / test_f7 (push) Has been cancelled
Build and test - essentials / test_f4 (push) Has been cancelled
Build and test - essentials / test_h743 (push) Has been cancelled
Build and test - essentials / test_h723 (push) Has been cancelled
Build and test - essentials / test_h5 (push) Has been cancelled
Build and test - essentials / test_rt1020 (push) Has been cancelled
Build and test - essentials / test_rt1060 (push) Has been cancelled
Build and test - essentials / test_rt1170 (push) Has been cancelled
Build and test - essentials / test_ra6m4 (push) Has been cancelled
Build and test - essentials / test_tm4c (push) Has been cancelled
Build and test - essentials / test_same54 (push) Has been cancelled
Build and test - essentials / test_pico_w5500 (push) Has been cancelled
2025-02-12 13:28:24 +00:00
Sergey Lyubka
b50081a83b
TLS verification
2025-02-10 15:36:29 +00:00
Sergio R. Caprile
394bc3260d
Use BootROM reset for RP2350
2025-01-29 15:17:04 -03:00
Sergio R. Caprile
ce1a70e2dc
fix error msg
Build and test - essentials / ${{ matrix.example.path }} (map[path:ti/ek-tm4c1294xl-make-freertos-builtin]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:esp32/uart-bridge]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:esp8266/http-client-server]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:infineon/infineon-xmc4700_4800-lwip-rtx-rtos]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:stm32/nucleo-g031-make-baremetal-builtin]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:esp32/device-dashboard]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:microchip/same54-xpro/device-dashboard]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:nxp/rt1020-evk-make-freertos-builtin]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:nxp/rt1060-evk-make-freertos-builtin]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:nxp/rt1170-evk-make-freertos-builtin]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:pico-sdk/pico-2-w-picosdk-freertos-lwip]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:pico-sdk/pico-rndis-dashboard]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:pico-sdk/pico-w-picosdk-freertos-lwip]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:renesas/ek-ra6m4-make-baremetal-builtin]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:stm32/nucleo-f746zg-make-baremetal-builtin-cmsis_driver]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:stm32/nucleo-f746zg-make-freertos-tcp]) (push) Waiting to run
Build and test - essentials / ${{ matrix.example.path }} (map[path:pico-sdk/pico-rndis-device]) (push) Waiting to run
Build and test - essentials / cube_examples (push) Waiting to run
Build and test - essentials / test_f7 (push) Waiting to run
Build and test - essentials / test_f4 (push) Waiting to run
Build and test - essentials / test_h743 (push) Waiting to run
Build and test - essentials / test_h723 (push) Waiting to run
Build and test - essentials / test_h5 (push) Waiting to run
Build and test - essentials / test_rt1020 (push) Waiting to run
Build and test - essentials / test_rt1060 (push) Waiting to run
Build and test - essentials / test_rt1170 (push) Waiting to run
Build and test - essentials / test_ra6m4 (push) Waiting to run
Build and test - essentials / test_tm4c (push) Waiting to run
Build and test - essentials / test_same54 (push) Waiting to run
Build and test - essentials / test_pico_w5500 (push) Waiting to run
2025-01-29 10:15:45 -03:00
Sergio R. Caprile
a0d9b6a7e0
fix UB and possible HF trigger
2025-01-28 10:24:59 -03:00