Sergio R. Caprile
99aa498bc4
Use %I in mip.c
...
Add %A to print hw address and use it in mip.c
Fix some debug data
2022-12-06 13:44:31 -03:00
Sergio R. Caprile
65873f3dee
Improve TM4C driver
...
- Fix clock guessing
- Frames are now read in order, and only host owned descriptors are checked
- Read as many frames as possible (but don't loop forever)
- Discard bad frames
- Fixed incorrect handling of RU bit and exit out of suspended condition
- If a frame arrives while processing, it will now generate a new interrupt (formerly it would wait for another frame to arrive as we reset the flag on exit)
2022-12-06 10:45:41 -03:00
Sergio R. Caprile
d059d2cda4
Improve STM32 driver
2022-12-02 19:47:29 -03:00
Sergio R. Caprile
474a07564c
Make test NOT fail
2022-11-30 18:16:13 -03:00
Sergio R. Caprile
716ffbb945
Add FreeRTOS + MIP tutorial on TM4C
2022-11-29 11:16:43 -03:00
Sergio R. Caprile
858f4da0d1
Fix MAC address filtering on STM32 and TM4C
2022-11-28 10:16:10 -03:00
Sergio R. Caprile
9625c49c95
Fix sending ARP request for IP broadcasts
2022-11-25 17:42:35 -03:00
Jean-Francois Simon
0d7bbc51e7
Implemented MIP stack http_fetch()
...
This approach used tuntap driver for Linux/Unices
2022-11-21 15:32:45 +01:00
jfsimon1981
d958ec2ac8
Revert "mip_test.c http fetch ( #1851 )" ( #1864 )
...
This reverts commit 07aac8e6e9
.
2022-11-16 18:02:23 +01:00
jfsimon1981
07aac8e6e9
mip_test.c http fetch ( #1851 )
...
* Update mip_test.c
* Adding mip_free() function.
* Adding mip_free() function.
* Added MIP free.
* Fixed C++ builds.
* Proper C/C++ struct initialization.
* Squashed commit of the following:
commit 7ba68dd20d
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Wed Nov 16 16:19:50 2022 +0100
Proper C/C++ struct initialization.
commit aeab3ef7ac
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 17:09:29 2022 +0100
Fixed C++ builds.
commit 2afd529107
Merge: 14710b81
f8445a4c
Author: jfsimon1981 <jfsimon1981@gmail.com>
Date: Tue Nov 15 11:33:56 2022 +0100
Merge branch 'cesanta:master' into master
commit 14710b81e4
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:07:15 2022 +0100
Added MIP free.
commit 6393cd149d
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:06:44 2022 +0100
Adding mip_free() function.
commit feee81b733
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:05:55 2022 +0100
Adding mip_free() function.
commit f8445a4c85
Merge: a39b7ddb
71f5be01
Author: Sergio R. Caprile <scaprile@users.noreply.github.com>
Date: Fri Nov 11 20:42:38 2022 -0300
Merge pull request #1853 from cesanta/tibaremetaltest
Update test.yml
commit 71f5be011b
Author: Sergio R. Caprile <scaprile@users.noreply.github.com>
Date: Fri Nov 11 20:15:01 2022 -0300
Update test.yml
commit b53d3cf032
Merge: 7a71038a
a39b7ddb
Author: jfsimon1981 <jfsimon1981@gmail.com>
Date: Fri Nov 11 16:10:53 2022 +0100
Merge branch 'cesanta:master' into master
commit 7a71038a27
Author: jfsimon1981 <jfsimon1981@gmail.com>
Date: Fri Nov 11 16:09:22 2022 +0100
Update mip_test.c
commit a39b7ddbac
Author: cpq <valenok@gmail.com>
Date: Fri Nov 11 15:03:48 2022 +0000
Fix fuzzer use-after-poison READ 1
* Squashed commit of the following:
commit 192ae56ece
Merge: 7b0509c8
7ba68dd2
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Wed Nov 16 17:44:03 2022 +0100
Merge branch 'master' of https://github.com/jfsimon1981/mongoose
commit 7b0509c878
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Wed Nov 16 17:43:33 2022 +0100
Squashed commit of the following:
commit 7ba68dd20d
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Wed Nov 16 16:19:50 2022 +0100
Proper C/C++ struct initialization.
commit aeab3ef7ac
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 17:09:29 2022 +0100
Fixed C++ builds.
commit 2afd529107
Merge: 14710b81
f8445a4c
Author: jfsimon1981 <jfsimon1981@gmail.com>
Date: Tue Nov 15 11:33:56 2022 +0100
Merge branch 'cesanta:master' into master
commit 14710b81e4
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:07:15 2022 +0100
Added MIP free.
commit 6393cd149d
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:06:44 2022 +0100
Adding mip_free() function.
commit feee81b733
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:05:55 2022 +0100
Adding mip_free() function.
commit f8445a4c85
Merge: a39b7ddb
71f5be01
Author: Sergio R. Caprile <scaprile@users.noreply.github.com>
Date: Fri Nov 11 20:42:38 2022 -0300
Merge pull request #1853 from cesanta/tibaremetaltest
Update test.yml
commit 71f5be011b
Author: Sergio R. Caprile <scaprile@users.noreply.github.com>
Date: Fri Nov 11 20:15:01 2022 -0300
Update test.yml
commit b53d3cf032
Merge: 7a71038a
a39b7ddb
Author: jfsimon1981 <jfsimon1981@gmail.com>
Date: Fri Nov 11 16:10:53 2022 +0100
Merge branch 'cesanta:master' into master
commit 7a71038a27
Author: jfsimon1981 <jfsimon1981@gmail.com>
Date: Fri Nov 11 16:09:22 2022 +0100
Update mip_test.c
commit a39b7ddbac
Author: cpq <valenok@gmail.com>
Date: Fri Nov 11 15:03:48 2022 +0000
Fix fuzzer use-after-poison READ 1
commit 7ba68dd20d
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Wed Nov 16 16:19:50 2022 +0100
Proper C/C++ struct initialization.
commit aeab3ef7ac
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 17:09:29 2022 +0100
Fixed C++ builds.
commit 2afd529107
Merge: 14710b81
f8445a4c
Author: jfsimon1981 <jfsimon1981@gmail.com>
Date: Tue Nov 15 11:33:56 2022 +0100
Merge branch 'cesanta:master' into master
commit 14710b81e4
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:07:15 2022 +0100
Added MIP free.
commit 6393cd149d
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:06:44 2022 +0100
Adding mip_free() function.
commit feee81b733
Author: Jean-Francois Simon <jfsimon@startmail.com>
Date: Tue Nov 15 11:05:55 2022 +0100
Adding mip_free() function.
commit f8445a4c85
Merge: a39b7ddb
71f5be01
Author: Sergio R. Caprile <scaprile@users.noreply.github.com>
Date: Fri Nov 11 20:42:38 2022 -0300
Merge pull request #1853 from cesanta/tibaremetaltest
Update test.yml
commit 71f5be011b
Author: Sergio R. Caprile <scaprile@users.noreply.github.com>
Date: Fri Nov 11 20:15:01 2022 -0300
Update test.yml
commit b53d3cf032
Merge: 7a71038a
a39b7ddb
Author: jfsimon1981 <jfsimon1981@gmail.com>
Date: Fri Nov 11 16:10:53 2022 +0100
Merge branch 'cesanta:master' into master
commit a39b7ddbac
Author: cpq <valenok@gmail.com>
Date: Fri Nov 11 15:03:48 2022 +0000
Fix fuzzer use-after-poison READ 1
Co-authored-by: Jean-Francois Simon <jfsimon@startmail.com>
2022-11-16 17:55:27 +01:00
Sergio R. Caprile
a985ae9c0a
Fix incorrect local network address detection
2022-11-11 11:18:47 -03:00
Sergey Lyubka
a8bef96463
Merge pull request #1844 from cesanta/tm4c129x
...
Add TM4C129x driver
2022-11-11 13:15:35 +00:00
Sergio R. Caprile
e180192379
Add TM4C129x driver
2022-11-10 14:41:41 -03:00
cpq
abfac8aa40
Expose mip guts
2022-11-09 19:25:40 +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
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
Sergio R. Caprile
e3d1a69223
CR incorrectly set in STM32 driver
2022-11-02 19:25:05 -03: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
cpq
5574a2663a
Close connection on 3 keep-alive misses
2022-09-25 17:35:14 +01:00
cpq
c409cca20e
Optimize fuzzer
2022-09-25 10:19:17 +01:00
cpq
6a47ff6422
Activate asan for mip_test
2022-09-23 08:35:59 +01:00
cpq
1237185bb4
MIP: atomic -> volatile. Add lease time
2022-09-22 17:16:52 +01:00
cpq
cb5034548d
Fix oob read in rx_dhcp()
2022-09-22 13:42:17 +01:00
cpq
a12bd2271e
Fuzzing MIP
2022-09-21 20:29:49 +01:00
cpq
82b50fd3a5
Pass MDC clock divider explicitly rather than guess
2022-09-12 23:57:04 +01:00
cpq
274c11c3ec
Update README
2022-09-11 13:42:59 +01:00
cpq
c718d7999f
Add MAC addr filtering to stm32 driver. Record free space in q profiler
2022-09-10 16:38:03 +01:00
Sergio R. Caprile
995f90aa49
Add irq and drop counters to qprofiler
2022-09-09 14:47:46 -03:00
cpq
fd4e1975a3
Pass long *bytes_read to MG_EV_READ
2022-09-09 17:09:18 +01:00
cpq
124ac12150
Add mbedtls support to MIP
2022-09-09 15:53:42 +01:00
Sergey Lyubka
c33116166f
Merge pull request #1720 from cesanta/qprofile
...
Add rudimentary queue profiler
2022-09-08 10:37:01 +01:00
cpq
419126652e
Merge branch 'master' of github.com:cesanta/mongoose
2022-09-08 08:50:51 +01:00
cpq
06ab83dca6
Implement keep-alive, 45 sec interval. Correct ACK piggyback
2022-09-08 08:50:42 +01:00
Sergio R. Caprile
313fddf722
Add rudimentary queue profiler
...
ETH IRQ and mip_poll() can both write to the queue, so if a memcpy() is interrupted we might see some weird records.
2022-09-07 17:14:03 -03:00
Sergey Lyubka
f4def36ccb
Merge pull request #1717 from cesanta/fixmipq
...
Fix MIP Q
2022-09-07 20:59:12 +01:00
cpq
881b282604
Implement ack timer
2022-09-07 20:48:23 +01:00
Sergio R. Caprile
9675bfe07d
Fix MIP Q
2022-09-07 14:59:58 -03:00
Sergey Lyubka
70e2d8dd4e
Merge pull request #1716 from cesanta/pcap
...
Make mip-pcap work on Mac
2022-09-07 13:36:14 +01:00
cpq
b2624f6055
Make mip-pcap work on Mac
2022-09-07 13:36:00 +01:00
Sergio R. Caprile
419dd50255
Fix Ethernet buffer size
...
1500 bytes is payload size, which is OK for tx. On the rx side, a full 802.1Q-tagged frame size is 1522 bytes, without the 4-byte CRC = 1518 bytes (1514 for non-VLAN-tagged frames).
2022-09-06 16:53:26 -03:00
cpq
1c181e091e
Add mip test
2022-09-05 15:56:03 +01:00
Sergio R. Caprile
32782bab0e
Merge pull request #1706 from cesanta/mg_timer_expired
...
Introduce mg_timer_expired(). Adopt DHCP and link status to use it
2022-09-05 11:45:53 -03:00
cpq
44b4944334
Use single-line comments
2022-09-03 09:49:41 +01:00
cpq
f9272d0959
Introduce mg_timer_expired(). Adopt DHCP and link status to use it
2022-09-03 09:45:19 +01:00
Sergio R. Caprile
a1992f5910
Re-enable sending ACKs until proper mechanism is in place
2022-09-02 20:48:30 -03:00
Sergio R. Caprile
4a1a26e8b7
Extend explanation for MDC clock
2022-09-02 15:03:46 -03:00
Sergio R. Caprile
7358ed25a5
Add CR setup, set MDC based on HCLK
2022-09-02 14:02:02 -03:00
cpq
567fccd7ee
Refactor W5500 driver, add arduino w5500 example
2022-09-02 12:58:54 +01:00
cpq
f7f7319698
Refactor W5500 driver, add arduino w5500 example
2022-09-02 12:58:54 +01:00