David Sidrane
390c777a2a
Removed the word NOT - that was used to test the fix.
2015-08-21 18:40:20 -06:00
Gregory Nutt
7f3a36fb78
Update ChangeLog
2015-08-21 18:36:12 -06:00
Pavel Pisa
23035ca68d
[PATCH] gethostbyname(): correct returned address format when DNS is used. The hostent.h_addr_list should point to raw in_addr or in6_addr as defined in the standard. Original implementation used that
...
for numeric addresses but for DNS lookup returned pointer to whole sockaddr_in or sockaddr_in6.
getaddrinfo() should be preferred in a long term perspective. Return of complete addresses from the lookup would be better in such case but it requires significant changes anyway - multiple addresses support and most probably dynamic memory allocation which is bad for many RT applications. So gethostbyname() is sufficient for most applications now.
Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2015-08-21 18:33:03 -06:00
Pavel Pisa
2fafe1c817
arch/arm/src/lpc17: Actually implement options to use external SDRAM and or SRAM for the heap. From Pavel Pisa
2015-08-21 18:28:59 -06:00
Gregory Nutt
4c0d36740d
Some of the last review chnages were still in the editor
2015-08-21 18:25:10 -06:00
Gregory Nutt
9a32e907df
Trivial, cosmetic changes from review of merge
2015-08-21 18:22:57 -06:00
Gregory Nutt
4e347080e6
Update comments in Kconfig file
2015-08-21 18:15:09 -06:00
Gregory Nutt
16c5be9767
Merged in david_s5/arch/upstream_446 (pull request #7 )
...
Upstream_446
2015-08-21 18:11:05 -06:00
David Sidrane
9d64050d68
Added Changes to support for the new USB OTG controller for F446 register map
2015-08-21 13:57:08 -10:00
David Sidrane
7c96342c63
Break the stm32_otg.h into an stm32fxxxxx and stm32f44xx (should work on F7) versions
2015-08-21 13:55:06 -10:00
David Sidrane
5d1ff3f7e1
Use read modify write on PLL and CFG registers
2015-08-21 13:22:09 -10:00
David Sidrane
1c746edceb
Added PLL P constants
2015-08-21 13:20:16 -10:00
Gregory Nutt
972f67ce42
SAMV7 QSPI: Add framework for a QSPI driver. Initial commit is just the SPI driver with some name changes
2015-08-21 14:22:47 -06:00
Gregory Nutt
0b2fbd7a2c
Fix a DEBUGASSERTion
2015-08-21 12:33:14 -06:00
Gregory Nutt
435277ed3a
Update README
2015-08-21 12:32:34 -06:00
Gregory Nutt
f6c6723d88
SAMV7 USBHS Device: After aligning DMA buffers and disabling write-back data cache, the DCD driver is fully functional using the CDC/ACM device
2015-08-21 12:30:29 -06:00
Gregory Nutt
89b5ef8d35
wdogs: Fix counting of free, pre-allocated wdog timers. The could could get decremented below zero in some situations
2015-08-21 11:30:22 -06:00
Pavel Pisa
12b1c04508
recvfrom(): Correct wait for new data when NET_UDP_READAHEAD is enabled. Fix size accounting when recvfrom_udpreadahead() sets state.rf_recvlen == -1. I have not checked if data are accumulated to the right position in the buffer however.
...
Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2015-08-21 09:15:06 -06:00
Gregory Nutt
da6c5aabdf
All ARMV7-M IRQ setup: Always set the NVIC vector table address. This is needed in cases where the code is running with a bootload and when the code is running from RAM. It is also needed by the logic of up_ramvec_initialize() which gets the vector base address from the NVIC. Suggested by Pavel Pisa
2015-08-21 08:42:24 -06:00
Max Neklyudov
622c5c9aa6
Another TUN driver fix from Max Neklyudov
2015-08-21 07:40:13 -06:00
Gregory Nutt
0b3b104b74
Remove unnecessary step in previous commit
2015-08-20 16:21:45 -06:00
Gregory Nutt
2a81a76c33
Update ChangeLog
2015-08-20 07:56:20 -06:00
Pavel Pisa
c0881c36a3
Do not (re)define CONFIG_LPC17_SDRAM_32BIT to not conflict with config. If CONFIG_LPC17_SDRAM_16BIT it is defined anyway and with correct symbol redefinition suppression. From Pavel Pisa.
2015-08-20 07:55:02 -06:00
Pavel Pisa
387f76d455
This fix allows to run NuttX from SRAM or to place it after bootloader when run from Flash. From Pavel Pisa
2015-08-20 07:46:18 -06:00
Gregory Nutt
5196a4183c
SAMV7 USBHS device: Fix how we send data on control endpoints; fix how we select USB address
2015-08-19 11:36:38 -06:00
Gregory Nutt
0db7ac92d9
Minor coding style fixes in last commit; remove some unneeded debug output
2015-08-19 07:54:46 -06:00
Gregory Nutt
098f1035fc
Merged in seanshpark/nuttx_arch/stm32net (pull request #6 )
...
STM32: Fix eth mem leak in recvframe
2015-08-19 07:49:30 -06:00
SaeHie Park
75626fb071
STM32: Fix eth mem leak in recvframe
2015-08-19 15:40:04 +09:00
Gregory Nutt
470a95aa4f
Update submodule
2015-08-18 13:24:47 -06:00
Gregory Nutt
f4b35662ec
Trivial removal of trailing whitespace
2015-08-18 13:24:24 -06:00
Gregory Nutt
02306044b2
boardctl.h: Extended boardctl() commands with BOARDIOC_CAN_INITIALIZE
2015-08-18 13:23:34 -06:00
Gregory Nutt
88660657c2
Rename can_devinit() to board_can_initialize(). Hook in to boardctl() with BOARDIOC_CAN_INITIALIZE
2015-08-18 13:21:45 -06:00
Gregory Nutt
cfd4f943da
SAMV7 MCAN: When bitrate is changed, the MCAN has to be reset and there are lots of issues related to getting back to a healthy state if there is multithreaded access to the MCAN device. This commit handles a few of those issues, but there are more
2015-08-18 11:56:07 -06:00
Gregory Nutt
28853e5932
CAN: Define IOCTL commands to get and set the bit timing values
2015-08-18 11:21:01 -06:00
Gregory Nutt
4b96605f93
SAMV7 MAN: Add support for bit timing IOCTL commands
2015-08-18 11:20:22 -06:00
Gregory Nutt
505d5f8103
CAN: Add error bit values
2015-08-18 08:48:39 -06:00
Gregory Nutt
ff84e67e59
SAMV7 MCAN: Add logic to report CAN errors
2015-08-18 08:48:13 -06:00
Gregory Nutt
a987379e64
Add an error bit to the CAN message report
2015-08-18 07:27:00 -06:00
Gregory Nutt
bc9b901e13
Update README
2015-08-18 07:24:37 -06:00
Gregory Nutt
b7d6720a23
All CAN drivers: Set the new error indication to zero in the CAN message report
2015-08-18 07:24:12 -06:00
Gregory Nutt
c01d3298e5
Merged in paulpatience/nuttx-arch (pull request #5 )
...
Added definitions for STM32F303K6, STM32F303K8, STM32F303C6, STM32F303C8, STM32F303RD, and STM32F303RE devices.
2015-08-17 12:55:32 -06:00
Paul A. Patience
c800841632
Added definitions for STM32F303K6, STM32F303K8, STM32F303C6,
...
STM32F303C8, STM32F303RD, and STM32F303RE devices.
2015-08-17 14:00:49 -04:00
Gregory Nutt
42fc5a9198
Update submodule
2015-08-17 11:49:40 -06:00
Gregory Nutt
531456d20c
Fix deadlock when closing the MCAN device driver
2015-08-17 11:49:20 -06:00
Gregory Nutt
4f122d5290
SAMV71 MCAN: Default clock source should be MCK, not MAIN
2015-08-17 11:03:15 -06:00
Gregory Nutt
95634a3b34
CAN IOCTLs: Should support standard CAN filtering in extended ID mode
2015-08-17 10:53:49 -06:00
Gregory Nutt
ff38abf580
SAMV7 MCAN: Should support standard CAN IDs in extended ID mode
2015-08-17 10:52:58 -06:00
Max Neklyudov
425146255a
Network drivers: Fix bug in tun interface driver. From Max Neklyudov
2015-08-17 09:04:58 -06:00
Gregory Nutt
51f386d08a
Fix more common typos
2015-08-16 11:07:23 -06:00
Gregory Nutt
ba6c0b3fa3
Fix more common typos
2015-08-16 11:06:29 -06:00