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
Gregory Nutt
a8708424c2
pthread_trylock: Fixes a problem in pthread_trylock() noted by initialkjc@yahoo.com. When CONFIG_PTHREAD_MUTEX_UNSAFE=y, the special return value EAGAIN was not being detected due to differences in reporting of returned values.
2017-05-29 07:05:06 -06:00
Gregory Nutt
f86287fd43
PIC32MXMMB: Fix a few copy-paste errors.
2017-05-27 09:23:23 -06:00
Gregory Nutt
7f9700804f
Add file needed with previouis commit.
2017-05-27 09:17:46 -06:00
Gregory Nutt
90680e28d4
PIC32MX7MMB: Repartition files to match newer configurations. Add support for PROCFS file system. Default is now Pinguino toolchain. Verifty networking.
2017-05-27 09:11:50 -06:00
Gregory Nutt
e71472b508
PIC32MX7MMB: add support for the Pinquino toolchain
2017-05-27 08:04:02 -06:00
Gregory Nutt
e9c55d8f7d
IOBs: Fix a typing error mm/iob/iob.h mm/iob/iob_initialize.c
2017-05-27 08:03:00 -06:00
Alan Carvalho
2b3eb7344c
Merged in acassis/nuttx_acassis/pcd8544 (pull request #381 )
...
Pcd8544
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-26 14:44:23 +00:00
Alan Carvalho de Assis
ef53800fa9
remove pcd8544_power() comment, this function doesn't exist for this driver
2017-05-26 11:38:17 -03:00
Alan Carvalho de Assis
96e1a80f99
Replace the structure initializer with C89 style
2017-05-26 11:36:36 -03:00
Gregory Nutt
889d015172
Correct typos in a document.
2017-05-26 08:20:15 -06:00
Alan Carvalho de Assis
f5732f0d15
Add board support to use the Nokia 5110 LCD display driver
2017-05-26 10:53:16 -03:00
Alan Carvalho de Assis
8df5c29857
Add driver for Nokia 5110 (Philips PCD8544)
2017-05-26 10:53:13 -03:00
David Sidrane
710376291a
Merged in david_s5/nuttx/upstream_kinetis (pull request #380 )
...
Upstream kinetis
2017-05-26 03:11:48 +00:00
David Sidrane
a077d0285b
Kinetis:Added ADC channel macro
2017-05-25 16:52:08 -10:00
David Sidrane
b407020968
Kinetis:Fixed typo in kinetis_adc.h
2017-05-25 16:51:25 -10:00
David Sidrane
488f42588b
Kinetis:Removed base address from kinetis_adc.h
2017-05-25 16:50:42 -10:00
Gregory Nutt
01b0a56371
TCP: tcp_input() now receives IP domain as an input parameter vs. deriving from the IP header length.
2017-05-25 08:02:08 -06:00
Masayuki Ishikawa
7182a3efac
Merged in masayuki2009/nuttx.nuttx/network_test (pull request #379 )
...
Fixes in network library and tcp stack.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-25 12:43:19 +00:00