Commit Graph

29290 Commits

Author SHA1 Message Date
Bob Ryan
3465f6be53 Disable serial console on stm32f103-minimum usbnsh example project config. Devices enumerate after this change. 2017-04-06 17:41:07 -07:00
Gregory Nutt
58d0c1f228 6loWPAN: Back out part of the last commit. That included two fixes for a problem. One that didn't work and is unnecessary and one that is necessary. The commit removes the former. 2017-04-06 18:11:04 -06:00
Gregory Nutt
494d996826 6loWPAN: Fix a few UDP-related issues. 2017-04-06 17:57:15 -06:00
Masayuki Ishikawa
b4e01ecbf9 Merged in masayuki2009/nuttx.nuttx/fix_efm32_i2c_timeout (pull request #312)
EFM32 I2C: Fix timeout calculation

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-04-06 22:59:34 +00:00
Gregory Nutt
27c65c3f22 6loWPAN: Add network IOCTL support to set the node address 2017-04-06 15:58:00 -06:00
Gregory Nutt
50170a6108 6loWPAN: Fixes for UDP packet transfers. 2017-04-06 11:57:43 -06:00
Jussi Kivilinna
e3b3e57e56 RTC: add interface for check if RTC time has been set
New interface allows checking if RTC time has been set.  This allows to application to detect if RTC has valid time (after
reset) or should application attempt to get real time by other means (for example, by launching ntpclient or GPS).
2017-04-06 09:53:11 -06:00
Gregory Nutt
ac8ddf4eb1 SAMv7: In review of last patch, change literal 0xfff to WDT_MR_WDD_MAX for portability. 2017-04-06 09:46:04 -06:00
Frank Benkert
571f3d952e SAMV7: Watchdog: fix Forbidden Window Value
According the Datasheet the WDD Value is the lower bound of a so called Forbidden Window and to disable this we have to set the WDD
Value greater than or equal to the WDV Value.  This seems to be a bug in the datasheet. It looks like we have to set it to a greater value than the WDV to realy disable this Thing.  When triggering the Watchdog faster than the (very slow) clock source of the Watchdog fires, this Forbidden Window Feature resets the System if WDD equals to WDV.

This Changeset disables the Forbidden Window by setting the WDD Value to the Maximum (0xfff) Value possible.
2017-04-06 09:43:07 -06:00
Gregory Nutt
869e3b5b73 sim/sixlowpan: Now support apps/examples/udpblaster too. 2017-04-06 09:36:57 -06:00
Jussi Kivilinna
0aa52d98a2 STM32F7: add warning for RXDMA + IFLOWCONTROL combination
Combination of RXDMA + IFLOWCONTROL does not work as one might expect.
Since RXDMA uses circular DMA-buffer, DMA will always keep reading new
data from USART peripheral even if DMA buffer underruns. Thus this
combination only does following: RTS is asserted on USART setup and
deasserted on shutdown and does not perform actual RTS flow-control.

Data loss can be demonstrated by doing long up_mdelay inside irq
critical section and feeding data to RXDMA+IFLOWCONTROL UART.
2017-04-06 08:47:45 -06:00
Jussi Kivilinna
e2702cbe4e STM32F7: fix UART7 and UART8 IFLOWCONTROL options 2017-04-06 08:46:24 -06:00
Jussi Kivilinna
dabf45f100 STM32F7: default CONFIG_STM32F7_DMACAPABLE to 'n'. STM32F7 does not have CCM RAM but DTCM, so this option does not need to enabled. DTCM RAM is DMA-able through CPU AHBS bus. 2017-04-06 08:44:53 -06:00
Jussi Kivilinna
e180522854 stm32f7: serial: add interface to get uart_dev_t by USART number, stm32_serial_get_uart 2017-04-06 08:41:41 -06:00
Alan Carvalho de Assis
95941b4908 STM32: Fix SYSCFG_CFGR1_I2C_PBXFMP_SHIFT value 2017-04-06 08:35:33 -06:00
Gregory Nutt
1fa300f011 6loWPAN: Fix uncompressing of IPv6 encoded packet. 2017-04-06 08:32:18 -06:00
Masayuki Ishikawa
f5b6ae627d EFM32 I2C: Fix timeout calculation 2017-04-06 17:12:13 +09:00
Masayuki Ishikawa
34b9be8d01 Merged nuttx/nuttx/master into master 2017-04-06 17:03:36 +09:00
David Sidrane
0de787b558 Document set [{+|-}{e|x|xe|ex}] [<name> <value>] 2017-04-05 18:28:54 -06:00
Gregory Nutt
18518eae06 6loWPAN: Fix another HC06 indexing problem. 2017-04-05 18:14:13 -06:00
Gregory Nutt
d0aa22fb80 6loWPAN: Costmetic changes. 2017-04-05 17:26:12 -06:00
Gregory Nutt
72bffeddcc 6loWPAN: Fixes another HC06 indexing problem. 2017-04-05 14:31:44 -06:00
Simon Piriou
e5c4a28c3a photon: wlan support 2017-04-05 21:55:21 +02:00
Gregory Nutt
b7c55660cb 6loWPAN: Correct more address manipulations. 2017-04-05 13:04:22 -06:00
Gregory Nutt
cb70ce7d3c 6loWPAN: Correct some IPv6 addresses and operations on IPv6 addresses. 2017-04-05 12:11:09 -06:00
Gregory Nutt
e61fd2d45b 6loWPAN input: Fix a counting error. Input packet sizes were being calculated a little too big. 2017-04-05 09:14:28 -06:00
Gregory Nutt
3b21545480 sixlowpan: Minor reorganization to removed some unused global varialbes and structure fields. 2017-04-05 08:40:30 -06:00
Juha Niskanen
3e6b92d5fa tm32: stm32l15xxx_rcc: configure medium performance voltage range and zero wait-state when allowed by SYSCLK setting
Zero wait-state for flash can be configured when:
 Range 1 and SYSCLK <= 16 Mhz
 Range 2 and SYSCLK <= 8 Mhz
 Range 3 and SYSCLK <= 4.2 Mhz

Medium performance voltage range (1.5V) can be configured when SYSCLK is up to 16 Mhz and PLLVCO up to 48 Mhz.
2017-04-05 07:41:25 -06:00
Juha Niskanen
bff341fdfc stm32: stm32l15xx_rcc: add support for using MSI as system clock 2017-04-05 07:41:24 -06:00
Hidetaka
c543185123 Merged in TJ-Hidetaka-Takano/nuttx (pull request #310)
Fixed gconfig target.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-04-05 12:18:04 +00:00
Hidetaka Takano
64a43627a2 Fixed gconfig target. 2017-04-05 19:53:54 +09:00
Hidetaka
b021b0194c nuttx/nuttx を master にマージしました。 2017-04-05 19:37:19 +09:00
Gregory Nutt
38eed0a847 6loWPAN: Various fixes for building with different configurations; Some minimal testing of HC06 2017-04-04 17:06:17 -06:00
Gregory Nutt
ca2c18c023 6loWPAN: Fix return value and other issues in sixlowpan_frame_process 2017-04-04 16:12:16 -06:00
Gregory Nutt
34da085b40 6loWPAN: Yet another fix related to buffer offsets primarily. 2017-04-04 14:27:21 -06:00
Gregory Nutt
fdf706a3a9 6loWPAN: Additional fixes related to buffer offsets primarily. 2017-04-04 13:52:02 -06:00
Gregory Nutt
1f394a61b3 6loWPAN: Add option to dump buffers. Fix some issues with calculation of the IEEE802.15.4 header size. 2017-04-04 12:31:22 -06:00
Gregory Nutt
a6ae7d4ae3 6loWPAN: Fix an error in how reassembly timeouts work. 2017-04-04 09:08:48 -06:00
Juha Niskanen
9a29b9a327 stm32: stm32_flash: add EEPROM writing for STM32L15XX 2017-04-04 07:38:49 -06:00
Juha Niskanen
d64d4e02b4 sensors: lis2dh: fix hardfault when reading from unconfigured sensor 2017-04-04 07:38:49 -06:00
Jussi Kivilinna
73056863ba Fix building without CONFIG_NET_6LOWPAN 2017-04-04 07:38:48 -06:00
Gregory Nutt
88fd667603 6loWPAN: Fix a pointer initialization problem. 2017-04-04 07:38:48 -06:00
no1wudi
9daf0dca0c Merged in no1wudi/nuttx (pull request #309)
STM32:add I2C3 SDA pin mapping for STM32F411

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-04-04 08:33:17 +00:00
no1wudi
8fbd8b9e6f STM32:add I2C3 SDA pin mapping for STM32F411 2017-04-04 11:57:45 +08:00
no1wudi
730b674b01 STM32:add I2C3 SDA pin mapping for STM32F411 2017-04-04 11:50:58 +08:00
Gregory Nutt
db48f03192 6loWPAN: Fix some compilation problems with HC1 compression is enabled. 2017-04-03 17:04:56 -06:00
Gregory Nutt
cc9445624f 6loWPAN: Correct a couple of tiny but fatal bugs. 2017-04-03 16:17:10 -06:00
Gregory Nutt
7cb34d969d 6loWPAN: More fixes from early debug. 2017-04-03 15:25:36 -06:00
Gregory Nutt
2c06f8ab78 6loWPAN: Updates/fixes from early testing with the IEEE802.15.4 loopback driver. 2017-04-03 12:01:04 -06:00
Gregory Nutt
e9d831ac60 wireless/ieee802154: Add initialization logic for loopback driver; configs/sim: Add configuration for testing 6loWPAN; net/sixlowpan: Fix for compilation with debug output enabled. 2017-04-03 09:15:00 -06:00