Commit Graph

10238 Commits

Author SHA1 Message Date
Gregory Nutt
a6f595e89e Remove more duplicate Make.defs files 2017-07-11 09:15:29 -06:00
Gregory Nutt
e986b72a4f Remove more duplicate Make.defs files 2017-07-11 08:33:41 -06:00
Gregory Nutt
5404403b94 ntosd-dm320 sama5d4-ek sim spark: Remove duplicate Make.defs files 2017-07-11 08:05:42 -06:00
Gregory Nutt
d891776582 stm32f429i-disco, stm3240g-eval, stm3220g-eval, stm3210e-eval: Eliminate duplicate Make.defs files. 2017-07-11 07:34:09 -06:00
Gregory Nutt
75f3b61bc2 Merge remote-tracking branch 'origin/master' into beacon802154 2017-07-10 17:55:54 -06:00
Alan Carvalho de Assis
7193a4153a Add small hello example for stm32f103-minimum board 2017-07-10 17:51:14 -06:00
Anthony Merlino
7ff2f90247 configs/clicker2-stm32/mrf24j40-mac: Updates stack size to 2048 to avoid random stack overflows when logging is enabled 2017-07-10 19:47:02 -04:00
Gregory Nutt
c9724936f5 stm32f103-minimum: Move common Make.defs to scripts sub-directory 2017-07-10 17:34:52 -06:00
Gregory Nutt
265876fc96 stm32f4discovery and olimiex-lpc1766stk: Move common Make.defs to scripts sub-directory 2017-07-10 17:16:28 -06:00
Gregory Nutt
316fde135c Build System: It is no longer necessary to have a unique Make.defs file for each configuration. A board may share a common Make.defs file in the scripts directory. 2017-07-10 17:00:54 -06:00
Anthony Merlino
4b7d743f32 configs/clicker2-stm32: Adds support for per-function-call stack checking 2017-07-10 13:11:43 -04:00
Anthony Merlino
b9a9ba7dd0 ieee802154: Adds configuration options for verbose logging of certain features, to aid in debugging 2017-07-10 13:06:12 -04:00
Gregory Nutt
36a30b26a6 Last of the conversions of defconfig files to compressed format. 2017-07-09 20:49:07 -06:00
Gregory Nutt
5a9eebe270 More conversions of defconfig files to compressed format. All but Windows native configurati9ons. 2017-07-09 20:05:59 -06:00
Gregory Nutt
422888733b More conversions of defconfig files to compressed format. Not yet finished. 2017-07-09 19:25:19 -06:00
Gregory Nutt
90f38af8dc More conversions of defconfig files to compressed format. Not yet finished. 2017-07-09 18:48:28 -06:00
Gregory Nutt
771cbc8e3a Partial conversion of defconfig files to compressed format 2017-07-09 18:24:03 -06:00
Simon Piriou
99c432c140 configs/b-l475e-iot01a: Add basic support for the STMicro b-l475e-iot01a board 2017-07-09 11:48:28 -06:00
Gregory Nutt
975473fed8 ICMPv6: Add 6LoWPAN and IP forwarding support. 2017-07-09 11:35:26 -06:00
Gregory Nutt
99ef7c6669 IP forwarding: A few fixes from early testing; In TUN driver, do all polling on worker thread. Otherwise, the stack gets very deep. 2017-07-07 17:33:44 -06:00
Gregory Nutt
d61b551bca sim/ipforward: Add an IP forwarding configuration using TUN devices and apps/examples/tun 2017-07-07 13:06:25 -06:00
Gregory Nutt
570904375a Add definitions that will permit TUN-only networking. 2017-07-07 10:30:24 -06:00
Gregory Nutt
1bddccbc3c Update some board README files 2017-07-07 09:04:09 -06:00
Jeff
6c5e0d870c configs/Board.mk: Remove quotes from CONFIG_ARCH_FAMILY. Causes problems with Windows native build. 2017-07-06 14:04:11 -06:00
Gregory Nutt
47be509d79 Rename CONFIG_STM32_STM32F40XX to CONFIG_STM32_STM32FXXXX since it is used by F4 parts other than F40x 2017-07-06 10:20:14 -06:00
Jeff
10f5f8f192 configs/Board.mk: Remove comment form end of line. In windows native build, it appears to be trying to make that an extra parameter to the AR command 2017-07-05 11:38:37 -06:00
Gregory Nutt
31f832d8c5 IP forwarding: Flesh out TCP, UDP, and ICMPv6 packet forwarding logic. 2017-07-05 11:01:16 -06:00
Gregory Nutt
f07420dedf SAME70-Xplained: Add MRF24J40 support. 2017-07-04 14:31:26 -06:00
Gregory Nutt
5060a7cdf2 samv71-xult/mrf24j40: Add reset logic (but comment out because it is not necessary) 2017-07-03 13:00:30 -06:00
Gregory Nutt
72c4f12286 samv71-xult/mrf24j40-starhub: Reset pins backward; update README. 2017-07-03 12:37:37 -06:00
Gregory Nutt
445af2e5a0 samv71-xult/mrf24j40-starhub: Should have pull-ups on interrupting inputs. 2017-07-03 12:06:17 -06:00
Gregory Nutt
3b697327cc samv71-xult/mrf24j40-starhub: Fix MRF24J40 interrupt pin. 2017-07-03 11:51:39 -06:00
Gregory Nutt
68315b7444 Merged clang into master 2017-07-03 07:04:57 -06:00
Gregory Nutt
e76c9875a4 Make.defs edited online with Bitbucket 2017-07-03 13:04:38 +00:00
Gregory Nutt
057b438499 samv71-xult/mrf24j40-starhub: Disabled CONFIG_BOARD_INITIALIZE; Correct MRF24J40 interrupt edge. 2017-07-03 06:56:47 -06:00
Gregory Nutt
acb0dcecac samv71-xult: Fix a typo in MRF24J40 initialization. 2017-07-02 18:36:55 -06:00
Gregory Nutt
56801c3389 samv71-xult: Fix SP0 vs. TWHS0 in mrf24j40-starhub/defconfig; fix copy-paste errors in SPI initialization logic. 2017-07-02 18:33:31 -06:00
Jan Pobrislo
a8f43e1216 stm32f4 discovery: Add logic to register the button driver and the user led driver if so configured 2017-07-02 16:40:11 -06:00
Gregory Nutt
41d4958a77 Add missing MRF24J40 bring-up logic 2017-07-02 15:01:11 -06:00
Gregory Nutt
634b13c143 samv71-xult/mrf24j40-starhub: Tweaks to defconfig 2017-07-02 14:25:51 -06:00
Gregory Nutt
7d7fd9112d samv71-xult/mrf24j40-starhub: Put the serial console on UART3, i.e., on a Arduino serial shield. 2017-07-02 13:06:23 -06:00
Gregory Nutt
09ab651e02 samv71-xult: Add support for the MRF24J40 radio and create a mrf24j40-starhub configuration. A few fixes to IPv6 and 6LoWPAN were required to have 6LoWPAN and Ethernet coexisting. Untested and expect some complexity in the bring-up. 2017-07-02 11:04:57 -06:00
Gregory Nutt
8fa5e9772b Clang: Should there not be a prefix when using a cross compiler where clang refers to the host clang. 2017-07-02 06:51:21 -06:00
Gregory Nutt
cf44fd6ec0 Add CLANG definitions in Kconfig and Toolchain.defs 2017-07-02 06:42:48 -06:00
Goran Mekić
44bd7d3b7f Initial clang compile 2017-07-02 06:24:26 -06:00
Gregory Nutt
0b4a9a0b3d same570-xplained: Refresh configurations. 2017-07-01 17:24:40 -06:00
Gregory Nutt
ae1771454a 6LoWPAN: TCP send logic was returning a failure in one case when, in fact, the send was successful. 2017-06-30 16:07:51 -06:00
Gregory Nutt
af8c5c86f3 6LowPan: Change how the destination node address is handled in the start endpoint configuration. When the star endpoint sent the IPv6 destination address, the HC06 compression logic elided the address -- meaning that it could be reconstructed by the recipient based on the receiver's assigned short address. However, when intercepted by the hub, the uncompressed address does not know the short address of the recipient and instead uses the short address of the hub. This means two things: (1) it looks like the hub address is the destination address, and (2) the uncompressed UDP packet has a bad checksum. This change assures that the destination IPv6 address is not elided in the case of the star endpoint configuration. 2017-06-30 09:32:17 -06:00
Gregory Nutt
ad3ea72ff5 Update a README; refresh some configurations. 2017-06-29 10:55:01 -06:00
Gregory Nutt
6d8df90b79 Clicker2-STM32 + net/: Add configurations to support the endpoint and hub roles in a star topology. Fix various things that broke when IPv6 forwarding was enabled. 2017-06-29 08:16:46 -06:00
Gregory Nutt
a469f0ef04 Documentation/: Remove dangling space at the end of lines. 2017-06-28 13:27:10 -06:00
Gregory Nutt
c67b807f43 configs/: Remove dangling spaces at the end of lines in *.c and *.h files. 2017-06-28 13:21:20 -06:00
Gregory Nutt
44545781e5 configs/: Remove dangline space at the end of lines in .txt files. 2017-06-28 13:18:41 -06:00
Gregory Nutt
76644b6ead Update a README. 2017-06-27 09:53:55 -06:00
Gregory Nutt
70cefcf551 Clicker2-STM32: Add support for the Telnet client to the mrf24j40-6lowpan configuration. Useless at the moment because the NuttX telnet daemon does not yet support IPv6. 2017-06-27 07:44:41 -06:00
Gregory Nutt
8cb4636bb1 Update README 2017-06-26 11:54:43 -06:00
Gregory Nutt
aa1708e7c0 6LoWPAN: Update README; fix duplicate and bad memcpy in loopback driver. 2017-06-26 10:53:57 -06:00
Gregory Nutt
249ab6eb18 6LoWPAN: Eliminate a global variable. 2017-06-26 10:49:02 -06:00
Anthony Merlino
da8afe9d9e ieee802154: Finishes transmission of beacon frames, and performing a passive scan 2017-06-25 18:08:00 -04:00
Gregory Nutt
5a8668b362 6LoWPAN TCP: Fix more ACK handling, fix some callback flag settings. Now the TCP test appears fully functional on 6LoWPAN. 2017-06-25 13:00:42 -06:00
Gregory Nutt
ff08f799ca IEEE802.15.4: Update RX statistics in network driver. Update README files. 2017-06-25 11:18:27 -06:00
Gregory Nutt
74c97f7e7f 6LoWPAN: Various fixes for a clean build if either TCP or UDP are disabled. Given the current state of TCP, it is recommended that you disable TCP. 2017-06-24 16:53:00 -06:00
Gregory Nutt
96af668ab8 6LoWPAN: Handle case where the local address is zero (listen socket) 2017-06-24 11:57:59 -06:00
Gregory Nutt
2fb938202c 6LoWPAN: TCP logic was not obeying MTU packet size limitations. Other TCP-specific issues also fixed. There remains a major outstanding issue with ACK handling. 2017-06-24 09:48:41 -06:00
Gregory Nutt
fa1d95dee2 configs/sim/sixlowpan: Disable I2C tool. Not so useful in a simulation. 2017-06-23 19:12:52 -06:00
Gregory Nutt
f0cdb0e6b4 clicker2-stm32/mrg24j40-6lowpan: Add apps/examples/nettest. Refresh all configurations that enable the nettest. 2017-06-23 18:11:15 -06:00
Gregory Nutt
f5856282f5 defconfigs: examples/nettest configuration name change 2017-06-23 15:50:02 -06:00
Gregory Nutt
ee74a76eca clicker2-stm: Fix naming of a configuration setting 2017-06-23 12:24:31 -06:00
Gregory Nutt
328a464f99 6LoWPAN: Fix a typo in an index that prevented use with HC1 and extended addresses. 2017-06-23 10:08:03 -06:00
Gregory Nutt
1a46ea644d 6LoWPAN: Add missing IPv6 address creation to HC1 decode logic. 2017-06-23 09:45:09 -06:00
Gregory Nutt
4a517ad48d 6LoWPAN: Just adds more debug output 2017-06-22 15:19:18 -06:00
Gregory Nutt
bc8ad02ee5 6LoWPAN: Various fixes from retesting on simulator with short addressing. 2017-06-22 11:42:52 -06:00
Gregory Nutt
b49c52226e Update README 2017-06-21 18:05:36 -06:00
Gregory Nutt
a12ff2836c Fixes from review of last PR 2017-06-21 10:15:23 -06:00
Gregory Nutt
a3bb6fc139 clicker2-stm32/mrf24j40-6lowpan: Network now runs on LP work queue. 2017-06-21 08:20:51 -06:00
Gregory Nutt
e7e8228b00 Missing option to select CONFIG_MAC802154_NNOTIF in Kconfig 2017-06-21 07:35:09 -06:00
Gregory Nutt
d9f549121c ieee802154_req_data: Don't modify the IOB until we are certain that no EINTR errors will occur. Otherwise, the retry will fail 2017-06-20 14:27:22 -06:00
Gregory Nutt
192bacbd7f ieee802154 network driver now retries if ieee802154_req_data() returns EINTR. In clicker2-stm32 6LoWPAN configuration, increased the number of TX descriptors to match then number of IOBs. 2017-06-20 13:30:17 -06:00
Gregory Nutt
a82ab4b729 mac802154_req_data() can return without releasing the exclsem 2017-06-20 11:23:31 -06:00
Gregory Nutt
6dafb4f532 6LoWPAN: Add debug statements; Update configuration, need to specific 6LoWPAN compatible port numbers. 2017-06-20 10:37:32 -06:00
Gregory Nutt
68a2b84277 Update a README 2017-06-19 16:01:35 -06:00
Gregory Nutt
c5ae864624 /configs/clicker2-stm32/mrf24j40-6lowpan: Enables both client and server UDP tests on the target; Update a README file. 2017-06-19 13:28:48 -06:00
Gregory Nutt
476ca8238b Update TODO list and some defconfigs. 2017-06-19 10:56:34 -06:00
Gregory Nutt
94b607bda0 Update TODO, enable UDP example in clicker1-stm32/mrf24j40-6lowpan example, make sure that CONFIG_EXAMPLES_UDP_NETINIT is set in all other examples/udp configurations. 2017-06-19 09:59:10 -06:00
Gregory Nutt
cfea8adacb L should be capitalized in 6LoWPAN 2017-06-18 16:00:08 -06:00
Gregory Nutt
84a75996fb IEEE 802.15.4 Network Driver: Add logic to setup the network mask, update the MAC-based IPv6 addressing when the network is brought up. The idea is that addressing changes are supposed to occur only while the network is down but won't take effect until the network is up again. 2017-06-18 15:26:56 -06:00
Gregory Nutt
50df37931d ieee802.15.4: Missing one name change 2017-06-18 11:29:09 -06:00
Gregory Nutt
2d4ba3ee3f IEEE 802.15.4 MAC: Add list management and prioritization logic that will permit the MAC layer to support bound multiple clients. 2017-06-18 11:00:47 -06:00
Gregory Nutt
8d4439e683 Update some 6loWPAN configurations based on changes to NSH Kconfig 2017-06-17 11:29:25 -06:00
Gregory Nutt
c27cee2a94 configs/sim/sixlowpan: Refresh configuration. 2017-06-17 07:34:35 -06:00
Gregory Nutt
a0722750d8 clicker2-stm32: mrf24j40-6lowpan configuration needs to enabled the ieee 802.15.4 MAC network device as well. 2017-06-16 18:02:46 -06:00
Gregory Nutt
4588226d71 Clicker2-STM32: Enable networking and 6loWPAN in the mrf24j40-6lowpan configuration. Fix a couple of new 6loWPAN compile issues revealed by this new configuration. 2017-06-16 16:47:27 -06:00
Gregory Nutt
1f42ab7b7d Clicker2-stm32: Allow both IEEE 802.15.4 MAC character and network devices to be registered. 2017-06-16 15:40:00 -06:00
Gregory Nutt
ab2028d73e Fix a long line in a README file 2017-06-16 09:55:21 -06:00
Gregory Nutt
c8f6475749 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-16 09:34:57 -06:00
Gregory Nutt
5245cbc6f5 STM32 SPI/I2S: Back out a bad pin mapping change from 4ab2a3661e. Try to staighten out some I2C3 and SPI3 pin configuration stuff. 2017-06-16 09:34:22 -06:00
Gregory Nutt
389144412c Merge branch 'ieee802154' of bitbucket.org:nuttx/nuttx into ieee802154 2017-06-16 07:53:07 -06:00
Gregory Nutt
777964a0cf Clicker2-STM32: Enable RAMLOG in mrf24j40-6lowpan configuration. Update README. 2017-06-16 07:49:23 -06:00
Gregory Nutt
af25740ca5 Update README: 2017-06-15 16:37:18 -06:00
Gregory Nutt
0878286f71 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-15 14:29:55 -06:00