Commit Graph

30467 Commits

Author SHA1 Message Date
Gregory Nutt
4be064d19a Move SMPS driver to drivers/power (and header to include/nuttx/power). Rename debug to IOCTLs to more general power naming; create a separate file to coordinate power-related IOCTL commands. 2017-07-23 07:35:09 -06:00
Gregory Nutt
a9a236fea5 Add power-related debug output 2017-07-23 07:17:56 -06:00
Mateusz Szafoni
d96d1d43d9 Merged in raiden00/nuttx (pull request #443)
add generic upper-half driver for SMPS

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-07-23 13:02:55 +00:00
raiden00pl
87ca3d1521 Merge remote-tracking branch 'upstream/master' 2017-07-23 11:37:24 +02:00
raiden00pl
a880f78f57 add generic upper-half driver for SMPS 2017-07-23 11:36:18 +02:00
Gregory Nutt
49d78f7b55 ADC: Some trivial coding standard changes. 2017-07-22 16:59:46 -06:00
Gregory Nutt
f4e46b0da7 Missed part of 2319ea53a9. Was still getting the warning. 2017-07-22 10:55:54 -06:00
Gregory Nutt
2319ea53a9 STM32L4: Eliminate a warning about implicit definition of function. While we are at it, let's improve the naming a little too. 2017-07-22 09:53:29 -06:00
Simon Piriou
d88dc9b2e5 net_pkt: fix typo and symbol collision 2017-07-22 09:01:24 -06:00
Simon Piriou
2e7961cc55 sim arch: fix mkdir issue in GNU target 2017-07-22 09:01:24 -06:00
Simon Piriou
53a8cb734b sim arch: poll for TX frames to speed up driver 2017-07-22 09:01:24 -06:00
Simon Piriou
63c9f1a86e sim arch: Add non blocking read to devconsole driver 2017-07-22 09:01:24 -06:00
Simon Piriou
643f5782aa epoll: fix epoll_wait function 2017-07-22 09:01:24 -06:00
Mateusz Szafoni
795ee47660 Merged in raiden00/nuttx (pull request #442)
stm32_hrtim

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-07-22 13:36:44 +00:00
raiden00pl
f6c1d59531 stm32_hrtim: add slave timers private data, fix some bad definitions, some asserions 2017-07-22 15:14:59 +02:00
raiden00pl
3d5c98e217 nucleo-f334r8: UART2 is default serial port (STLINK Virtual Port) 2017-07-22 15:05:47 +02:00
Mateusz Szafoni
664320342b Merged in raiden00/nuttx (pull request #441)
configs: add stm32f334-disco basic support

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-07-21 17:21:43 +00:00
raiden00pl
5bb3fbd69b configs: add stm32f334-disco basic support 2017-07-21 18:01:20 +02:00
Gregory Nutt
504d230599 More cosmetic renaming fixes... devdesc to devinfo 2017-07-21 07:52:07 -06:00
Gregory Nutt
e4c0b889d7 Cosmetic fix to some spacing 2017-07-21 07:52:07 -06:00
Lokesh B V
687d966aac Merged in lokeshbv/l-nuttx/libc_stdlib (pull request #440)
libc/stdlib: Error Fix

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-07-21 10:57:20 +00:00
Lokesh B V
59643679f8 libc/stdlib: Error Fix
1.Fix an error in mkstemp() the could result in an infinite loop.
2.Fix for wrong output in some cases.
For Example:
 1) input: "FILEXX"
    output: "FILE00" and repeats same output for further invocations of mkstemp().
            But, the ouput has to be FILE01, FILE02, ...., FILEZZ.
 2)input: "FILEXXXXXX"
   output: "FILE100000", for next invocation "FILE200000" and so on
           But it's good, if the ouput goes like FILE000001, FILE000002, ..., FILE000101, ...

Signed-off-by: Lokesh B V <lokeshbv333@gmail.com>
2017-07-21 12:48:05 +05:30
Gregory Nutt
2bb3ad2e98 USB MSC: Add missing logic to define endpoints. The composite changes broke the the non-composite, USB MSC only case because it omitted the critical setup when USB MSC was not part of the composite. 2017-07-20 10:07:53 -06:00
Gregory Nutt
ee0c035a6d USB device: Rename usbdev_description_s to usbdev_devinfo_s to avoid any more confusion of naming with device descriptions in the future. Instances of usbdev_devinfo_s are now called devinfo vs devdesc when is a bad naming collision. 2017-07-20 09:34:48 -06:00
Gregory Nutt
4fde6fc654 Merge branch 'beacon802154' 2017-07-20 08:36:13 -06:00
Gregory Nutt
42efcbe3a9 Merge remote-tracking branch 'origin/master' into beacon802154 2017-07-20 08:04:41 -06:00
Gregory Nutt
c3b552e072 Minor cosmetic updates from review of last PR. 2017-07-20 07:39:57 -06:00
Lokesh B V
1135b96fc8 Merged in lokeshbv/l-nuttx/libc_math (pull request #439)
Libc math: Error fixes in modf() and ceil() API's

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-07-20 12:56:59 +00:00
Lokesh B V
beec197c69 libc/math: Fix wrong ouput in ceil() API
Ex:for input x = 1.0, the ouput should be 1.0, but the ouput was 2.0.

Signed-off-by: Lokesh B V <lokeshbv333@gmail.com>
2017-07-20 18:07:53 +05:30
Lokesh B V
6062af0a94 libc/math: Fix wrong ouput in modf() API
The sign of integral part given by the modf() should be same as sign of input.
But for inputs between 0 and 1, the sign of integral part was not same as sign of input.

Signed-off-by: Lokesh B V <lokeshbv333@gmail.com>
2017-07-20 17:59:39 +05:30
Titus von Boxberg
af8b254754 Merged in elbeinformatik/nuttx/STM32F769I-DISCO-PR (pull request #438)
Initial port to STM32F769I-DISCO

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-07-20 01:25:42 +00:00
Titus von Boxberg
7038bf8bfe flash size is 2MB 2017-07-19 23:34:48 +02:00
Titus von Boxberg
c06c5137d8 updated for the actual hardware and configs; removed generic stuff 2017-07-19 20:54:17 +02:00
Titus von Boxberg
8846bb9c1c Updated linker maps for STM32F769NI 2017-07-19 20:40:10 +02:00
Titus von Boxberg
a20c3b17ce warning message when using DSI (for debugging) 2017-07-19 20:39:27 +02:00
Titus von Boxberg
e15fb346ea LED-GPIO named after the reference designator of actual board led 2017-07-19 20:05:19 +02:00
Titus von Boxberg
f1850b4b21 warning comment 2017-07-19 20:01:06 +02:00
Titus von Boxberg
ad2fcd12ad new defconfig with ethernet and more hardware enabled 2017-07-19 19:34:05 +02:00
Titus von Boxberg
adb69369a1 updated defconfig (with almost no hardware enabled) 2017-07-19 19:25:31 +02:00
Titus von Boxberg
7b07471ece documentation update to f7 2017-07-19 19:14:50 +02:00
Titus von Boxberg
8b2a94b82c correct macro name for DSI clock source 2017-07-19 19:14:50 +02:00
Titus von Boxberg
6d29a04752 naming errors/inconsitencies/typos 2017-07-19 19:14:49 +02:00
Titus von Boxberg
041a319789 does not feature a DSI interface 2017-07-19 19:14:49 +02:00
Titus von Boxberg
ee6416d3df inconsistency: the stm32f746 does not feature a DSI interface 2017-07-19 19:14:49 +02:00
Titus von Boxberg
1241960d4a STM32F7: Switch from CCM to DTCM 2017-07-19 19:07:53 +02:00
Titus von Boxberg
071b2dda28 compileable with LTDC_INTERFACE and LTDC_USE_DSI 2017-07-19 19:07:53 +02:00
Titus von Boxberg
e67ba8c88d option for DSI output 2017-07-19 19:07:53 +02:00
Titus von Boxberg
d590ba7ab2 do not enforce CONFIG_STM32_CCMEXCLUDE for CONFIG_ARCH_CHIP_STM32F7, macro rename STM32 -> STM32F7, #include corrections 2017-07-19 19:07:53 +02:00
Titus von Boxberg
1826c1165a macro rename STM32 -> STM32F7, #include corrections 2017-07-19 19:07:53 +02:00
Titus von Boxberg
32e417c3ac renamed STM32_LCDTFT_BASE to STM32_LTDC_BASE for consistency 2017-07-19 19:07:53 +02:00