Commit Graph

30363 Commits

Author SHA1 Message Date
Gregory Nutt
a46a748bfa Update ReleaseNotes in preparation for NuttX-7.21 release. 2017-06-05 13:22:11 -06:00
Gregory Nutt
5aa23da717 Update ChangeLog in preparation for NuttX-7.21 release. 2017-06-04 14:23:36 -06:00
Daniel Agar
0557b0746b Merged in dagar/nuttx/extra_semi (pull request #384)
libfflush remove extra semicolon

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-04 17:04:49 +00:00
Daniel Agar
30ab574060
libfflush remove extra semicolon 2017-06-04 12:20:48 -04:00
Gregory Nutt
918480047a Merge remote-tracking branch 'origin/master' into composite 2017-06-03 08:52:31 -06:00
Gregory Nutt
4526cd665e Correct typo in header file iempotence. Noted as part of Issue #53 by Goran Mekić 2017-06-03 06:43:14 -06:00
Gregory Nutt
b27ccd1bc6 Makefiles: Remove some unnecessary dependencies 2017-06-02 17:09:08 -06:00
Gregory Nutt
6c3a3c305f Comment out most of 430060e92e. Clean-up some dependencies in top-level Makefile 2017-06-02 16:46:16 -06:00
Gregory Nutt
c584d27c3c Revert "Build system: Hook tools/initconfig into top-level Makefiles."
This reverts commit 430060e92e.

That commit has some unexpected side-effects
2017-06-02 16:14:27 -06:00
Gregory Nutt
2c903d5c7a Fix spelling in printf output 2017-06-02 16:12:21 -06:00
Gregory Nutt
d1eaac7ed7 Build system: Suppress output of some command lines. 2017-06-02 13:16:29 -06:00
Gregory Nutt
430060e92e Build system: Hook tools/initconfig into top-level Makefiles. 2017-06-02 13:06:09 -06:00
Gregory Nutt
efbd035b56 Cosmetic changes to comments 2017-06-02 11:24:19 -06:00
Gregory Nutt
624bd0b9e9 tools/: Add initialconfig.c so that perhaps in the future we will be able to use this to generate a new configuration from scratch (rather than having to derive new configurations from existing configurations) 2017-06-02 10:17:30 -06:00
Gregory Nutt
e4d262436c SAMV71-Xult Composite: Now can switch between two different composite configurations dynamically. 2017-06-02 07:19:27 -06:00
Gregory Nutt
815257743d usbdev composite and SAMV7-Xult: Move board-specific USB composite configuration out of boardctl.c and into board-specific logic where it belongs. Add a configuration option to the boardctl() calls to support multiple composite device configurations dynamically. 2017-06-02 07:11:57 -06:00
Gregory Nutt
ac13619dc5 Cosmetic 2017-06-01 17:03:58 -06:00
Gregory Nutt
9dd41bdd2f Composite: More compile-related fixes 2017-06-01 17:02:43 -06:00
Gregory Nutt
fc1438c95d Merge remote-tracking branch 'origin/master' into composite 2017-06-01 16:35:41 -06:00
Gregory Nutt
049ccbfcbe Composite: Add some structure definitions missed in first application of the patch. 2017-06-01 16:35:16 -06:00
Gregory Nutt
ef33329e3a Add a warning 2017-06-01 16:14:46 -06:00
Gregory Nutt
89f77cd91a Fix some incomplete name changes 2017-06-01 16:11:27 -06:00
Gregory Nutt
0bb7af549a It is unnecessary to pack a structure that consists only of uint8_t data fields. 2017-06-01 15:09:50 -06:00
Gregory Nutt
bd9b548914 Remove COMPILE_TIME_ASSERTION 2017-06-01 15:05:41 -06:00
Frank Benkert
7e6f481581 Part II of the same big commit 2017-06-01 14:58:04 -06:00
Frank Benkert
dcc9b07715 [[This is part 1 or several commits]]
We developed a huge Changeset over a year ago to make USB Composite configuration dynamical and be able to instanciate the CDCACM multiple times inside this device.  We use this feature to switch between one in normal and up to three CDCACMs in maintenance boot.

The control path starts in “boardctl.c” where the configuration for the device is constructed.  There are still a few issues which I’ll ask you to have a look at before this beast can be merged.

1. To be able to construct the data dynamically I have changed some USB-Structs to be packed. Maybe there are additional structs to change (just for completeness – not for current functionality).

2. I’ve added the Macro “COMPILE_TIME_ASSERTION” two times (in usbmsc_desc.c and in cdcacm_desc.c) to stay private. Maybe you’ll find a better place. It’s used to check the size of the structs against the assumptions.

3. I’ve changed the interface for some USB-Functions to receive also the dynamic configuration. Maybe this can be done more elegant.

4. The original NuttX (without the patch) seems to have problems with a Composite device holding a CDCACM and an MSC. The “USB SET CONFIGURATION” request does not to work at all. This makes the test fail under Windows and under Linux. Applying this patch doesn’t change anything – because it only changes the configuration – not the behavior. Maybe you’ll have a look at this problem before applying the patch.
2017-06-01 14:08:22 -06:00
Gregory Nutt
ff2b54a5e0 nucleo-f4x1re User LEDS: Issue #51 reports compilation problems with stm32_userled.c. Reported by Gappi92. 2017-06-01 06:44:24 -06:00
Gregory Nutt
4d46979a6f Tiva SSI: Resolves issue 52 'Copy-Paste error in tiva_ssibus_initialize()' submitted by Aleksandr Kazantsev. 2017-06-01 06:38:47 -06:00
Gregory Nutt
0fe9c2f3f9 pthread mutex: Remove bogus DEBUGASSERT. Problem noted by Jussi Kivilinna 2017-06-01 06:28:23 -06:00
Juha Niskanen
06edfae133 mtd/config: Add some error checks for I/O errors 2017-06-01 06:22:27 -06:00
Juha Niskanen
32610b53f4 drivers/{sensors,usbmisc}: Fix uninitialized I2C frequency 2017-06-01 06:19:54 -06:00
Juha Niskanen
ad6515563b STM32L4 RTC: store RTC MAGIC to backup reg, not to address zero 2017-06-01 06:15:28 -06:00
Gregory Nutt
f5e6afe9cd Makefile.*: Create a Make.defs file if one does not exist 2017-05-31 15:39:18 -06:00
Gregory Nutt
bb02c0c92d Makefiles.*: It should be possible to run 'make menuconfig' with no .config and no Make.defs file. This change removes the dependency on Make.defs, but does not solve the problem of the missing .config file. Without a .config file, it is not currently possible for the Makefile.* to correctly setup up the symbolic links to directories. 2017-05-31 15:17:28 -06:00
Gregory Nutt
e4b145b9a9 Upate TODO list 2017-05-31 11:17:11 -06:00
Gregory Nutt
90dda9357e pthread robust mutexes: Fix memmory trashing problem: the main task may also use mutexes; need to check thread type before accessing pthread-specific mutex data structures. Problem noted by Jussi Kivilinna. 2017-05-31 10:55:37 -06:00
Jussi Kivilinna
705185be1e libc/string/lib_vikmemcpy.c: fix 'casting pointer to integer of different size' compiler warnings 2017-05-31 09:33:44 -06:00
Jussi Kivilinna
1cc842794d drivers/rwbuffer.c: Fix compiler warnings 2017-05-31 09:28:20 -06:00
Jussi Kivilinna
05e5841000 include/nuttx/spi/spi/h: Use of argument to SPI_SEND should be within parentheses. 2017-05-31 09:20:14 -06:00
Jussi Kivilinna
7af5cbb833 drivers/mtd/w25.c: Enable short delay after sector/chip erase 2017-05-31 09:17:58 -06:00
Jussi Kivilinna
369b72f65a stm32f7: Add SPI DMA support 2017-05-31 09:13:20 -06:00
Jussi Kivilinna
8b006e705e drivers/mtd/w25.c: erase sector only if it is not in erased state 2017-05-31 09:09:24 -06:00
Jussi Kivilinna
c7fcdf968d mtd/smart: Fix use of uninitialized variable 2017-05-31 09:07:25 -06:00
Juha Niskanen
14c233a2f5 STM32L4: gpio: put back EXTI line source selection 2017-05-31 06:34:14 -06:00
Juha Niskanen
80cc19d6b0 drivers/input: add Cypress MBR3108 CapSense touch button driver 2017-05-31 06:31:53 -06:00
Harri Luhtala
b8b9309d2b vfs: fdopen: add missing file stream flags clearing. Clear file stream structure regardless of config options. Structure clearing is needed as previous use of stream list entry might leave fs_flags set. 2017-05-31 06:20:18 -06:00
Gregory Nutt
830ad9370a Update README file 2017-05-31 06:19:05 -06:00
Gregory Nutt
ae17e6bcf0 Cosmetic 2017-05-30 12:04:48 -06:00
Gregory Nutt
dc3a7e54a9 Cosmetic 2017-05-30 11:36:54 -06:00
Gregory Nutt
d9bd5ca05f Update README and some C comments 2017-05-30 09:19:04 -06:00