Commit Graph

31942 Commits

Author SHA1 Message Date
Gregory Nutt
b54ffe858a Standardization of some function headers. 2018-03-13 09:52:27 -06:00
Juha Niskanen
c268288c17 drivers/sensors: Add support for Sensirion SHT2x humidity sensor 2018-03-13 08:26:15 -06:00
Gregory Nutt
1a990f99d1 libc/time: Add an implementationof clock() 2018-03-13 08:07:29 -06:00
Simon Piriou
f62bfca94e Merged in spiriou/nuttx/stm32_lowputc (pull request #613)
arch/arm/src/stm32/lowputc: fix uart glitch when lowputc is enabled

Calling up_lowputc() when a character is in the shift register results
in corrupted character on stm32f1xx and stm32f205 cores.
TC status bit ensures that up_lowputc() waits for an on-going
transmission to complete before writing in TDR.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-03-12 22:01:00 +00:00
Gregory Nutt
a5e1553022 Correct a link in the top-level README.txt file. Noted by David Drinn 2018-03-12 15:58:57 -06:00
Simon Piriou
d340ff8f62 Merged in spiriou/nuttx/stm32f103minimum_dfu (pull request #612)
stm32f103-minimum: add support for DFU bootloader

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-03-12 21:55:06 +00:00
Gregory Nutt
ae399b9b62 net/tcp: In tcp_input(), add the logic to detect, decode, and respond to TCP Keep-Alive packets. In tcp_timer(), fix some problems with the way that TCP Keep-Alive probes were being formatted. 2018-03-12 15:54:45 -06:00
Simon Piriou
1f52c13814 Merged in spiriou/nuttx/stm32_usbdev_hid (pull request #611)
arch/arm/src/stm32/usb: skip recipient check for descriptor related requests

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-03-12 20:08:55 +00:00
Gregory Nutt
e6e7dae05b sched/clock: Fix a recently introduced name collision 2018-03-12 13:36:06 -06:00
Gregory Nutt
251924a734 Squashed commit of the following:
net/tcp:  Add logic to send probes when SO_KEEPALIVE is enabled.
    net/tcp:  TCP socket should not have to be connected to configure KeepAlive.
    net/: Add a separate configuration to enable/disable KEEPALIVE socket options.
    net/tcp: Arguments to TCP keep-alive timing functions probably should be struct timeval as are the times for other time-related socket options.
    net/tcp:  Fix a backward conditional
    net/tcp:  Add some more checks and debug output to TCP-protocol socket options.
    net/tcp:  Cosmetic changes to some alignment.
    net/:  Adds socket options needed to manage TCP-keepalive and TCP state machine logic to detect if that the remote peer is alive.  Still missing the timer poll logic to send the keep-alive probes and the state machine logic to respond to probes.
2018-03-12 10:59:46 -06:00
Sebastien Lorquet
0885ad7b14 drivrs/leds: Userled driver was using LCD debug output instead of LED debug output. 2018-03-11 17:43:04 -06:00
Gregory Nutt
f346bb0e88 drivers/lcd/ft80x: Fix a typo that caused the driver to fail to recognize the ft801 chip version. Also update an unrelated README file. 2018-03-11 09:45:47 -06:00
Gregory Nutt
73c107e1fb Squashed commit of the following:
drviers/lcd/ft80x:  No longer depends on CONFIG_EXPERIMENTAL
    Update README.txt
2018-03-10 10:15:32 -06:00
Gregory Nutt
399b9860af Squashed commit of the following:
drivers/lcd/ft80x:  ACTIVE host command appears to be formatted differently than other host commands; Fix ROM CHIPID.  Appears to be big-ending, BCD.
    drivers/lcd/ft80x:  Fix some compile issues when debug features are enabled.
2018-03-09 12:32:59 -06:00
Sebastien Lorquet
ed50b14cee drivers/net/phy_notify.c: Use phy debug macros instead of net debug macros. ninfo() and nerr() are used a bit too much, so the console output is difficult to read with network debug. 2018-03-09 07:11:07 -06:00
Gregory Nutt
82baae5101 Makefile.unix: This seems to eliminate the spuriouis errors reported by 'make savedefconfig' 2018-03-07 13:37:53 -06:00
Juha Niskanen
8b57b7771f arch/srm/src/stm32f7: add PM hooks to ADC, I2C and SPI. 2018-03-06 08:10:50 -06:00
Juha Niskanen
d8311b6493 drivers/power: add pm_unregister 2018-03-06 07:59:17 -06:00
Gregory Nutt
0b277da5fa arch/arm/src.stm32/Kconfig: Reduce redundancy in STM32F401 config settings. 2018-03-05 18:40:45 -06:00
Gregory Nutt
ab5244e855 arch/arm/src/stm32: While we are at it and the differences are fresh in mind, add support for the rest of the STM32F401 family. 2018-03-05 17:36:08 -06:00
Gregory Nutt
33adf2c64d arch/arm/src/stm32: Add support for the STM32F401xB and STM32F401xC families. 2018-03-05 13:45:01 -06:00
Gregory Nutt
cb31a37c69 Cosmetic changes from review of last PR. 2018-03-05 10:22:22 -06:00
Giorgio Groß
4d78593a0f Merged in ordsen/nuttx/feature-pca9540bdp-i2cmultiplexer (pull request #610)
Feature pca9540bdp i2cmultiplexer

* Implement common i2c multiplexer abstraction to be reused by i2c multiplexer devices. Provide common interface with transfer and reset calls to set up virtual i2c busses.

* Remove i2cmux_lower_half.c and headers, will be implemented by each mux driver

* Implement PCA9540BDP I2C multiplexer lower half which uses the common i2c mux abstraction

* Remove application interface and implement common i2c functions

* Remove application interface from pca driver and implement common i2c functions directly in the pca driver

* Use i2cerr

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-03-05 16:11:05 +00:00
Juha Niskanen
628821fdf4 arch/srm/src/stm32f7: Add CONFIG_RTC_PERIODIC support. Also makes the RTC lowerhalf more like in STM32L4. 2018-03-05 07:46:58 -06:00
Gregory Nutt
de6b13b3ab Per OpenGroup.org, syslog -- and, hence, nonstandard vsyslog, and debug wrappers -- does not return a value. Rename _vsyslog to nx_vsyslog. Use internal nx_vsyslog in the few cases where a return value is required. 2018-03-04 08:07:07 -06:00
Gregory Nutt
8cd80e2d47 Update TODO list 2018-03-04 07:30:50 -06:00
Gregory Nutt
6c729d6a7b Trivial, cosmetic change from review of last PR 2018-03-04 06:51:37 -06:00
Mateusz Szafoni
f745b4404a Merged in raiden00/nuttx (pull request #609)
stm32_hrtim: fix capture_get function, add software capture trigger, add software reset trigger, add outputs polarisation configuration

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-03-04 11:33:45 +00:00
raiden00pl
15dc86ddbb stm32_hrtim: fix capture_get function, add software capture trigger, add software reset trigger, add outputs polarisation configuration 2018-03-04 12:28:26 +01:00
Gregory Nutt
987a8298f2 Fix some errors found in build testing + clean-up some issues with last changes to remove use of printf() from within the OS. 2018-03-03 15:51:27 -06:00
Gregory Nutt
b4f2b0dfc6 Remove all usage of printf() from the OS. That is not an acceptable context for the use of an application-oriented interface that depends on a task-specific file descriptor and C buffered I/O. 2018-03-03 15:20:21 -06:00
Gregory Nutt
d1b31d536a Eliminate a couple more uses of printf() within the OS. There are several more. 2018-03-03 12:59:48 -06:00
Gregory Nutt
de0ef2486f Some days I can't do anything right. 2018-03-03 11:39:58 -06:00
Gregory Nutt
430204daea drivers/wireless/cc1101.c: Fix a few things that I bungled in my review of the driver mods. Fix the logic that was dumping register contents: printf() may not be used within the OS and the syslog and debug macros may add ornamentatino to the output. The only real option inside the OS is to buffer the data and outputing with a single syslog write (vs. many tiny writes). 2018-03-03 10:32:32 -06:00
Author: lihaichen
afe5f706f6 Squashed commit of the following:
cc1101:  Changes from review of last PR.
    remove gpio
    remove  cc1101 frame len
    remove FLAGS_RXONLY flags
    add cc1101 function
    remove some waring
    add cc1101 poll function
    add cc1101 register
    add cc1101 isr read data
    add cc1101 spi deviceId
    add cc1101 init2
    add wait cc1101 chip ready
    raw init cc1101
2018-03-03 08:53:51 -06:00
Mateusz Szafoni
160931ba72 Merged in raiden00/nuttx (pull request #607)
stm32f33xxx_adc.c: fix bug in RCC reset logic that resets ADC1 configuration when both ADC1 and ADC2 are in use

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-03-02 20:00:52 +00:00
Gregory Nutt
bff4e8e5b0 Documentation: Update NxWidgets version number. 2018-03-02 13:05:42 -06:00
Gregory Nutt
69cc53c15c Update NuttX.html in preparation for the NuttX-7.24 release 2018-03-02 09:55:15 -06:00
Gregory Nutt
58e3c0b5df Update ReleaseNotes in preparation for 7.24 release 2018-03-02 09:04:08 -06:00
Gregory Nutt
73a1349afa Change 7.24 release to 3/2, I won't be getting it done today after all. 2018-03-01 15:00:57 -06:00
Gregory Nutt
d9337f9146 Update changelog in preparation for nuttx-7.24 release. 2018-03-01 11:43:01 -06:00
Juha Niskanen
b4a5cbb9de drivers/i2c and drivers/spi: Fix compile if CONFIG_DISABLE_PSEUDOFS_OPERATIONS, fix bad NULL checks 2018-03-01 08:36:48 -06:00
Gregory Nutt
2da2a79104 Update README 2018-03-01 08:36:48 -06:00
Mateusz Szafoni
2e5bef89b8 Merged in raiden00/nuttx (pull request #606)
stm32_hrtim: add repetition support and fix enum overflow

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-27 18:53:08 +00:00
Gregory Nutt
8fe9e81183 drivers/lcd: Add FT80x controls for the case where the audio amplifier is controlled by FT80x GPIOs vs MCU gpios. 2018-02-27 08:45:34 -06:00
Juha Niskanen
05f056a770 arch/arm/src/stm32f7: Backport RTC alarm setting changes from STM32L4. Most notably this fixes RTC getting stuck issue when both alarms were used. Root cause was writing RTC ISR register contents to RTC CR register. 2018-02-27 06:50:04 -06:00
Gregory Nutt
dee0eda5ab include/lcd/ft80x: Add definitions stencil operations and midi sounds. 2018-02-26 15:24:41 -06:00
Gregory Nutt
b901f08d90 Trivial changes from review of last PR. 2018-02-26 11:48:57 -06:00
Dmitriy Linikov
39ef04353c Merged in hardlulz/modem-3.0-nuttx/fix-parsing-dns-response (pull request #605)
Fixed parsing of DNS response packets having compressed names ending with pointer.

There were troubles parsing response packets which have compression of
QNAME/NAME field when only trailing part of the name (not the whole name)
is replaced with pointer to another part of the packet.
This commit fixes parsing of such packets.

Also I added checks to keep parsing only in bounds of the read part
of DNS response packet.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-26 17:43:37 +00:00
Gregory Nutt
df231a966a include/nuttx/lcd/ft80x.h: Add audio format definitions. 2018-02-25 17:12:39 -06:00