Gregory Nutt
b0fda33e13
Kconfig: Rename CONFIG_ARM_TOOLCHAIN_IAR to CONFIG_ARCH_TOOLCHAIN_IAR
2017-05-13 16:01:38 -06:00
Gregory Nutt
27805315f4
Tiva I2C: Correct an in conditional compilation
2017-05-13 14:01:42 -06:00
Gregory Nutt
6e4918c557
Remove CONFIG_ARM_TOOLCHAIN_GNU; replace with CONFIG_ARCH_TOOLCHAIN_GNU
2017-05-13 13:28:15 -06:00
Alan Carvalho
c2e8d2e51b
Merged nuttx/nuttx into master
2017-05-13 16:24:59 -03:00
Gregory Nutt
7fe112fe4c
Kconfig/deconfigs: Add CONFIG_ARCH_TOOLCHAIN_GNU to indicate that the toolchain is based on GNU gcc/as/ld. This is in addition to the CPU-specific versions of the same definition.
2017-05-13 11:44:12 -06:00
Gwenhael Goavec-Merou
02535be36a
STM32F410. Add support for STM32Fr10. STM32F410 is a version of STM32F4 with 32 KB of RAM and 62 or 128 KB of flash.
2017-05-13 08:40:09 -06:00
Alan Carvalho
d30b9dd55d
Merged nuttx/nuttx into master
2017-05-13 09:20:41 -03:00
David Sidrane
c4a2e1399b
Merged in david_s5/nuttx/upstream_kinetis (pull request #368 )
...
kinetis:K66 GPIO and pin mux cleanup
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-13 10:37:20 +00:00
David Sidrane
69a8aecbc8
kinetis:K66 define ALT1 to match ref manual
2017-05-12 17:21:54 -10:00
David Sidrane
700e4ff5b6
kinetis:K66 fixed TMP2_CH1 definition
2017-05-12 17:03:27 -10:00
Alan Carvalho
0e4d341487
Merged in acassis/nuttx_acassis/canard (pull request #367 )
...
Fix the libcanard link version to get it compiling without errors.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-12 20:21:46 +00:00
Alan Carvalho de Assis
6811e18980
Fix the libcanard link version to get it compiling without errors.
2017-05-12 16:59:44 -03:00
Gregory Nutt
14ae6df182
locale.h: Add a bogus definition of locale_t
2017-05-12 10:13:18 -06:00
Gregory Nutt
332ab0359e
Merged can_bus into master
2017-05-12 09:35:19 -06:00
Gregory Nutt
7698790be1
Changes from review of last PR
2017-05-12 09:04:52 -06:00
Gregory Nutt
f981191ac9
Merge branch 'can_bus' of bitbucket.org:nuttx/nuttx into can_bus
2017-05-12 08:59:57 -06:00
Gregory Nutt
fc7c3f5328
syslog: I think this might speed upt the CR-LF scan in syslog_dev_write().
2017-05-12 08:50:56 -06:00
Alan Carvalho de Assis
853d332b6c
Move CAN subsystem to its own directory and put device drivers there
...
Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2017-05-12 11:48:47 -03:00
Gregory Nutt
c84a3e3519
Bitbucket Issue 47: Some of last syslog changes needed to be condition on #ifdef CONFIG_SYSLOG_BUFFER in order to be built without syslog buffering enabled.
2017-05-12 07:58:11 -06:00
Juha Niskanen
ac29d94d9c
Merged in juniskane/nuttx_stm32l4/stm32l4_serial_pr (pull request #365 )
...
STM32L4: port stm32l4_serial_get_uart function from STM32F7
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-12 13:43:36 +00:00
Gregory Nutt
3587a010c3
Merge branch 'ieee802154'
2017-05-12 07:36:08 -06:00
Gregory Nutt
1c9859520f
syslog: There is yet another place where the output can get split. That is in syslog_dev_write(): It will break up the stream to insert a CR before the LF. This can that can be avoid be generating the CR-LF sequence in the buffer and then detecting and ignoring valid CR-LF sequences, rather than expecting syslog_dev_write() to insert the CR in this case.
...
I don't like the idea that syslog_dev_write() still scans the entire output buffer to expand CR-LF sequence. This seems really wasteful, especially in this case where we can be sure that the is no CR or LF without a matching LF or CR. Bu, I think, the existing behavior in syslog_dev_write() must be retained because it is needed in other contexts.
2017-05-12 07:31:50 -06:00
Gregory Nutt
0fc068cc9c
syslog: Avoid flushing syslog_stream buffer, if possible, until lib_vsprintf() completely parses the format. This assures that the flush will flush the entire output, even data that may potentially follow the linefeed. And, in that case, it cannot be interleaved with other devug output. Suggested by Jussi Kivilinna.
2017-05-12 06:58:33 -06:00
Juha Niskanen
46851b33b2
STM32L4: port stm32l4_serial_get_uart function from STM32F7
2017-05-12 15:54:48 +03:00
Gregory Nutt
2c807e4750
Makefile edited online with Bitbucket
2017-05-12 02:48:30 +00:00
Gregory Nutt
0de294a586
Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they.
2017-05-11 13:35:56 -06:00
Gregory Nutt
ba12817f9c
Upate some comments
2017-05-11 13:15:31 -06:00
Gregory Nutt
41680d376d
Replace 'the the' with 'the'
2017-05-11 13:15:13 -06:00
Juha Niskanen
0f7210b0ae
mtd: fix some unallocated and NULL pointer issues. rwb->wrflush and rwb->wrmaxblocks in rwbuffer could get unallocated values from ftl_initialize() in some configurations. Also fixes related assert:
...
up_assert: Assertion failed at file:rwbuffer.c line: 643
that can happen with the following configuration:
CONFIG_FTL_WRITEBUFFER=y
CONFIG_DRVR_WRITEBUFFER=y
# CONFIG_FS_WRITABLE is not set
These problems are caused by CONFIG variable differences between the buffer layers. TODO: This is not a perfect solution. readahead support has similar issues.
2017-05-11 07:22:21 -06:00
Juha Niskanen
58a0b09b82
mtd/config: fix byte read interface test
2017-05-11 07:19:24 -06:00
Juha Niskanen
797e3c3ca4
mtd: build RAMTRON and AT45DB drivers only if selected
2017-05-11 07:17:29 -06:00
Gregory Nutt
b5c1dd09f5
Syslog: Need inclusion of errno.h for fix building with CONFIG_SYSLOG_TIMESTMAP=y
2017-05-11 07:15:57 -06:00
Jussi Kivilinna
ba933efd9e
When syslog message has addition characters after last new-line. With buffering those now get lost as vsyslog does not flush output after lib_sprintf. Additional trailing characters could be ANSI escape sequence to reset state that message setups. For example, macro here uses colors and resets state after actual message (including '\n'):
...
With flushing added to vsyslog, then there is problem that next syslog line might come from other task before reset sequence, causing wrong line getting color. This could be avoided by not flushing on '\n' but only if IOB is full and/or at end of vsyslog. Would this make sense?
2017-05-11 07:11:35 -06:00
Gregory Nutt
3091050963
STM32L4: Review of last PR + Move separate stm32l4_flash.h; move hardware-specific definitions to chip/stm32l4_flash.h
2017-05-11 06:58:39 -06:00
Juha Niskanen
1f6970ea2f
Merged in juniskane/nuttx_stm32l4/stm32l4_flash_pr (pull request #364 )
...
STM32L4: add internal flash write support
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-11 12:48:59 +00:00
Juha Niskanen
c74a51f789
STM32L4: add internal flash write support
2017-05-11 14:35:27 +03:00
Gregory Nutt
573d3ff87e
Merge branch 'syslog'
2017-05-10 17:42:22 -06:00
Gregory Nutt
d3b9f5b37f
Syslog buffering: Use IOBs to buffer data, not an on-stack buffer
2017-05-10 17:36:08 -06:00
Gregory Nutt
d8a83f16be
Syslog buffering: Various corrections from early debug
2017-05-10 16:13:21 -06:00
Gregory Nutt
00075acada
Merge branch 'syslog' of https://bitbucket.org/nuttx/nuttx into syslog
2017-05-10 15:04:57 -06:00
Gregory Nutt
20727d17c3
SYSLOG: Add option to buffer SYSLOG output to avoid interleaving.
2017-05-10 14:42:43 -06:00
Floxx
277f4b83b0
Merged in floxx/nuttx (pull request #363 )
...
Moved LIS3DSH from the I2C-dependent block to the SPI-block to make Make.defs consistent with the driver (SPI only) and drivers/sensors/Kconfig.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-10 18:57:02 +00:00
Floxx
c2096f17d6
Moved LIS3DSH from the I2C-dependent block to the SPI-block to make Make.defs consistent with the driver (SPI only) and drivers/sensors/Kconfig.
2017-05-10 20:18:48 +02:00
Juha Niskanen
4f18b40429
mtd/config: erase block between block read and write
2017-05-10 08:25:39 -06:00
Stefan Kolb
591f35be87
I discovered a problem in the file drivers/serial/serial.c concerning the function uart_close(…). In the case that a serial device is opened with the flag O_NONBLOCK the function uart_close(…) blocks until all data in the buffer is transmitted. The function close(…) called on an handle opened with O_NONBLOCK should not block. The problem occurred with a CDC/ACM device.
2017-05-10 07:59:58 -06:00
Gregory Nutt
5b2ad3719c
Merged ieee802154 into master
2017-05-09 18:38:47 -06:00
Anthony Merlino
51f455af74
Merged in merlin17/nuttx/ieee802154 (pull request #362 )
...
wireless/ieee802154: Brings closer to Nuttx coding style
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-10 00:37:30 +00:00
Anthony Merlino
07c47b0dde
wireless/ieee802154: Starts implementing START.request primitive
2017-05-09 17:22:30 -04:00
Anthony Merlino
806dcd9a47
wireless/ieee802154: Brings closer to Nuttx coding style
2017-05-09 17:20:57 -04:00
Anthony Merlino
1186cd4e56
wireless/ieee802154: Fixes missing handle of read/write being able to be interrupted
2017-05-09 17:20:57 -04:00