Newer
Older
warn() (and all variants vwarn(), llwarn(), etc.). (4) Debug
assertions can now be enabled separately from debug output. (5) You
can now enable subsystem/device driver debug output at different
output levels. For example, CONFIG_DEBUG_FS no longer enables file
system debug output. It enables general file system debug logic and
enables selection of CONFIG_DEBUG_FS_ERROR, CONFIG_DEBUG_FS_WARN,
and CONFIG_DEBUG_FS_INFO (2016-06-12).
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
* strtoul() and strtoull(): Fix errno settings required by function
definition. Resolved Bitbucket Issue #1. From Sebastien Lorquet
(2016-06-13)
* arch/arm/src/stm32f7: Add SPI driver. DMA not yet supported. From
David Sidrane (2016-06-14).
* configs/nucleo-144: Add test for STM32 F7 SPI. From David Sidrane
(2016-06-14).
* alert(): New debug macro: alert(). This is high priority,
unconditional output and is used to simplify and stanardize crash
error reporting(2016-06-14).
* arch/arm/src/tiva: Bug Fix in tiva_serial.c - UART5, UART6 and UART7
were not being configured as TTYS0 for printing over serial console.
From Shirshak Sengupta (2016-06-14).
* SAMV7: SPI: SPI-Freq. 40MHz; VARSELECT; hw-features
This change adds the following improvements:
- Increase the allowed SPI-Frequency from 20 to 40 MHz.
- Correct and rename the "VARSELECT" option
This option was included in the code as "CONFIG_SPI_VARSELECT" but
Gregory Nutt
committed
nowhere defined in a Kconfig file. The change renames it to
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
"CONFIG_SAMV7_SPI_VARSELECT" and corrects the implementation
according the datasheet of Atmel. In short, this option switches
the processor from "fixed peripheral selection" (single device) to
"variable peripheral selection" (multiple devices on the bus).
- Add a new Function to the interface to control the timing and delays
of the chip according the ChipSelect lines. This function can
control the delay between the assertion of the ChipSelect and the
first bit, between the last bit and the de-assertion of the
ChipSelect and between two ChipSelects. This is needed to tune the
transfer according the specification of the connected devices.
- Add three "hw-features" for the SAMV7, which controls the behavior
of the ChipSelect:
- force CS inactive after transfer: this forces a (short)
de-assertion of the CS after a transfer, even if more data is
available in time
- force CS active after transfer: this forces the CS to stay active
after a transfer, even if the chip runs out of data.
Btw.: this is a prerequisit to make the LASTXFER bit working at all.
- escape LASTXFER: this suppresses the LASTXFER bit at the end of the
next transfer. The "escape"-Flag is reset automatically.
From Frank Benkert (2016-06-14)
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
* Many CONFIG_DEBUG_* options did not have matching macros defined in
include/debug.h. Rather, there were various definitions scattered
throughout the sourse tree. These were collected together and
centralized with single macro definitions in include/debug.h
(2016-06-15)
* STM32F7: Add SPI, I2C, and ADC drivers. From Lok Tep (2016-06-15).
* err(), warn(), info(), and alert() renamed to include leading '_'.
This was done to avoid some naming collisions (2-06-16
* STM32: Move backup domain reset to to earlier in the initialization
sequence (stm32_rcc.c() in order to avoid disabling LSE during RTC
initialiation. From Alan Carvalho de Assis (2016-06-16).
* SYSLOG: syslog() will now automatically redirect output to lowsyslog()
if called from an interrupt handler (2016-06-16).
* STM32: When configuring a GPIO via stm32_configgpio() the function
will first set the mode to output and then set the initial state of
the gpio later on. If you have an application with an externaly
pulled-up pin, this would lead to a glitch on the line that may be
dangerous in some applications (e.G. Reset Line for other chips,
etc). This changes sets the output state before configuring the pin
as an output. From Pascal Speck (2016-06-17).
* STM32 F7: Apply Pascal Speck's GPIO STM32 change to STM32 L4
(2016-06-17).
* STM32 L4: Apply Pascal Speck's GPIO STM32 change to STM32 L4.
From Sebastien Lorquet (2016-06-17).
* Review all uses of *err(). These macro family should indicate only
error conditions. Convert *err() to either *info() or add ERROR:,
depending on if an error is reported (2016-06-17).
* STM32F7: Review, correct, and update I2C, SPI, and ADC drivers. From
David Sidrane (2016-06-17).
* LPC17 Ethernet: Needs to correctly ignore PHYID2 revision number
when comparing PHY IDs (2016-06-18).
* SYSLOG: Consolidate all SYSLOG logic in drivers/syslog. Add an
abstraction layer that supports: (1) redirection of SYSLOG outpout.
This is usually so that you can boot with one SYSLOG output but
transition to another SYSLOG output when the OS has initialialized,
(2) adds common serialization of interrupt output as a configuration
option. Without this configuration setting, interrupt level output
will be asynchronous. And (3) vsyslog is now a system call and is
usable with other-than-FLAT builds (2016-06-19).
Jakub Łągwa
committed
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
* TCP Networking: While working with version 7.10 I discovered a
problem in TCP stack that could be observed on high network load.
Generally speaking, the problem is that RST flag is set in
unnecessary case, in which between loss of some TCP packet and its
proper retransmission, another packets had been successfully sent.
The scenario is as follows: NuttX did not receive ACK for some
sent packet, so it has been probably lost somewhere. But before
its retransmission starts, NuttX is correctly issuing next TCP
packets, with sequence numbers increasing properly. When the
retransmission of previously lost packet finally succeeds, tcp_input
receives the accumulated ACK value, which acknowledges also the
packets sent in the meantime (i.e. between unsuccessful sending of
lost packet and its proper retransmission). However, variable unackseq
is still set to conn->isn + conn->sent, which is truth only if no
further packets transmission occurred in the meantime. Because of
incorrect (in such specific case) unackseq value, few lines further
condition if (ackseq <= unackseq)is not met, and, as a result, we
are going to reset label. From Jakub ÅÄ
gwa (2016-06-20).
* SYSLOG: Remove lowsyslog(), vlowsyslog(), and associated macros
*llinfo(), *llwarn(), and llerr(). In the redesigned syslog() logic,
these serve no purpose (2016-06-20).
* Make system: Need to build the drivers/ directory even it file
descriptors are not supported. There are things in the drivers/
directory that are still needed (like SYSLOG logic) (2016-06-20).
* assert.h: Define static assert for C++ usage. From Paul Alexander
Patience (2016-06-21).
* arch/arm/src/stm32l4: Add ioctls to set/get bit timing in stm32l4.
Add ioctl hooks to allow future management of can id filters. From
Sebastien Lorquet (2016-06-21).
* drivers/can.c: Add support for poll. From Paul Alexander Patience
(2016-06-21).
* drivers/syslog: Extend SYSLOG logic so that we can send SYSLOG output
to a file. Not verified on initial commit (2016-06-21).
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
* arch/arm/src/stm32l4: Add some CAN mode IOCTL calls. These will be
useful for device autotest when the application boots. They are
redundant with the CONFIG_CAN_LOOPBACK option, which can now just be
interpreted as a default setting. From Sebastien Lorquet (2016-06-22).
* drivers/syslog: syslog_dev_flush() needs to check if the inode is a
mountpoint before calling the flush() method. Noted by David Sidrane
(2016-06-22).
* arch/arm/src/stm32f7: Adds SDMMC1 for stm32F7 74-75. From Lok Tep
(2016-06-22).
* drivers/syslog: SYSLOG character device channel will now expand LF to
CR-LF. Controllable with a configuration option (2016-06-22).
* arch/arm/src/stm32l4: Implementation of loopback IOCTLs. From
Sebastien Lorquet (2016-06-22).
* Documentation: Add SYSLOG documentation to the porting guide
(2016-06-22).
* configs/stm32f746g-disco: Removed knsh configuration it failed to
refresh (via tools/refresh.sh). I assume that it is a hand-edited
configuration and, hence, must be removed from the repository
(2016-06-23).
* arch/arm/arc/sam34: DAC bugfix: DACC_WPMR_WPKEY_MASK -> DACC_WPMR_WPKEY.
Timer bugfix: Fix ops check in TCIOC_STOP. From Wolfgang Reissnegge
(2016-06-23).
* configs/nucleo-144: Added SDMMC support to Nucleo-144. From David
Sidrane (2016-06-23).
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
* arch/arm/src/stm32: Port STM32L4 CAN IOCTLs to STM32. From Sebastien
Lorquet (2016-06-24).
* drivers/ioexpander: Add support for a very simple GPIO driver. It
supports only pre-conrigured input and output pins and only basic
input and output operations (2016-06-24).
* arch/arm/src/lpc43xx: Correct auto-negotiation mode in the LPC43xx
Ethernet. From Alexander Vasiljev (2016-06-24)
* arch/arm/src/samv7: TWIHS Driver improved and GPIO-Driver fixed for
Open-Drain Pins
- sam_gpioread: Now the actual line level from the pin is read back.
This is extremely important for Open-Drain Pins, which can be used
bidirectionally
- Re-Implemented twi_reset-function and enhanced it so it can be
called from inside the driver (see next point)
- Glitch-Filter: Added a configuration option to enable the twi-built-
in glitch filter
- Added a "Single Master Mode": In EMC Testing the TWI-Bus got stuck
because the TWI-Master detected a Multi-Master access (but there is
no second master). With the option "Single Master" we detect these
events and automatically trigger a twi_reset. We also do an
automatic recovery if a slave got stuck (SDA stays low).
With the above changes I²C-Bus reliability in harsh environments (eg.
EMC) is greatly improved. The small change in the GPIO-Driver was
necessary because otherwise you cannot read back the correct line
status of Open-Drain Outputs and this is needed by the twi_reset
function. From Michael Spahlinger (2016-06-24)
* arch/arm/src/stm32f7: BUGFIX:PLLs IS2 and SAI P Calculation. From
David Sidrane (2016-06-24).
* arch/arm/src/stm32f7: USB support. From Lok Tep (2016-06-27).
* configs/olimex-stm32-e407: Add support for Olimex STM32 E407
board. From Mateusz Szafoni (2016-06-27).
* drivers/ioexpander: Shadow-Mode: The output- and configuration
registers of the IO-Expander are held in the microcontrollers memory
and only written to the IO-Expander. This reduces bus traffic and
is more error-proof than the normal read-modify-write operation. Retry
Mode: If enabled and an error occurs while writing to the IO-Expander
the current transmission is automatically repeated once. From Michael
Spahlinger (2016-06-27).
* libc/hex2bin: Move the portable library portion of apps/system/hex2bin
to nuttx/libc/hex2bin where it can be shared with the OS internals
(2016-06-27).