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
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
Gregory Nutt
068ac948e1
sim: Add a configuration for testing 6loWPAN.
2017-04-03 08:46:16 -06:00
Gregory Nutt
04346ebaf2
iee802154 loopback: Eliminate dependency on CONFIG_NET_LOOPBACK
2017-04-03 08:09:25 -06:00
Juha Niskanen
e320e5c100
STM32: add STM32L162VE to chip.h
2017-04-03 07:59:11 -06:00
Juha Niskanen
3a6bd901e4
stm32: fix IWDG and WWDG debug mode stop for STM32L15XX
2017-04-03 07:45:09 -06:00
Kivilinna
ee4a8336ce
net/socket/accept: fix building with CONFIG_NET_LOCAL_STREAM
2017-04-03 07:38:23 -06:00
Jussi Kivilinna
ae1265c01e
net/socket/send: fix building without CONFIG_NET_6LOWPAN
2017-04-03 07:36:29 -06:00
Juha Niskanen
dfe6a672c1
drivers/sensors: Add driver for ST LIS2DH accelerometer. From Timo Voutilainen <time.voutilainen@haltian.com> et al.
2017-04-03 07:28:22 -06:00
Gregory Nutt
1b6630ee75
6loWPAN: Fix compile errors and warnings when building the complete 6loWPAN configuration.
2017-04-02 17:46:22 -06:00
Gregory Nutt
3367312401
6loWPAN: Forgot to add files with last commit.
2017-04-02 14:45:14 -06:00
Gregory Nutt
392c90b020
6loWPAN: Fix last checksum issues. Contiki 6loWPAN port is now complete (but completely untested)
2017-04-02 14:30:01 -06:00
Gregory Nutt
6e2f8f3aa3
6loWPAN: Add logic to fill in UDP/TCP headers. Still missing some checksum logic.
2017-04-02 13:27:53 -06:00