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
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
Masayuki Ishikawa
32a638cdfe
TCP: Fix tcp_findlistner() in dual stack mode
...
Signed-off-by: Masayuki Ishikawa <masayuki.ishikawa@gmail.com>
2017-05-25 16:54:19 +09:00
Masayuki Ishikawa
6ccc01ad46
netdb: Fix bugs in lib_gethostbynamer.c
...
This fix sets h_name in struct hostent returned by gethostbyname()
Signed-off-by: Masayuki Ishikawa <masayuki.ishikawa@gmail.com>
2017-05-25 10:59:10 +09:00
Masayuki Ishikawa
c31dbf244e
Merged nuttx/nuttx into master
2017-05-25 10:28:43 +09:00
Jussi Kivilinna
7ae8173449
button_upper: fix interrupt enabling for poll-events
2017-05-24 08:06:13 -06:00
Alan Carvalho
dac08c8372
Merged in acassis/nuttx_acassis/canbus (pull request #378 )
...
Canbus
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-23 22:59:46 +00:00
Alan Carvalho de Assis
bab5de15f6
Remove warning from MCP2515 compilation
2017-05-23 19:41:58 -03:00
Alan Carvalho de Assis
fb7866bdc8
Use the right variable name at mcp2515_txready()
2017-05-23 19:30:12 -03:00
Gregory Nutt
e4d98a5c0e
Merge branch 'canbus'
2017-05-23 12:23:14 -06:00
Gregory Nutt
38ae28e978
MCP2515: Changes from review of last PR
2017-05-23 12:22:49 -06:00
Alan Carvalho
cf3351aa8c
Merged in acassis/nuttx_acassis/canbus (pull request #377 )
...
Canbus
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-23 17:47:51 +00:00
Alan Carvalho de Assis
001919ffe9
Add CANBUS SPIDEV definition
2017-05-23 14:33:52 -03:00
Alan Carvalho de Assis
607b9b5a8c
Add board support to test Microchip MCP2515 driver
2017-05-23 14:29:36 -03:00
Alan Carvalho de Assis
eb7373cedf
Add Microchip MCP2515 CAN Bus controller driver
2017-05-23 14:28:52 -03:00
Alan Carvalho
bb0685c0db
Merged nuttx/nuttx into master
2017-05-23 14:21:56 -03:00
Gregory Nutt
b59f583171
Update TODO list
2017-05-23 10:29:53 -06:00
Juha Niskanen
0c9abbfe67
STM32L4: Add IWDG peripheral. This is the same as for STM32 except that prescale and reload can be
...
changed after watchdog has been started, as this seems to work on L4.
2017-05-23 07:02:36 -06:00
Masayuki Ishikawa
4d5c1c7dba
Merged in masayuki2009/nuttx.nuttx/network_test (pull request #376 )
...
netdb: Fix time info in lib_dnscache.c
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-23 11:07:09 +00:00
Masayuki Ishikawa
2b028bc4e5
netdb: Fix time info in lib_dnscache.c
...
Signed-off-by: Masayuki Ishikawa <masayuki.ishikawa@gmail.com>
2017-05-23 16:02:41 +09:00
Masayuki Ishikawa
72b1928d6f
Merged nuttx/nuttx into master
2017-05-23 16:00:20 +09:00
Masayuki Ishikawa
2f1972fb89
Merged in masayuki2009/nuttx.nuttx/bug_fix_by_sony (pull request #375 )
...
Bug fix by sony
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-22 08:47:08 +00:00
Masayuki Ishikawa
99bdab3ac3
FAT: Fix 'Missing unlock' in fs_fat32.c
...
Jira: PDFW15IS-265
Coverity-ID: 10590 10589
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-05-22 14:44:24 +09:00
Masayuki Ishikawa
810f9b516c
drivers/bch: Fix 'Missing Unlock' in bchdev_driver.c
...
Jira: PDFW15IS-265
Coverity-ID: 10597
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-05-22 14:29:41 +09:00
Nobutaka Toyoshima
a862b653bd
Replace sprintf() with snprintf() in pipe.c
...
Jira: PDFW15IS-265
Coverity-ID: 10696
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-05-22 09:22:23 +09:00
Masayuki Ishikawa
c9e817dc4d
Merged nuttx/nuttx into master
2017-05-22 09:10:04 +09:00