Commit Graph

1092 Commits

Author SHA1 Message Date
cpq
e7667f2537 Merge branch 'master' of github.com:cesanta/mongoose 2023-02-14 15:12:59 +00:00
cpq
bac15d2ecf Fix #2063 - a typo 2023-02-14 15:12:51 +00:00
Sergio R. Caprile
605dfa7366 Standardize STM32 RNDIS examples 2023-02-13 18:40:09 -03:00
Sergio R. Caprile
8e3eb8b3d2 simplify names 2023-02-13 16:54:26 -03:00
Sergio R. Caprile
50f5834296 Update and standardize F4 FreeRTOS 2023-02-13 10:53:59 -03:00
cpq
6f011fce3b Serialize HW tests 2023-02-13 03:10:09 +00:00
cpq
5aebed95a4 Fix VC98 build 2023-02-12 10:41:51 +00:00
Sergey Lyubka
8321f9f6e9
Merge pull request #2034 from cesanta/queue
Add struct mg_queue and API, change examples/multi-threaded, add tests
2023-02-12 10:04:13 +00:00
cpq
bf9d69ab56 Add struct mg_queue and API, change examples/multi-threaded, add tests 2023-02-11 13:24:26 +00:00
Sergio R. Caprile
faaff57d2b update Makefile 2023-02-10 21:24:42 -03:00
Sergio R. Caprile
40667ef1c1
Update Makefile 2023-02-10 20:52:55 -03:00
Sergio R. Caprile
4974303e6b Make example as README says 2023-02-10 20:06:25 -03:00
Sergio R. Caprile
664bb0a663
Merge pull request #2055 from cesanta/makefiles
minor updates
2023-02-10 19:45:09 -03:00
Sergio R. Caprile
491596d03d minor updates 2023-02-10 19:41:27 -03:00
Sergio R. Caprile
1cb99ea2fc Standardize F4 baremetal 2023-02-10 15:53:55 -03:00
cpq
fbaaf89a21 Update screenshot 2023-02-09 22:47:48 +00:00
cpq
7625a0154e Using webp for screenshots 2023-02-09 22:41:49 +00:00
cpq
5a42319a07 Add readme rule 2023-02-09 20:04:59 +00:00
cpq
61b9820f78 Update READMEs 2023-02-09 20:04:07 +00:00
Sergio R. Caprile
a383a45269
Merge pull request #2044 from cesanta/eph1
Fix ifp->eport init
2023-02-09 16:41:25 -03:00
cpq
49a6559453 Add a rule on symlink 2023-02-09 19:00:10 +00:00
cpq
2e16a10720 Fix ifp->eport init 2023-02-09 18:39:14 +00:00
cpq
35924ce550 Use CMSIS for H7 2023-02-09 11:08:22 +00:00
Sergio R. Caprile
d445ff40c2 Add mass-storage disk with an index file 2023-02-08 12:38:11 -03:00
cpq
2c62e58dbd Move mip/ -> src/tcpip/, rename mip_ -> mg_tcpip_ 2023-02-07 21:35:37 +00:00
Sergio R. Caprile
efc54375dd
Merge pull request #2028 from cesanta/mip
Kill ARP cache, kill qprofile
2023-02-07 15:42:20 -03:00
cpq
9dc86aa77d Kill ARP cache, kill qprofile 2023-02-07 14:26:03 +00:00
cpq
a647a69791 Add examples/readme with rules 2023-02-07 12:15:50 +00:00
cpq
f5ff7cfcf1 Introduce sysinit.c, better debug log, more verbose Makefile 2023-02-06 21:26:14 +00:00
cpq
1993e9c65b Use CMSIS headers for f429 and f746 baremetal examples 2023-02-06 15:00:09 +00:00
Sergey Lyubka
6700b373cd
Merge pull request #2022 from cesanta/win
Adopt Makefile for Windows. Update examples readme section
2023-02-06 14:21:56 +00:00
cpq
dc86c62d8b Adopt Makefile for Windows. Update examples readme section 2023-02-04 14:15:53 +00:00
Sergio R. Caprile
958eebb16c Add STM32H743ZI driver and example 2023-02-03 18:04:29 -03:00
cpq
961cc13948 Nits: fix DNS resolution message. Add Makefile comment for testing targets 2023-02-02 10:33:00 +00:00
Sergio R. Caprile
15ad58b5cc
Merge pull request #2010 from cesanta/f429-debug-uart
Use UART_DEBUG
2023-02-01 19:53:53 -03:00
Sergio R. Caprile
06b79600ac Use UART_DEBUG 2023-02-01 19:37:35 -03:00
Sergio R. Caprile
b9e633ad06 Mods to be testable 2023-02-01 19:26:47 -03:00
cpq
d76e69f9a7 Use UART_DEBUG 2023-02-01 21:08:24 +00:00
Sergio R. Caprile
8f358f09b8 Remove symlinks in pico example 2023-01-31 15:34:15 -03:00
Sergio R. Caprile
c41ade2983 Remove dups in Zephyr dirs 2023-01-31 14:51:48 -03:00
Sergio R. Caprile
d1c9d7ffdc
Merge pull request #2000 from cesanta/tls
Add TLS to pico-w5500 baremetal example
2023-01-30 18:37:00 -03:00
cpq
052b40680d Add TLS to pico-w5500 baremetal example 2023-01-30 21:30:10 +00:00
Sergio R. Caprile
997da11cc5 do not use %I 2023-01-30 17:13:38 -03:00
cpq
edfa533a4d Correct the description 2023-01-27 22:45:35 +00:00
cpq
28262145ab Better upload flow 2023-01-27 22:16:24 +00:00
cpq
84893ec582 Small usability nits 2023-01-27 09:36:16 +00:00
Sergey Lyubka
e635d5f748
Merge pull request #1986 from cesanta/w5
Add examples/rp2040/pico-w5500 to hwtest
2023-01-23 12:32:14 +00:00
cpq
1ead940623 Add nucleo-h743zi-baremetal boilerplate, with HW test 2023-01-22 11:48:56 +00:00
cpq
987f8bc949 Prep for msc 2023-01-21 13:42:25 +00:00
cpq
6f096333d3 make clean: invoke docker only when there is something to clean 2023-01-21 07:44:50 +00:00
cpq
5a25111b20 Add examples/rp2040/pico-w5500 to hwtest 2023-01-21 02:21:20 +00:00
Sergio R. Caprile
c7cb16cafa
Merge pull request #1984 from cesanta/ti-nodocker
Get rid of Docker (TI), part 2: FreeRTOS
2023-01-20 18:47:55 -03:00
Sergio R. Caprile
9a7f7255ff Get rid of Docker, part 2: FreeRTOS 2023-01-20 18:20:19 -03:00
Sergio R. Caprile
d3df6b8f4f Get rid of Docker (TI), part 2: FreeRTOS 2023-01-20 18:19:29 -03:00
Sergio R. Caprile
f4d058155a Fix UART1,2 clocking in all other examples 2023-01-20 17:49:57 -03:00
Sergio R. Caprile
b04612e80d
Merge pull request #1975 from cesanta/hwtest
Cleanup, adopt for HW test
2023-01-20 16:26:05 -03:00
Sergio R. Caprile
5f00e4d34d
Merge pull request #1980 from cesanta/ti-nodocker
Get rid of Docker (TI), part 1
2023-01-20 16:21:45 -03:00
cpq
e967feb091 Cleanup, adopt for HW test 2023-01-20 18:46:19 +00:00
Sergio R. Caprile
0445b18bb9
Merge pull request #1977 from cesanta/reallyclean
Apply a deeper cleanser
2023-01-20 15:36:51 -03:00
Sergio R. Caprile
99f1f749cf Apply a deeper cleanser 2023-01-20 15:27:37 -03:00
Sergio R. Caprile
f4d16f1c47 Get rid of Docker (TI), part 1 2023-01-20 15:06:03 -03:00
Sergio R. Caprile
44975da7db Get rid of Docker, part 1 2023-01-20 12:42:38 -03:00
Sergio R. Caprile
37c0ed0b49 Fix AF in UART1,2 2023-01-19 15:28:51 -03:00
cpq
556bf7b888 Fix uart_init(), use correct AF for UART1/UART2 2023-01-19 10:31:26 +00:00
Sergio R. Caprile
56e015db0e Enable test for pico-rndis-dashboard 2023-01-17 14:58:05 -03:00
Sergio R. Caprile
45f7afb3e1 Simplify build 2023-01-17 13:54:22 -03:00
cpq
3f9aff1b10 Update uart logs with Ethernet status 2023-01-15 12:03:40 +00:00
Sergio R. Caprile
645b52602f
Update main.c 2023-01-13 15:08:00 -03:00
Sergey Lyubka
1661bd6691
Merge pull request #1955 from cesanta/picormii
Add RMII example for RP2040
2023-01-11 10:40:10 +00:00
Sergio R. Caprile
2b8e92a70d updated to ARCH_RP2040 2023-01-10 10:54:27 -03:00
Sergey Lyubka
d70ab3cfa8
Merge pull request #1944 from cesanta/devdash
Add reduced functionality version
2023-01-10 12:31:03 +00:00
Sergey Lyubka
9402c6ad28
Merge pull request #1956 from cesanta/lbl
Rename struct mg_connection::label -> data. Make its size configurable
2023-01-10 08:34:22 +00:00
cpq
da5e8e9778 Rename struct mg_connection::label -> data. Make its size configurable 2023-01-10 08:19:49 +00:00
Sergio R. Caprile
feedfdf810
Update main.c 2023-01-09 14:31:04 -03:00
Sergio R. Caprile
6db0a502bf Add RMII example 2023-01-09 11:16:01 -03:00
Sergio R. Caprile
b259bdeddd Rename mip_rxcb to mip_qwrite, add mip_qread and enforce rx() for drivers 2023-01-03 19:33:26 -03:00
Sergio R. Caprile
d09e4d648c Add Pico dashboard 2023-01-02 16:49:15 -03:00
Sergio R. Caprile
49add531c4 Moved pico-w example 2023-01-02 15:12:07 -03:00
Sergey Lyubka
c625fbb43d
Merge branch 'master' into rp2040-w5500 2023-01-02 16:48:34 +00:00
cpq
0f474e8d2a Add pico-w5500 example 2023-01-02 16:36:55 +00:00
Sergio R. Caprile
d8fb110b56 Update test.yml 2022-12-27 20:34:10 -03:00
Sergio R. Caprile
77e62626a9 Add RNDIS examples to tests, remove "stm32/nucleo*" examples from "examples" test group 2022-12-27 20:27:08 -03:00
Sergio R. Caprile
6791a36d85 Add reduced functionality version 2022-12-27 18:12:55 -03:00
Sergey Lyubka
311062dc41
Merge pull request #1938 from cesanta/F746rndis
Add RNDIS example for F7
2022-12-24 15:10:00 +00:00
Sergio R. Caprile
9f6d99352a Added link to tutorial 2022-12-23 19:45:57 -03:00
Sergio R. Caprile
02b1d6260a Add RNDIS example for F7 2022-12-23 19:28:33 -03:00
Sergio R. Caprile
e8ade14259
Merge pull request #1937 from cesanta/tm4cdriverdata
Rename driver data structure
2022-12-23 16:27:42 -03:00
Sergio R. Caprile
f506344ada Rename driver data structure 2022-12-23 15:56:46 -03:00
Sergio R. Caprile
ddca518cca Rename driver data structure 2022-12-23 15:45:30 -03:00
Sergio R. Caprile
cc3b311ab0 Fix MQTT server example 2022-12-20 16:06:46 -03:00
cpq
6cedca5d76 Remove DS_Store 2022-12-19 14:40:17 +00:00
cpq
57a5c0ba38 Add TinyUSB example 2022-12-19 14:31:54 +00:00
Sergey Lyubka
6921227ec8
Merge pull request #1915 from jfsimon1981/miptap
Mip tests and tuntap example to compile on OpenBSD natively.
2022-12-13 16:42:09 +00:00
Sergey Lyubka
1c9991ee83
Merge pull request #1916 from cesanta/stm32
Minor tweaks in STM32 examples
2022-12-13 16:40:38 +00:00
Sergey Lyubka
fd475fcfff
Merge pull request #1917 from cesanta/tm4c
Correct stack initialization
2022-12-13 16:40:10 +00:00
jojo2massol
ff1d45a008
Update comment for the path of rest API
rest api is available at `/rest` and not `/api/rest`
2022-12-13 15:33:51 +01:00
Jean-Francois Simon
5556568feb Mip tests and tuntap example to compile on OpenBSD natively.
(updated for c++ build)

Fix typo
2022-12-09 18:48:05 +00:00
Sergio R. Caprile
6011a15cd4 Correct stack initialization 2022-12-09 15:47:23 -03:00
Sergio R. Caprile
2c014778d9 Minor tweaks in STM32 examples
Fix comments in newer mip initialization (main.c)
Correct stack initialization (boot.c)
Remove SCC clock enable when not needed (mcu.h)
2022-12-09 15:20:51 -03:00
Sergio R. Caprile
327f734e4f Add README 2022-12-06 17:09:15 -03:00
Sergey Lyubka
eb142f26f2
Merge pull request #1897 from cesanta/i
Fix #1888: add %I *printf specifier for IP address. Remove mg_ntoa, m…
2022-12-03 14:39:47 +00:00
cpq
b01989f041 Fix #1888: add %I *printf specifier for IP address. Remove mg_ntoa, mg_straddr 2022-12-03 14:27:07 +00:00
Sergio R. Caprile
d059d2cda4 Improve STM32 driver 2022-12-02 19:47:29 -03:00
Sergio R. Caprile
860be3f96c Add links to tool installation in MIP hw examples 2022-12-01 17:23:16 -03:00
Sergio R. Caprile
716ffbb945 Add FreeRTOS + MIP tutorial on TM4C 2022-11-29 11:16:43 -03:00
Sergio R. Caprile
2dfed10d2e Add FreeRTOS + MIP example on F746 2022-11-25 16:57:35 -03:00
cpq
a74d3737dc Fix mip-pcap 2022-11-25 14:23:59 +00:00
cpq
6c82a34aa0 Remove unused code 2022-11-25 10:00:04 +00:00
cpq
320d5656ac Remove unused code 2022-11-25 10:00:04 +00:00
Sergio R. Caprile
afdf7e6df3
actually be able to flash target 2022-11-23 16:13:37 -03:00
Sergey Lyubka
3e1c7d7ef2
Merge pull request #1874 from cesanta/makefix
Fix wildcard in Makefile
2022-11-23 10:16:11 +00:00
cpq
7ce7c3deb7 Fix mingw build 2022-11-22 09:50:35 +00:00
Sergio R. Caprile
c9b390ec60 Fix wildcard in Makefile 2022-11-21 16:57:15 -03:00
Sergio R. Caprile
76e6b23a4f
Update README.md 2022-11-18 18:06:48 -03:00
Sergio R. Caprile
606009afb0 Add missing include
linux/if uses struct sockaddr that is defined in sys/socket.h. This breaks building on some systems. It went unnoticed as it was hidden by mongoose.h being included first
2022-11-18 10:51:58 -03:00
Sergey Lyubka
da303b8b4f
Merge pull request #1858 from cesanta/LAA
change MIP MAC to LAA
2022-11-18 10:41:12 +00:00
Sergio R. Caprile
9a341c9032 change MIP MAC to LAA 2022-11-15 14:56:51 -03:00
Sergio R. Caprile
21e8b08ed9 Reduce Zephyr test time 2022-11-14 18:06:00 -03:00
Sergey Lyubka
4056bd3c2d
Merge pull request #1847 from cesanta/xiao
Fix arduino-xiao build and add GA test
2022-11-11 14:53:40 +00:00
cpq
8e46e05e1b Fix arduino-xiao build and add GA test 2022-11-11 10:04:47 +00:00
Sergio R. Caprile
ec0e27dbb4 Add EK-TM4C1294XL example 2022-11-10 21:14:30 -03:00
Sergio R. Caprile
5418a8c28a
Unbreak
userdata was changed to a pointer to a socket, but tx() was not updated

My Linux system does not like mongoose.h at the end...
2022-11-10 15:00:43 -03:00
cpq
f498d69b7d Fix examples/stm32/nucleo-f429zi-freertos-mip 2022-11-10 03:01:10 +00:00
Sergio R. Caprile
dfae1b3f70
Merge pull request #1843 from cesanta/mip
Expose mip guts
2022-11-09 17:40:46 -03:00
cpq
abfac8aa40 Expose mip guts 2022-11-09 19:25:40 +00:00
cpq
78956ccf83 Add nucleo-f429zi-freertos-mip example 2022-11-09 18:25:11 +00:00
Sergey Lyubka
eed25f23f6
Merge pull request #1839 from cesanta/stm32uart
Fix wrong reference to prescaler
2022-11-09 09:24:24 +00:00
cpq
28a4778187 Endianness test 2022-11-09 09:20:15 +00:00
Sergio R. Caprile
c654c2e5e8 Fix wrong reference to prescaler 2022-11-08 11:23:10 -03:00
Sergey Lyubka
e580d4e637
Merge pull request #1837 from cesanta/arch
Create MG_ARCH_FREERTOS, MG_ENABLE_LWIP, MG_ENABLE_FREERTOS_TCP. Remo…
2022-11-08 00:13:28 +00:00
cpq
2192914cbb Create MG_ARCH_FREERTOS, MG_ENABLE_LWIP, MG_ENABLE_FREERTOS_TCP. Remove MG_ARCH_FREERTOS_TCP, MG_ARCH_RTX_LWIP 2022-11-07 23:58:58 +00:00
Sergio R. Caprile
6f3bdc5dca Remove some warnings 2022-11-07 15:23:47 -03:00
cpq
efec738c89 ARP lookup hosts in the same net. Use up-to-date code in zephyr dash example 2022-11-03 08:06:17 +00:00
cpq
c25234df83 Better MIP description 2022-10-27 08:12:22 +01:00
Sergio R. Caprile
eeb7b00f60 Allow flash and cloning without build 2022-10-25 10:41:53 -03:00
Sergio R. Caprile
fe6c31acc1 Make pico-w device-dashboard example fully functional 2022-10-20 11:57:00 -03:00
Sergio R. Caprile
ae7ca00e69 Dettach git clone and fix clean
The user has to clone the repo, then edit the Makefile to change WiFi credentials. Running make build does both and the tests go flawlessly
The user can run make to clone the repo, then change credentials and run make build, it will skip cloning if the repo is already there

In some systems the compiled files are not owned by the user as Docker runs as root, so we first invoke clean in the cloned repo (which erases the compiled files), and then remove the cloned repo that the user owns and can rm.
2022-10-14 12:09:39 -03:00
cpq
e8d29d54d6 Use board nucleo_f429zi 2022-10-14 11:39:00 +01:00
Sergio R. Caprile
6edcc72364 fix paths in Makefile 2022-10-10 16:51:07 -03:00
Sergey Lyubka
250dfc1377
Merge pull request #1790 from cesanta/zephyr-device-dashboard
Add device-dashboard example on Zephyr
2022-10-10 15:59:08 +01:00
Sergey Lyubka
45489c1c87
Merge pull request #1789 from zudwalex/picow
Add Pico-W example
2022-10-10 15:58:53 +01:00
Sergey Lyubka
09b250f189
Merge pull request #1787 from cesanta/zephyr
Update Zephyr examples
2022-10-10 15:58:39 +01:00
zahar517
52e66077a7 Fix json-rpc-over-ws example 2022-10-08 14:39:01 +03:00
Sergio R. Caprile
84bf4d21a3 Add device-dashboard example on Zephyr 2022-10-07 11:52:31 -03:00
Alex Alashkin
04cfc510d0 Add Pico-W example 2022-10-07 09:11:35 +03:00
Sergio R. Caprile
d846e67ec1 Update Zephyr examples 2022-10-06 17:30:27 -03:00
Sergey Lyubka
8346be7a81
Merge pull request #1783 from cesanta/zephyr
Update to latest Zephyr and their Docker repo
2022-10-05 11:41:55 +01:00
Sergio R. Caprile
e7cb82175a rename time() to ourtime() 2022-10-04 19:27:38 -03:00
Sergio R. Caprile
1ef0aa14c0 Update to latest Zephyr and their Docker repo 2022-10-04 17:24:13 -03:00
Sergio R. Caprile
7cf4834336 Fix wrong ca.pem path
Remove extra EHLO before AUTH (there were two)
2022-09-28 16:05:29 -03:00