Gunar Schorcht
3257c8e9f5
Merge pull request #12903 from wosym/lwip_stm32_ipv4
...
Add IPv4 support for LWIP-stm32
2019-12-16 11:45:24 +01:00
Wouter Symons
a3145a0ad0
pkg/lwip: correct coding style
2019-12-16 10:29:21 +01:00
Wouter Symons
5c42f680ed
pkg/lwip: add IPv4 support for LWIP-stm32
2019-12-16 10:28:46 +01:00
Gunar Schorcht
91e764a538
pkg/lwip: add esp_eth for lwIP and IPv4
2019-12-15 19:11:58 +01:00
Gunar Schorcht
4e003b5608
pkg/lwip: add ESP32 esp_eth netdev
2019-12-14 16:59:54 +01:00
Wouter Symons
49a8f64c62
pkg/lwip: fix memory issue when sending with empty sock
2019-12-13 17:28:32 +01:00
Martine S. Lenders
e96bc2a13d
lwip_sock: additional indirection of conn is unnecessary
...
Either the sock is provided with `sock_*_send()` or not. In the first
case the indirection is not necessary, and in the second we need to
delete the created `conn` within `lwip_sock_send()` anyway, so returning
it makes no sense.
2019-12-12 11:19:51 +01:00
Martine S. Lenders
80c23cfbf3
lwip_sock: check if sock is set before dereferencing it
2019-12-12 11:01:30 +01:00
Wouter
ed9cdb221a
Add LWIP stm32 glue code
...
Fix minor coding style issues
2019-12-06 16:26:31 +01:00
Gunar Schorcht
074369fbb5
pkg/lwip: changes for ESP8266 esp_wifi
2019-11-14 12:04:29 +01:00
Martine S. Lenders
0a2945164c
lwip: improve and fix documentation
2019-10-09 14:45:30 +02:00
Martine Lenders
4c88cb5f0e
lwip: sys_arch: replace sched_switch() with thread_yield_higher()
...
`sched_switch()` is supposed to be used in core only.
This fixes #6756 .
2019-09-24 16:33:11 +02:00
Martine Lenders
1dc6bded04
Merge pull request #11946 from gschorcht/cpu/esp32/lwip_netdev
...
cpu/esp32: lwIP netdev
2019-08-07 08:10:03 +02:00
Benjamin Valentin
66117601bb
pkg: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Gunar Schorcht
d4f818b5f3
pkg/lwip: add esp_wifi network device
...
The changes allow to use an esp_wifi network device of ESP32 with lwIP.
2019-08-06 19:12:29 +02:00
Martine Lenders
301b6555aa
lwip: use l2util_ipv6_iid_from_addr() instead of NETOPT_IPV6_IID
2019-03-27 11:48:49 +01:00
Martine Lenders
98ac1249bf
Merge pull request #10114 from miri64/pkg/enh/lwip-socket_zep
...
pkg/lwip: provide socket_zep support
2019-03-26 21:17:48 +01:00
120a46c784
pkg/lwip: use xtimer_set64() in sys_arch_mbox_fetch()
...
Used _xtimer_set64 previously, which expects ticks instead of us.
That broke on non-1us xtimer ticks (e.g., hifive1 with 32kHZ).
2019-02-21 13:53:21 +01:00
Martine Lenders
fd69f2e63f
lwip_netdev: fix setting of link-local address for 6Lo
2018-10-15 21:32:34 +02:00
Martine Lenders
6822f90004
lwip_sock: adapt for address zoning
2018-10-15 21:32:34 +02:00
Martine Lenders
0abd89e7e6
pkg/lwip: provide socket_zep support
...
This brings 802.15.4 support for native to lwIP. I used this to find
[this bug][1] and thought it might also be useful upstream. Downside:
There is no automated test for it yet.
[1]: https://savannah.nongnu.org/bugs/?54749
2018-10-05 10:39:38 +02:00
Martine Lenders
6c58441d06
lwip: fix lwip thread_create() wrapper
2018-07-17 14:13:01 +02:00
e7debdb865
lwip: explicitly set required netdev events
2018-07-12 12:00:39 +02:00
Martine Lenders
0151655de5
lwip_sock_udp: provide port for #9376 API fix
2018-06-20 14:51:17 +02:00
70407a1a3e
pkg*: fix doxygen grouping
2018-06-11 19:12:02 +02:00
403faf2314
pkg/lwip: update to use iolists
2018-03-06 14:00:32 +01:00
smlng
e381317fbf
make: fix sign-compare errors
...
cpu, nrf5x_common: fix sign-compare in periph/flashpage
drivers, periph_common: fix sign-compare in flashpage
cpu, sam0_common: fix sign-compare error in periph/gpio
cpu, cc2538: fix sign-compare in periph/timer
cpu, sam3: fix sign-compare in periph/gpio
cpu, stm32_common: fix sign-compare in periph/pwm
cpu, stm32_common: fix sign-compare in periph/timer
cpu, stm32_common: fix sign-compare in periph/flashpage
cpu, nrf5x_common: fix sign-compare in radio/nrfmin
cpu, samd21: fix sign-compare in periph/pwm
cpu, ezr32wg: fix sign-compare in periph/gpio
cpu, ezr32wg: fix sign-compare in periph/timer
drivers, ethos: fix sign-compare
sys, net: fix sign-compare
cpu, atmega_common: fix sign-compare error
cpu, msp430fxyz: fix sign-compare in periph/gpio
boards, msb-430-common: fix sign-compare in board_init
driver, cc2420: fix sign-compared
sys/net: fix sign-compare in gnrc_tftp
driver, pcd8544: fix sign-compare
driver, pn532: fix sign-compare
driver, sdcard_spi: fix sign-compare
tests: fix sign_compare
sys/net, lwmac: fix sign_compare
pkg, lwip: fix sign-compare
boards, waspmote: make CORECLOCK unsigned long to fix sign_compare error
tests, sock_ip: fix sign compare
tests, msg_avail: fix sign compare
tests, sock_udp: fix sign compare
boards: fix sign-compare for calliope and microbit matrix
2017-11-28 11:55:48 +01:00
f5a4124866
Merge pull request #6976 from miri64/conn/cleanup/rm
...
net: remove conn API
2017-05-12 16:09:00 +02:00
Martine Lenders
48aae4ef2f
lwip: port to v2.0.2
2017-05-11 11:49:38 +02:00
Martine Lenders
13770361bb
net: remove conn API
...
conn was deprecated in 38217347
. 3 Releases later and now that no module
is using it RIOT-internally anymore, I think it is time to say goodbye.
2017-04-28 15:23:54 +02:00
Martine Lenders
fd16692c1c
Merge pull request #6696 from lebrush/fix/semaphore
...
sys: sema: semaphore bugfixes
2017-03-28 20:54:06 +02:00
Oleg Hahm
409183d95d
pkg: lwip: do not panic on failing netdev->recv()
2017-03-20 11:44:20 +01:00
Martine Lenders
29842bb5e4
netdev2: rename to netdev and remove gnrc_netdev
...
With some minor hand-edits I used the following chain of commands:
```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
-e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
-e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
grep "netdev2" | while read dir; do
new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
git mv -f "$dir" "$new_dir"
done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | while read file; do
new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
git mv -f "$file" "$new_file"
done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
Victor Arino
a4bb7b8d58
pkg/lwip: use blocking sema_wait
2017-03-06 18:03:27 +01:00
Martine Lenders
b915d15de1
pkg: provide sock_tcp support for lwip
2017-02-13 20:10:42 +01:00
Peter Kietzmann
e5e79c2834
Merge pull request #5937 from miri64/pkg/feat/lwip-sock-udp
...
pkg: provide sock_udp support for lwip
2017-02-08 09:43:20 +01:00
Martine Lenders
a45256a2a7
pkg: provide sock_udp support for lwip
2017-02-07 15:48:47 +01:00
672da2c457
drivers/mrf24j40: initial mrf24j40 support
2017-01-26 10:05:20 +01:00
Oleg Hahm
693636690c
Merge pull request #6399 from OlegHahm/timex_constants
...
timex: unambiguous time conversion macros
2017-01-19 17:29:26 +01:00
Francisco Acosta
70fbcbf7ed
Merge pull request #6311 from miri64/native/enh/multi-tap
...
cpu/native: allow for multiple netdev2_tap devices
2017-01-19 14:56:55 +01:00
Oleg Hahm
4f4214235b
timex: unambiguous time conversion macros
2017-01-19 13:18:08 +01:00
Martine Lenders
1f6f02e196
cpu/native: adapt start-up and auto-init for multiple netdev2_tap
2017-01-19 12:07:10 +01:00
Victor Arino
49adbf24da
pkg/lwip: use new sema implementation
2017-01-19 08:59:17 +01:00
Peter Kietzmann
1730b883ef
Merge pull request #5936 from miri64/pkg/feat/lwip-sock-ip
...
pkg: provide sock_ip support for lwip
2017-01-17 13:19:00 +01:00
Martine Lenders
bf60c2fbfa
pkg: provide sock_ip support for lwip
2017-01-17 09:00:44 +01:00
Joakim Nohlgård
7c48c891a0
xtimer: Update xtimer usage to match API changes
2016-11-29 20:44:31 +01:00
Martine Lenders
07f8148432
pkg: lwip: remove timeout timer
...
In case of no timeout this timer is not removed, leading to the
re-addition in a later call. This fix removes it properly.
2016-09-29 13:09:35 +02:00
Martine Lenders
b81ac9ca0e
pkg: lwip: do not re-set values already set in netif_add
...
lwip_netdev2_init() is called by netif_add, which already sets these
values to an according value.
2016-09-27 17:27:25 +02:00
Martine Lenders
9b2cff9a7b
lwip: port mboxes to core_mbox
2016-09-02 15:04:18 +02:00
Martine Lenders
cc6b123758
lwip: initialize link-local address correctly
...
lwIP does some weird byte-swapping in netif_create_ip6_linklocal_address()
with non-ethernet-addresses, so I rather initialize it like in GNRC, so it is
compatible to both GNRC and emb6.
2016-08-02 16:33:35 +02:00
Victor Arino
9528b22209
pkg/lwip: remove duplicated line in netdev2 wrapper
2016-07-14 16:46:10 +02:00
7718f114cb
all: remove pointer casts for msg.content.ptr
2016-06-02 23:13:42 +02:00
15d9ce4963
pkg: lwip: adapt to changed netdev2->event_callback signature
2016-06-02 11:11:40 +02:00
af5914bafa
pkg: lwip: adapt t renamed netdev2->isr_arg
2016-06-02 11:11:40 +02:00
Martine Lenders
5431df6a7e
lwip: initial import of conn_udp wrapper
2016-03-30 17:35:51 +02:00
Martine Lenders
410f44f07d
lwip: initial import of conn_ip wrapper
2016-03-30 17:35:50 +02:00
Martine Lenders
7f475573e6
lwip_netdev2: initial import of a lwIP netdev2 wrapper
2016-03-30 00:10:58 +02:00
Martine Lenders
932bec50ed
lwip: add port for RIOT
2016-03-30 00:10:38 +02:00