Sergio R. Caprile
ec0e27dbb4
Add EK-TM4C1294XL example
2022-11-10 21:14:30 -03:00
Sergio R. Caprile
3f55d93b41
Merge pull request #1845 from cesanta/mip-tap
...
Unbreak
2022-11-10 15:01:10 -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
Sergio R. Caprile
a9ebb55f95
Merge pull request #1842 from cesanta/ft
...
Add nucleo-f429zi-freertos-mip example
2022-11-09 16:28:33 -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
Sergey Lyubka
134ce56f80
Merge pull request #1841 from cesanta/small
...
Endianness test
2022-11-09 09:23:04 +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
ca6dee1777
Merge pull request #1836 from cesanta/dewarning
...
Remove some warnings
2022-11-07 15:29:33 -03:00
Sergio R. Caprile
6f3bdc5dca
Remove some warnings
2022-11-07 15:23:47 -03:00
Sergey Lyubka
095cdcd69e
Merge pull request #1834 from cesanta/sock
...
Generalize socket constants
2022-11-05 13:11:57 +00:00
cpq
f022633f29
Generalize socket constants
2022-11-05 12:33:49 +00:00
Sergey Lyubka
1f85fcc9b0
Merge pull request #1831 from cesanta/mqtt
...
Accept zero-length payload messages
2022-11-03 16:46:56 +00:00
Sergio R. Caprile
a3ede75842
Accept zero-length payload messages
2022-11-03 11:26:08 -03:00
cpq
0defce37f0
Pull mongoose_custom.h
2022-11-03 12:59:55 +00:00
Sergey Lyubka
4355b39b1e
Merge pull request #1830 from cesanta/mip
...
ARP lookup hosts in the same net. Use up-to-date code in zephyr dash …
2022-11-03 12:35:17 +00: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
Sergey Lyubka
10c09a361b
Merge pull request #1829 from cesanta/cr
...
CR incorrectly set in STM32 driver
2022-11-02 23:18:20 +00:00
Sergio R. Caprile
e3d1a69223
CR incorrectly set in STM32 driver
2022-11-02 19:25:05 -03:00
Sergey Lyubka
4b82253ae9
Merge pull request #1826 from cesanta/custom
...
mongoose_custom.h not pulled in when MG_ARCH=MG_ARCH_CUSTOM
2022-11-02 12:05:59 +00:00
Sergio R. Caprile
47a12c30ca
mongoose_custom.h not pulled in when MG_ARCH=MG_ARCH_CUSTOM
2022-11-01 21:01:33 -03:00
cpq
613655767b
Housekeeping at the end of c->label
2022-11-01 21:01:03 +00:00
Sergey Lyubka
1182027f1c
Merge pull request #1823 from cesanta/ti-rtos
...
Fix TI-RTOS port
2022-10-30 09:41:48 +00:00
Sergio R. Caprile
e9421d557a
Fix TI-RTOS port
...
Sockets were not being put in non-blocking mode as the setsockopt() call wasn't using SOL_SOCKET
Do not include errno.h but serrno.h, otherwise error codes are mangled... NDK functions use serrno, errno belongs to the compiler
UDP sockets require binding to receive responses
select() does not return write-ready on connect if the amount of bytes to write is below the "low-water mark". This parameter defaults to 2048, there was some code apparently setting this otherwise, with no success. Reworked the code to set this water mark at half the buffer size by just using plain getsockopt/setsockopt calls.
For the record:
TI typedef's void * SOCKET for internal use, INVALID_SOCKET is cast to (void *). Their BSD compatible socket interface expects and returns int; while Mongoose uses SOCKET... this generates lots of warnings 169 and 515, disabled in the examples
2022-10-28 18:55:10 -03:00
cpq
bbc0c0df94
Unbreak test
2022-10-28 15:35:40 +01:00
Sergio R. Caprile
610e32714c
Merge pull request #1822 from cesanta/hello
...
Add mg_hello()
2022-10-28 09:48:43 -03:00
cpq
7ab81d3805
Add mg_hello()
2022-10-28 10:57:06 +01:00
Sergey Lyubka
9a1e41e1fa
Merge pull request #1821 from cesanta/docs
...
Augment WS documentation
2022-10-27 23:09:47 +01:00
Sergio R. Caprile
ae71d12f06
Augment WS documentation
2022-10-27 12:03:16 -03:00
cpq
c25234df83
Better MIP description
2022-10-27 08:12:22 +01:00
Sergey Lyubka
03284ba046
Merge pull request #1810 from cesanta/zephyresp
...
Support Zephyr on ESP32
2022-10-25 17:22:47 +01:00
Sergey Lyubka
5fa433ecca
Merge pull request #1814 from cesanta/ti-rtos
...
Improve TI-RTOS timing support
2022-10-25 17:07:33 +01:00
Sergio R. Caprile
ac2a4c700a
Merge pull request #1818 from cesanta/ti
...
Allow flash and cloning without build
2022-10-25 10:55:46 -03:00
Sergio R. Caprile
eeb7b00f60
Allow flash and cloning without build
2022-10-25 10:41:53 -03:00
Sergio R. Caprile
c8c540b453
Improve TI-RTOS timing support
2022-10-24 11:48:54 -03:00
Sergio R. Caprile
a0585f75f7
Support Zephyr on ESP32
2022-10-21 11:44:09 -03:00
Sergey Lyubka
637af1d392
Merge pull request #1809 from cesanta/picow
...
Make pico-w device-dashboard example fully functional
2022-10-20 18:24:38 +01:00
Sergio R. Caprile
fe6c31acc1
Make pico-w device-dashboard example fully functional
2022-10-20 11:57:00 -03:00
Sergio R. Caprile
04cfcf751e
Merge pull request #1805 from cesanta/invsock
...
Fix unintended socket close on systems with valid fd=0 descriptor numbering
2022-10-20 11:04:03 -03:00
Sergio R. Caprile
51c51d49ad
Fix unintended socket close on systems with valid fd=0 descriptor numbering
2022-10-20 10:34:26 -03:00
cpq
4271aa5b1f
Update matrix example name
2022-10-19 09:24:19 +01:00
cpq
17ada1c894
Fix #1803 - conditional for SSL_set1_host(). In unit test, disable time.windows.com, use google and apple SNTP servers
2022-10-19 09:06:47 +01:00
cpq
2e14d125ba
Fuzzer nits
2022-10-18 15:21:59 +01:00
cpq
ce8fa4c24b
Echo WS CLOSE payload back
2022-10-18 14:31:47 +01:00
Sergey Lyubka
cfe2e83e6b
Merge pull request #1798 from Yeicor/patch-1
...
Remove mg_hexdump from deliver_chunked_chunks
2022-10-17 07:14:24 +01:00
Yeicor
b17c62618d
Remove mg_hexdump from deliver_chunked_chunks
2022-10-16 21:11:00 +02:00
Sergey Lyubka
6b162a1193
Merge pull request #1796 from cesanta/rpicow
...
Dettach git clone and fix clean
2022-10-16 16:59:19 +01:00
Sergey Lyubka
6653530b63
Merge pull request #1797 from strager/fix-typo
...
Fix typo in documentation
2022-10-16 16:58:20 +01:00
cpq
aacae6444e
Fix stack overflow in fuzzer - too big on-stack array
2022-10-15 17:18:31 +01:00
Matthew "strager" Glazar
b91fe12258
Fix typo in documentation
2022-10-14 18:27:06 -07: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
Sergio R. Caprile
0103f1f080
Merge pull request #1795 from cesanta/z
...
Use board nucleo_f429zi
2022-10-14 08:54:20 -03:00
cpq
e8d29d54d6
Use board nucleo_f429zi
2022-10-14 11:39:00 +01:00
Sergey Lyubka
092f2ce0b3
Merge pull request #1794 from cesanta/addMissingTests
...
Update test.yml
2022-10-11 07:37:53 +01:00
Sergio R. Caprile
d89233276b
Update test.yml
2022-10-10 17:16:42 -03:00
Sergio R. Caprile
7d797187e8
Merge pull request #1793 from cesanta/device-dashboard
...
fix paths in Makefile (like other examples)
2022-10-10 17:01:43 -03: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
cpq
a84465ddba
Use MG_SOCK_LISTEN_BACKLOG_SIZE -> 128 for FreeRTOS-TCP
2022-10-10 13:41:07 +01:00
Sergey Lyubka
3b95671442
Merge pull request #1791 from zahar517/fix-json-rpc-example
...
Fix json-rpc-over-ws example
2022-10-10 10:35:29 +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
Sergio R. Caprile
9c60a1bc10
Merge pull request #1788 from cesanta/mod-tests4zephyr
...
Update test.yml
2022-10-06 17:11:30 -03:00
Sergio R. Caprile
f06ac52a43
Update test.yml
2022-10-06 16:55:13 -03:00
Sergio R. Caprile
9e5fd43a2d
Update test.yml
2022-10-06 16:46:26 -03:00
Sergio R. Caprile
8d50e7dc82
Update test.yml
2022-10-06 16:32:33 -03:00
cpq
1e6b7bd2a6
Fix broken link
2022-10-05 11:49:06 +01: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
Sergey Lyubka
9dc5683fc2
Merge pull request #1785 from cesanta/device-dashboard
...
rename time() to ourtime()
2022-10-05 11:40:08 +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
cpq
0b3f6d6aab
Use CC for fuzzer, not CXX
2022-09-30 11:44:50 +01:00
Sergey Lyubka
0beef1d770
Merge pull request #1781 from jameshilliard/update-spdx
...
Update GPL license identifier
2022-09-29 20:29:07 +01:00
James Hilliard
b944db30fd
Update GPL license identifier
...
GPL-2.0 was deprecated in favor of GPL-2.0-only.
GPL-2.0+ was deprecated in favor of GPL-2.0-or-later.
See: https://spdx.org/licenses/
2022-09-29 15:18:10 -04:00
cpq
6cf3a3feaf
Fix fuzzer
2022-09-29 19:31:52 +01:00
cpq
9680b8ccb3
Fix overflow in rx_icmp
2022-09-29 16:53:11 +01:00
cpq
a88a11c243
Fix TX overflow in rx_icmp()
2022-09-29 11:13:40 +01:00
Sergey Lyubka
7ff76f69a1
Merge pull request #1777 from jameshilliard/disable-big-endian
...
Disable broken 32 bit tests and enable 32 bit little endian tests.
2022-09-29 07:33:15 +01:00
James Hilliard
c2e4e6d221
Disable broken 32 bit tests and enable 32 bit little endian tests.
...
It appears there's a bunch of endian specific failing 32 bit tests.
2022-09-28 22:18:08 -06:00
Sergey Lyubka
60edc456a9
Merge pull request #1774 from cesanta/smtp-client
...
Fix wrong ca.pem path +
2022-09-28 21:58:20 +01:00
Sergey Lyubka
625f804130
Merge pull request #1776 from jameshilliard/32-bit-bigendian
...
Also test on 32 bit big endian ppc
2022-09-28 21:56:37 +01:00
Sergey Lyubka
7100aaedec
Merge pull request #1775 from cesanta/endian
...
Fix endianness issues in unit test
2022-09-28 21:55:46 +01:00
James Hilliard
c867dbc7b2
Also test on 32 bit big endian ppc
2022-09-28 16:02:32 -04:00
cpq
88097f1829
Fix endianness issues in unit test
2022-09-28 20:22:09 +01: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
Sergey Lyubka
b5355307a3
Merge pull request #1767 from jameshilliard/bigendian-tests
...
Test on big endian CPU architectures
2022-09-28 08:08:38 +01:00
James Hilliard
76f693e5d7
Test on big endian CPU architectures
2022-09-26 05:16:49 -04:00
Sergey Lyubka
fb3b0ca6e3
Merge pull request #1765 from jameshilliard/rpc-add-calloc-null
...
Fix null pointer dereference in mg_rpc_add()
2022-09-25 23:22:57 +01:00
James Hilliard
3c71977e2e
Fix null pointer dereference in mg_rpc_add()
...
Fixes #1736
2022-09-25 14:08:58 -04:00
cpq
5574a2663a
Close connection on 3 keep-alive misses
2022-09-25 17:35:14 +01:00