Paul A. Patience
706218d18f
atoi(): Cast return value to int
2015-11-18 14:12:29 -05:00
Gregory Nutt
622ea95ab1
drivers/timers/ds3213.c: Extend to include support for the DS1307 RTC
2015-11-18 08:43:19 -06:00
Gregory Nutt
4579f0c1fc
Add a command to boardctl() to obtain a baord unique ID
2015-11-18 07:31:53 -06:00
Gregory Nutt
25c4ff8285
Update some comments
2015-11-17 16:29:34 -06:00
Gregory Nutt
c0a701b779
Merged in wail007/nuttx (pull request #33 )
...
Added a lower-half timer driver for stm32 which is compatible with the upper-half driver located at /drivers/timers/timer.c
2015-11-17 16:23:03 -06:00
Wail Khemir
09b9d6ba1f
Added a lower-half timer driver for stm32 which is compatible with the upper-half driver located at /drivers/timers/timer.c
2015-11-17 16:39:21 -05:00
Gregory Nutt
45530a77d4
Add support for DS3231 I2C RTC. Untested on initial commit.
2015-11-17 14:07:55 -06:00
Gregory Nutt
e61d51dab3
If multiple AT24xx devices are supported and resources are allocated, then it may also be necessary to free those resource
2015-11-17 08:39:06 -06:00
Gregory Nutt
f5722bc6dd
Merged in slorquet/nuttx/pca9555 (pull request #32 )
...
Pca9555 interrupt support.
2015-11-17 07:45:33 -06:00
Gregory Nutt
724901ceb9
Add support for multiple AT24xx EEPROM devices
2015-11-17 07:40:17 -06:00
Sebastien Lorquet
c7999141e7
Merge branch 'master' into pca9555
2015-11-17 14:12:03 +01:00
Sebastien Lorquet
826aadbce8
Include support for PCA9555 interrupt driven IO changes detection.
...
Currently using a signal, and a single notified task.
signal handling support moved to generic IO expander header (not pca specific)
2015-11-17 14:09:43 +01:00
Gregory Nutt
580529ba23
crypto/aes.c: Make refernce to key const
2015-11-16 14:30:43 -06:00
Gregory Nutt
c955cdccd9
Move rivers/wireless/cc3000/security.c to crypto/aes.c; move include/nuttx/wireless/cc3000/security.h to include/nuttx/crypto/aes.h
2015-11-16 13:31:02 -06:00
Gregory Nutt
815ec07b55
CAN: A minor improvement to can_txready design
2015-11-15 06:36:30 -06:00
Gregory Nutt
d6eb48d1ab
Update comments
2015-11-14 14:00:39 -06:00
Gregory Nutt
81ab270a96
CAN driver: Removing call to can_xmit() from can_txready() in a previous commit was a mistake. This commit restores the call to can_xmit(), but does the call in a safer environment on the work thread.
2015-11-14 10:33:02 -06:00
Sebastien Lorquet
8242600e5e
WIP for pca9555 irq
2015-11-13 16:28:46 +01:00
Gregory Nutt
fdb17620a0
Need a prototype for progmem_initialize in include/nuttx/mtd/mtd.h
2015-11-12 16:03:24 -06:00
Max Neklyudov
d54a39832a
Implement high level DMA infrastructure for serial devices
2015-11-12 14:16:19 -06:00
Gregory Nutt
ef59f83a38
drivers/mtd/mtd_progmem.c: Add an upper-half driver that can be used with any FLASH library that provides the itnerfaces defined in include/nuttx/progmem.h
2015-11-12 13:40:18 -06:00
Gregory Nutt
5eaf368d16
progmem.h: Cosmetic updates to comments
2015-11-12 12:30:15 -06:00
Gregory Nutt
7fe6200b0f
progmem.h: Clean-up a few comments
2015-11-11 14:30:06 -06:00
Gregory Nutt
e62673241d
Eliminate some useless comments
2015-11-11 11:02:52 -06:00
Gregory Nutt
965addb397
s25fl1: When unprotecting, handle case where protection bits are inverted. Add option to s25flinitilize() to unprotected on power up
2015-11-10 11:33:35 -06:00
Gregory Nutt
95562f8a86
CAN driver: More improved comments
2015-11-08 07:43:57 -06:00
Gregory Nutt
91429433f6
Correct naming of Spansion part. S25FL1, not ST25FL1
2015-11-07 11:51:09 -06:00
Paul A. Patience
4c70fc181a
ADC: Fix forgotten FARs
2015-11-05 10:27:47 -05:00
Gregory Nutt
c6fc285277
CAN: Add a new CAN upper-half interface, can_txready(), that can be used to break deadlock conditions in certain CAN hardware that supports queuing of TX messages
2015-11-03 10:52:58 -06:00
Gregory Nutt
51d29d3c97
Merged in paulpatience/nuttx/pwm (pull request #29 )
...
PWM: Add support for multiple output channels per timer
2015-11-01 16:40:06 -06:00
Paul A. Patience
e8c2466c1c
PWM: Add support for multiple output channels per timer
2015-11-01 17:15:12 -05:00
Gregory Nutt
fc91ded815
Add support for a general user LED lower-half driver
2015-11-01 14:57:22 -06:00
Gregory Nutt
0dea00177e
Add a generic user LED upper half discrete driver
2015-11-01 14:41:40 -06:00
Gregory Nutt
cbb78071b3
Rename ioexpander/ directories to discrete/
2015-11-01 13:14:48 -06:00
Gregory Nutt
56ad07f02b
Add standard naming for board user LED functions
2015-11-01 12:48:13 -06:00
Gregory Nutt
2318038bbc
Rename board_led_off to board_autoled_off
2015-11-01 09:10:40 -06:00
Gregory Nutt
8093def2c8
Rename board_led_on to board_autoled_on
2015-11-01 09:07:46 -06:00
Gregory Nutt
148d5fcffd
Rename board_led_initialize to board_autoled_initiaize
2015-11-01 09:04:02 -06:00
Gregory Nutt
68c4dedb78
Named semaphores: Bad cast in sem_close(). Fixed by reordering fields of struct nsem_inode_s so that the cast will work
2015-10-23 07:13:47 +08:00
Gregory Nutt
d8731d0ef1
Add files missed in previous commit
2015-10-18 08:00:06 +08:00
Gregory Nutt
f5f69ef85d
Add a file missed in the last commit
2015-10-13 07:36:46 -06:00
Alan Carvalho de Assis
8f0c912fff
Add Zero Cross device driver support
2015-10-13 07:27:16 -06:00
Gregory Nutt
613798027e
Add a button upper/lower half driver
2015-10-12 14:29:43 -06:00
Gregory Nutt
1e6ffe7677
TMPFS update
2015-10-08 14:21:12 -06:00
Gregory Nutt
863ded3584
Standardize the width of all comment boxes in C header files
2015-10-03 07:45:15 -06:00
Gregory Nutt
0f90500f72
Standardize the width of all comment boxes in header files
2015-10-02 17:48:24 -06:00
Gregory Nutt
cb9e27c3b0
Standardize naming used for public data and function groupings
2015-10-02 16:30:35 -06:00
Gregory Nutt
38e6142ae8
Make coding style more conformant, take description from OpenGroup.org, rename formal parameters to match names used on OpenGroup.org
2015-10-02 12:58:40 -06:00
Gregory Nutt
2ba224eca2
Add support for bsearch() in C library
2015-10-02 12:33:58 -06:00
Alan Carvalho de Assis
c52e3e017b
Battery Charger: Add BQ24250 driver
2015-09-20 09:47:00 -06:00
Alan Carvalho de Assis
d4fc91d6f6
Add Battery Fault and Battery Disconnected status
2015-09-20 09:32:06 -06:00
Alan Carvalho de Assis
895ad29b0d
Fix IOCTL definition to avoid duplication and mess
2015-09-19 13:58:49 -06:00
Alan Carvalho de Assis
3cd7558a5e
Add basic infrastructure for Battery Charger
2015-09-19 13:06:43 -06:00
Alan Carvalho de Assis
9f465fc502
Rename battery.[ch] to battery_gauge.[ch]
2015-09-19 11:00:14 -06:00
Alan Carvalho de Assis
c4cf5be231
Add support to Maxim MAX31855 Thermocouple-to-Digital
2015-09-13 15:56:48 -06:00
Pierre-noel Bouteville
8651e0f2ca
CC3300: Add const to pointers in arguments to wlan_connect; remove an unused function prototype
2015-09-09 16:34:37 -06:00
Gregory Nutt
8a87e3ca6e
Add an empty function that can serve as a placeholder for the network shutdown() function
2015-09-09 07:03:05 -06:00
Sebastien Lorquet
77e4e7b231
Change all references from avsprintf to vasprintf. From Sebastien Lorquet
2015-09-07 13:22:13 -06:00
Paul A. Patience
c080146748
SSD1351 driver: add 8-bit parallel interface
2015-09-06 13:28:28 -04:00
Gregory Nutt
7d33e858dd
QSPI interface + ST25FL1 driver: Add methods to allocate properly aligned memory
2015-09-06 09:37:34 -06:00
Gregory Nutt
9c66bde5b0
Fix typo in pre-processor command noted by Pierre-noel Bouteville. Also move # of pre-processior command to column 1
2015-09-05 09:10:48 -06:00
Paul A. Patience
3b89eabd50
Correct #if to #ifdef when the macro can be undefined. Fix bug in AT24XX driver: it should compare AT24XX_ADDRSIZE to 2.
2015-09-01 13:52:29 -04:00
Gregory Nutt
2d84270552
ST25FL1: Correct some compile problems when file system debug is enabled
2015-08-31 09:25:14 -06:00
Gregory Nutt
d6b0a8fe72
ST25FL1 driver is code complete
2015-08-29 15:58:54 -06:00
Gregory Nutt
bfc3c98e12
Move MTD ioctls commands from include/nuttx/fs/fs.h to include/nuttx/mtd/mtd.h. Add commands to protect and unprotect memory
2015-08-29 10:54:38 -06:00
Gregory Nutt
883c6a7cea
Merge remote-tracking branch 'origin/master' into st25fl1
2015-08-29 08:02:57 -06:00
Gregory Nutt
8c001f6807
Merged in paulpatience/nuttx (pull request #21 )
...
Add SSD1351 OLED controller support
2015-08-28 17:01:24 -06:00
Paul A. Patience
01b68e90d0
Add SSD1351 OLED controller support
2015-08-28 18:37:01 -04:00
Gregory Nutt
e392471dc2
QSPI interface: Add support for dual and quad read transfers; Add support for dummy read cycles.
2015-08-28 12:00:06 -06:00
Gregory Nutt
70bdf682af
QSPI: Add support for data vs command transfer
2015-08-28 10:15:08 -06:00
Gregory Nutt
361e35a7be
QSPI: Make changes to interface to better work with the SAMV71
2015-08-27 14:16:51 -06:00
Gregory Nutt
e6be3cea9f
Merge remote-tracking branch 'origin/master' into st25fl1
2015-08-26 10:44:35 -06:00
Gregory Nutt
7a168a791f
Networking: Fix loopback device MTU
2015-08-26 10:33:44 -06:00
Gregory Nutt
6dadfcbf6b
Add QSPI interface definition
2015-08-25 15:26:16 -06:00
Gregory Nutt
933d74e5c1
Networking: With these changes, I can ping the local loopback device from the simulator
2015-08-24 13:49:12 -06:00
Gregory Nutt
0b012c7978
Fix some initial loop back device compilation errors; mark configuration as EXPERIMENTAL
2015-08-24 11:29:54 -06:00
Gregory Nutt
07bdff9ef7
Networking: Add NetDB support for the local loopback device
2015-08-24 10:08:26 -06:00
Gregory Nutt
e21501c699
Merge remote-tracking branch 'origin/master' into localhost
2015-08-24 08:29:36 -06:00
Gregory Nutt
569ff602ea
Networking: Remove bogus references to PPP as a link layer protocol
2015-08-24 08:29:07 -06:00
Gregory Nutt
ea2fafb024
Add definitions to support a local loopback link layer
2015-08-24 08:25:08 -06:00
Gregory Nutt
6fc449f689
Moving canned_symtab from nuttx/libc to apps/system
2015-08-23 11:33:29 -06:00
Alan Carvalho de Assis
9b036311c0
Missing comma in spi.h header file
2015-08-23 11:06:32 -06:00
Gregory Nutt
f12692b78f
Extend canned symbol table logic to work in protected build mode
2015-08-23 10:44:04 -06:00
Pavel Pisa
81a257eeb0
Optional canned symtab inclusion to the build. When option CONFIG_LIBC_SYMTAB is selected and symbol table file libc/symtab/canned_symtab.inc is prepared then application can use system provided complete symbol table. The option has substantial effect on system image size. Mainly code/text. If loading of applications at runtime is not planned do not select this. From Pavel Pisa.
2015-08-23 08:38:58 -06:00
Max Neklyudov
622c5c9aa6
Another TUN driver fix from Max Neklyudov
2015-08-21 07:40:13 -06:00
Gregory Nutt
02306044b2
boardctl.h: Extended boardctl() commands with BOARDIOC_CAN_INITIALIZE
2015-08-18 13:23:34 -06:00
Gregory Nutt
28853e5932
CAN: Define IOCTL commands to get and set the bit timing values
2015-08-18 11:21:01 -06:00
Gregory Nutt
505d5f8103
CAN: Add error bit values
2015-08-18 08:48:39 -06:00
Gregory Nutt
a987379e64
Add an error bit to the CAN message report
2015-08-18 07:27:00 -06:00
Gregory Nutt
95634a3b34
CAN IOCTLs: Should support standard CAN filtering in extended ID mode
2015-08-17 10:53:49 -06:00
Max Neklyudov
425146255a
Network drivers: Fix bug in tun interface driver. From Max Neklyudov
2015-08-17 09:04:58 -06:00
Gregory Nutt
51f386d08a
Fix more common typos
2015-08-16 11:07:23 -06:00
Gregory Nutt
1c41236fa1
Merged in paulpatience/nuttx (pull request #18 )
...
Added support for other MS58XX altimeters.
2015-08-14 18:09:14 -06:00
Paul A. Patience
3303ef8c85
Added support for other MS58XX altimeters.
2015-08-14 20:04:16 -04:00
Gregory Nutt
8f7453b5ec
Addings to stdlib.h must be added to cstdlib too
2015-08-14 12:04:57 -06:00
Gregory Nutt
768d892188
Add si_errno to siginfo_t
2015-08-14 10:10:32 -06:00
Gregory Nutt
6df94096ca
Add ldiv() and lldiv() too
2015-08-14 08:45:59 -06:00
Stavros Polymenis
301f215638
Add support for div() to the C library. From OrbitalFox
2015-08-14 08:35:01 -06:00
Paul A. Patience
c4b888b41d
Added MS5805 altimeter.
2015-08-11 22:50:11 -04:00
Gregory Nutt
8aeea88f43
Merged in paulpatience/nuttx (pull request #16 )
...
Added MB7040 sonar.
2015-08-11 12:26:57 -06:00
Paul A. Patience
a634ad5528
Added MB7040 sonar.
2015-08-11 13:26:56 -04:00
Gregory Nutt
7791b2a62e
Refresh submodules + Update comments in SPI slave header file
2015-08-11 08:34:16 -06:00
Gregory Nutt
e0238df359
SPI Slave: Summarize DMA issues in SPI slave header file
2015-08-11 08:34:15 -06:00
Paul A. Patience
65792c5dbc
Added forward declarations of structures to fix header inclusion
...
order bugs.
Removed an unused variable.
Added debug asserts to check for invalid I2C addresses.
2015-08-10 16:18:37 -04:00
Paul A. Patience
c0964a17b4
Fixed a forgotten FAR, a typo, and an incorrect bit-field definition.
2015-08-10 14:45:40 -04:00
Gregory Nutt
9f1d7cddd8
Merged in paulpatience/nuttx (pull request #14 )
...
Converted the AS5048B to use the quadrature encoder interface, changed copyright notice to my boss's preference, and updated ChangeLog to use my full name
2015-08-10 12:22:30 -06:00
Paul A. Patience
877d5f3b09
Changed copyright notices to my boss's preference.
2015-08-10 14:15:07 -04:00
Paul A. Patience
1d0e25af30
Convert the AS5048B to use the quadrature encoder interface.
2015-08-10 13:41:39 -04:00
Gregory Nutt
c74dc5f83f
Changes from review epoll() implementation for consistency with NuttX naming and coding style
2015-08-10 10:38:41 -06:00
Gregory Nutt
2c79094af9
Merged in rnouse/nuttx (pull request #13 )
...
Add simple `epoll' wrapper around `poll'
2015-08-10 10:13:56 -06:00
Gregory Nutt
d61e49b7cd
Fix typo, include comments in the SPI slave interface header file
2015-08-10 10:05:56 -06:00
Anton D. Kachalov
8d26ad86b1
Merge branch 'master' of https://bitbucket.org/patacongo/nuttx
2015-08-10 18:16:09 +03:00
Anton D. Kachalov
fd07043180
Add simple epoll' wrapper around
poll'
...
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-08-10 18:15:24 +03:00
Gregory Nutt
21d4f00e65
Add the prototype for up_spi_slave_initialize() to the SPI slave interface header file
2015-08-09 17:42:47 -06:00
Gregory Nutt
17fab9dbd5
Updated comments in header file
2015-08-09 17:22:27 -06:00
Gregory Nutt
1df8ff1de8
SPI Slave Interface: Clean up/simplify some naming
2015-08-09 16:22:19 -06:00
Gregory Nutt
f570a9b770
Add output queuing to SPI slave interface
2015-08-09 15:42:57 -06:00
Gregory Nutt
5848101c1f
Fix/improve some issues in the SPI slave interface header file
2015-08-09 12:06:46 -06:00
Gregory Nutt
7317f3bd88
Refresh modules; trival change to comments in header file
2015-08-09 09:49:49 -06:00
Gregory Nutt
0db86bc509
SPI Slave: Another big simplication to the interfqace design
2015-08-08 16:16:53 -06:00
Gregory Nutt
f604c813ff
SPI Slave: Add an unbind() method to the slave interface
2015-08-08 12:18:05 -06:00
Gregory Nutt
0ce50caa06
Forgot to add the main SPI slave interface header file in the last commit
2015-08-08 10:46:13 -06:00
Gregory Nutt
b6d6776d02
Add a preliminary definition for an SPI slave interface
2015-08-08 10:45:15 -06:00
Gregory Nutt
e9bbc57831
Merged in paulpatience/nuttx (pull request #12 )
...
Added AS5048B magnetic rotary encoder.
2015-08-07 15:33:48 -06:00
Paul A. Patience
b7e0fc34c5
Added AS5048B magnetic rotary encoder.
2015-08-07 17:22:01 -04:00
Gregory Nutt
f7b64b1bfc
can.h: Mostly cosmetic cleanup
2015-08-07 09:02:12 -06:00
Gregory Nutt
2591b2b198
CAN: Extend new filter IOCTLs to support message prioritization and additional filter modes
2015-08-07 08:24:12 -06:00
Gregory Nutt
41a09a6d64
Merged in paulpatience/nuttx (pull request #11 )
...
Added LM92 temperature sensor.
2015-08-06 16:26:26 -06:00
Paul A. Patience
282c4f5347
Added LM92 temperature sensor.
2015-08-06 17:35:34 -04:00
Gregory Nutt
0dd273935a
Standardize naming of all SLIP configuration options
2015-08-06 15:08:15 -06:00
Gregory Nutt
86769101a1
SLIP: Review code, update comments, add missing configuration items
2015-08-06 14:32:12 -06:00
Gregory Nutt
e1c902d468
Remove some incorrect comments
2015-08-06 14:06:43 -06:00
Gregory Nutt
f4d9c3e33d
CAN extended IDs are 29, not 28 bits
2015-08-06 11:51:13 -06:00
Gregory Nutt
007e258c2b
Update some function headers
2015-08-05 16:22:40 -06:00
Gregory Nutt
36d4559ee8
CAN: Define IOCTL commands that manage filters
2015-08-05 13:00:31 -06:00
Gregory Nutt
e3decca82c
Cosmetic update to some comments
2015-08-05 08:07:58 -06:00
Gregory Nutt
9cbac41e78
Clean-up/standardize a few header files
2015-08-03 11:01:41 -06:00
Gregory Nutt
991adde6ae
Add definition of SCHED_MAX_REPL
2015-08-03 10:46:36 -06:00
Gregory Nutt
679ae385aa
Merged in rnouse/nuttx (pull request #9 )
...
Custom IOCTL support and more shadow warnings fixup
2015-08-03 06:46:43 -06:00
Anton D. Kachalov
23252f671f
Add Moxa IOCTLs to select port mode
...
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-08-03 15:33:46 +03:00
Anton D. Kachalov
1bb74504a8
Add support for custom platform IOCTL on UART
...
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-08-03 15:32:51 +03:00
Gregory Nutt
08d83cfae3
Merged in rnouse/nuttx (pull request #8 )
...
UART 16550: putc logic fixup
2015-08-03 06:32:17 -06:00
Anton D. Kachalov
2fa6237b49
Revert THRNE-patch. The problem was in u16550_putc
...
Regarding to:
https://github.com/tanzilli/ariag25-linux-2.6.39/blob/ariag25/drivers/tty/serial/8250.c#L1584
https://github.com/tanzilli/ariag25-linux-2.6.39/blob/ariag25/drivers/tty/serial/8250.c#L1913
When UART_LSR_THRE bit is set, then we ready to transmit more.
Current u16550_putc loops while UART_LSR_THRE bit is set. This logic have to be inverted.
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2015-08-03 13:19:55 +03:00
Gregory Nutt
ffec6124f2
Add a start time to sem_tickwait() to account for any elapsed time before the timer is actually started
2015-08-01 14:57:31 -06:00
Gregory Nutt
2c66e0eb2a
sem_tickwait(): Add a new, non-standard function to perform timed semaphore waits. It is functionally equialent to the standard sem_timedwait(), but more efficient for use in higher performance device drivers. Requested by Max Neklyudov
2015-08-01 07:31:09 -06:00
Gregory Nutt
8935ff34d5
16550 UART Driver: Add a configuration option to indicate the the THR empty bit is inverted. This is the the case for the moxART SoC. Based comments from Anton D. Kachalov
2015-07-29 16:31:21 -06:00
Anton D. Kachalov
88861e562a
Add support for a Faraday FTMAC100 Ethernet MAC Driver. From Anton D. Kachalov
2015-07-29 15:57:58 -06:00
Gregory Nutt
a6ccb7f308
Sporadic scheduler: Third design. Now it looks closer to what I want
2015-07-28 14:26:31 -06:00
Gregory Nutt
95ca3a1d1e
Fixes several more sporadic scheduler bugs
2015-07-27 18:08:21 -06:00
Gregory Nutt
a7322f5a6d
Sporadic scheduler: Fix how suspension time is calculated
2015-07-27 15:54:19 -06:00
Gregory Nutt
e33c727520
Sporadic scheduler: Move pending time into each timer instance
2015-07-27 14:48:21 -06:00
Gregory Nutt
e66e2f5c0f
Use the last budgeted time from the last timer started
2015-07-27 13:13:30 -06:00
Gregory Nutt
8c754ccd4f
Sporadic scheduler: misc bug fixes
2015-07-27 11:55:52 -06:00
Gregory Nutt
cc1c7731da
Sporadic scheduler: Fix budget computations when replenishment intervals are nested
2015-07-27 09:35:52 -06:00
Gregory Nutt
484f148001
Sporadic scheduler: Add instrumentation hooks to support GPIO outputs
2015-07-27 08:37:25 -06:00
Gregory Nutt
99664b7811
Sporadic scheduler: Add logic to collection the partial timer expiration when a sporadic thread is suspended in tickless mode
2015-07-26 15:03:47 -06:00
Gregory Nutt
3e88b77540
Sporadic scheduler: Handle a case when the scheduler is resumed before it has even had a chance to run
2015-07-26 08:08:45 -06:00
Gregory Nutt
27e21710fd
This is basically a complete redesign of the sporadic scheduling logic due to limitations in the initial design
2015-07-25 12:50:53 -06:00
Gregory Nutt
a1031417e8
Comment out part of sporadic scheduler logic: Part of replenishment logic is bogus
2015-07-24 18:18:58 -06:00
Gregory Nutt
4490744def
Add logic to reset the replenish the sporadic scheduler when a task is resumed
2015-07-24 09:55:02 -06:00
Gregory Nutt
ea7dbc984b
Add basic sporadic schedule state machine
2015-07-24 09:03:21 -06:00
Gregory Nutt
f6c102d4c0
A few cosmetic fixes from the last commit
2015-07-23 13:26:41 -06:00
Gregory Nutt
9095e8eab4
include/, sched/, and libc/: Add support for sporadic scheduling parameters in struct sched_param, posix_spawnattr_t, and pthread_attr_t. Update all user interfaces to pass sporadic scheduling parameters. Feature is dependent on EXPERIMENTAL and no changes have yet been made to core scheduling logic.
2015-07-23 13:16:32 -06:00
Gregory Nutt
2b3aae0ddc
Add basic configuration options for SCHED_SPORADIC
2015-07-23 10:33:30 -06:00
Gregory Nutt
146bdc3c93
TCB: Increase the size of the scheduling policy field from 1 to 2 bits to allow additional, planned scheduling policies
2015-07-23 10:15:07 -06:00
Gregory Nutt
2a7416238a
Syscall fixes: Add support for Cortex-M7; mount syscall has to be suppressed if there are no mountable file systems
2015-07-21 11:20:46 -06:00
Alan Carvalho de Assis
a01b2e5bbc
drvers/sensor and include/nuttx/sensors: Add support to Bosch BMP180 barometer. From Alan Carvalho de Assis.
2015-07-20 07:18:27 -06:00
Gregory Nutt
5a7b2757aa
Add definitions for SMSC LAN8742A PHY
2015-07-19 13:09:48 -06:00
Gregory Nutt
f41df38b0b
More CAN driver fixes: remove and unused semaphore. Looks to me that waiter counts are not being initialized
2015-07-15 19:27:36 -06:00
Gregory Nutt
621fef2c31
Some trivial clean up associated with the last commit
2015-07-15 18:43:53 -06:00
Gregory Nutt
320c584888
CAN driver: Fix a problem where the rx_sem count can grow without bounds
2015-07-15 18:20:08 -06:00
Alan Carvalho de Assis
a3e24a0b6c
Modify the SSD1306 LCD driver to support either the SPI or I2C interface. From Alan Carvalho de Assis,
2015-07-15 11:21:54 -06:00
Gregory Nutt
83f26091f4
Implement anti-aliasing in the NuttX graphics line drawing
2015-07-14 10:17:42 -06:00
Gregory Nutt
4bcd13eabd
Add RGB blending logic needed to support anti-aliasing
2015-07-14 07:57:54 -06:00
Gregory Nutt
fcaac468b1
NETDB: Make sure that we have a valid DNS server address before attempting DNS queuries; Provide an optional default DNS server address in the configuration
2015-07-13 08:19:31 -06:00
Gregory Nutt
9a6cf5724e
DNS: Finish off low-level DNS IPv6 request processing. Untested on initial commit
2015-07-12 16:23:08 -06:00
Gregory Nutt
835878b003
This completes all interface level support for IPv6 DNS. Still some missing logic at the lowest protocol levels
2015-07-12 13:45:52 -06:00
Gregory Nutt
3407ef5f33
netdb: Modifications to DNS client logic and to dns_get/setserver() interfaces to support DNS clients at IPv6 addresses (still no support for resolution to IPv6 addresses).
2015-07-12 11:56:53 -06:00
Gregory Nutt
5ace3311d9
Repartitioning of DNS client logic in preparation for IPv6 support
...
- Rename include/nuttx/net/dnsclient.h to dns.h
- Move internal DNS prototypes from dns.h to libc/netdb/lib_dns.h
- Global standard DNS definitions from libc/netdb/dns_soccket.c to dns.h
- Eliminate dns_gethostip(). This is now an internal part of gethostbyname()
- Eliminate interface dns_whois(). Not needed in this new context.
2015-07-12 09:19:40 -06:00
Gregory Nutt
e243b082ee
DNS: Remove some unused, non-functional DNS functions; remove the annoying _sock at the end of some DNS functions names, it is no longer needed to distinguish the functions
2015-07-11 07:17:00 -06:00
Gregory Nutt
e69d14d89b
Fix some warnings/errors detected by nuttx/tools/testbuilds.sh
2015-07-10 18:41:26 -06:00
Gregory Nutt
fb70a0a95b
Fix a confitional compilation error introduced with the last commit
2015-07-10 15:52:55 -06:00
Gregory Nutt
ed004be6d0
Clean up some syscall logic that has changed due to revised netdb configuration
2015-07-10 15:41:20 -06:00
Gregory Nutt
7dec298ef3
gethostbyname() will not attempt a DNS lookup if so enabled
2015-07-10 13:30:09 -06:00
Gregory Nutt
4102470bdd
Move the DNS server from apps/netutils/dnsclient to nuttx/libc/netdb. Move netdb functions from libc/net to libc/netdb. Fix up naming to reflect the repartitioning
2015-07-10 12:11:40 -06:00
Sebastien Lorquet
9c9b6162d8
PCA9555: Extend interface to include methods for reading more than one bit at a time. From Sébastien Lorquet.
2015-07-10 10:33:07 -06:00
Gregory Nutt
59cc4a7a7b
Protected mode: Redesign how the user space heap is accessed from the kernel code. It used to call memory management functions in user space via function pointers in the userspace interface. That is inefficient because the first thing that those memory management functions do is to trap back into the kernel to get the current PID. Worse, that operation can be fatal is certain fragile situations such as when a task is exitting.
...
The solution is to remove all of the memory management function calls from the interface. Instead, the interface exports the userspace heap structure and then kernel size implementations of those memory management functions will operate on the userspace heap structure. This avoids the unnecessary system calls and, more importantly, failures do to freeing memory when a test exits.
2015-07-10 08:37:02 -06:00
Sebastien Lorquet
b947002d6a
This commit adds:
...
-headers in nuttx/ioexpander to define the "generic" ioexpander framework
-files in drivers/ioexpander for the implementation of the NXP PCA9555 framework
-bindings in drivers/Kconfig and drivers/Makefile
From Sebastien Lorquet
2015-07-09 08:27:07 -06:00
Gregory Nutt
299782e8ec
Add support for gethostbyaddr()
2015-07-08 14:33:23 -06:00
Gregory Nutt
1b1e34e1d5
libc: Add gethostbyname(). Untested on initial commit
2015-07-08 13:40:52 -06:00
Gregory Nutt
f94fe747ae
Undo part of a previous change. Move get/sethostname back from net/netdb to libc/unistd
2015-07-08 11:11:52 -06:00
Gregory Nutt
6380832ab7
Move the header of set/sethostname from libc/unisted to net/netdb. This is OS internal stuff
2015-07-05 10:43:37 -06:00
Gregory Nutt
c19fd13291
gethostname() should not be the system call, uname() should and gethostname should get the host name from uname
2015-07-05 10:41:58 -06:00
Gregory Nutt
f31a96cfbf
Add system calls for gethostname and sethostname
2015-07-05 08:42:32 -06:00
Gregory Nutt
e1c306f2dd
Add support for sethostname
2015-07-05 08:42:32 -06:00
Gregory Nutt
6576672e09
uname: version string must hold 40 character value; strings returned by uname must always be NUL terminated
2015-07-05 06:46:00 -06:00
Gregory Nutt
049224f544
Add support for a BOARDIOC_RESET boardctl() command. Enable configuration options to support BOARDIOC_RESET for ARMv6-M and ARMv7-M
2015-07-04 10:39:24 -06:00
Gregory Nutt
b9b8b34bca
sim configuration: Add support for board_app_initialize() which is needed when CONFIG_LIB_BOARDCTL=y
2015-07-04 08:16:45 -06:00
Stavros Polymenis
701509f9bd
Add implementations of uname() and gethost(). From Stavros Polymenis.
2015-07-03 07:50:27 -06:00
Gregory Nutt
d6eacb3ab5
Power off support now depends on CONFIG_ARCH_HAVE_POWEROFF
2015-07-03 06:53:51 -06:00
Gregory Nutt
27ea02a85f
Modify board_power_off() so that is is called only via boardctl()
2015-07-02 17:09:54 -06:00
Gregory Nutt
064b4923c6
Move prototype of board_power_off() to include/nuttx/board.h where it belongs
2015-07-02 16:25:31 -06:00
Gregory Nutt
09c7373f24
Fix misc. compilation error/warning detected by tools/testbuild.sh
2015-07-01 14:33:37 -06:00
Gregory Nutt
b59329a714
include/nuttx/net/netconfig.h: Fix some backward compilation that was emitting #error in the wrong condition when SLIP was enabled
2015-07-01 11:55:40 -06:00
Gregory Nutt
8ed9c24675
Fix a union file system bug
2015-06-24 09:07:13 -06:00
Max Neklyudov
01a35ff27f
sam4cm: add CFB and MAC AES modes. From Max Neklyudov
2015-06-22 06:42:37 -06:00
Max Neklyudov
a6d8d2c0d1
Add relay IOCTL definitions. From Max Neklyudov.
2015-06-22 06:33:44 -06:00
Juha Niskanen
d16053c33c
sched/pthread: Use -1 instead of 0 as PID for unclaimed mutexes
2015-06-16 08:27:38 -06:00
Gregory Nutt
b578c98fa9
Clean up and review of header files for conformance to standards
2015-06-12 19:26:01 -06:00
Gregory Nutt
c5b15d0b31
Clean up and review of header files for conformance to standards
2015-06-12 19:17:42 -06:00
Gregory Nutt
bf9e1943a4
Clean up and review of header files for conformance to standards
2015-06-12 18:07:47 -06:00
Gregory Nutt
718d4d23ad
Add asctime(), asctime_r(), ctime(), and ctime_r().
2015-06-12 11:52:49 -06:00
Gregory Nutt
b1f5c2a0b2
Fix a few errors/warnings in THTTPD when indexing is enabled. Still depends on non-existent lstat and ctime
2015-06-12 09:57:12 -06:00
Gregory Nutt
597493221e
Union FS. Add logic to omit duplicates in file system 2 when doing directory listing
2015-06-06 09:49:13 -06:00
Gregory Nutt
1d370178fb
Add support for a union file system that can be used to overlay and merge the content of two mounted file systems.
2015-06-05 13:18:06 -06:00
Gregory Nutt
bf4db207ad
Lincoln60: Add a network enabled NXH configuration (still does not yet build)
2015-06-03 18:48:08 -06:00
Gregory Nutt
391367e8ca
LPC17 Ethernet: Add support for the Micrel KSZ8041 PHY.
2015-06-03 17:34:36 -06:00
Gregory Nutt
d8db596b3b
POSIX message queues: Move mq_setattr() and mq_getattr() from nuttx/libc/mqueue to nuttx/sched/mqueue. Also add sysyscall support for mq_setattr() and mq_getattr(). This is necessary in protected and kernel builds because in those cases the message queue structure is protect and cannot be accessed directly from user mode code. Noted by Jouko Holopainen.
2015-06-03 09:24:17 -06:00
Gregory Nutt
c704a5289c
Comment out references to fstat(). It is not yet supported.
2015-06-02 11:43:44 -06:00
Gregory Nutt
6068820bf3
Add support uClibc++ excpetions. This involves additional handling for relative relation types, additional support for unwinding, as well as additional changes. The culmination of a big effort fromo Leo Aloe3132
2015-06-01 14:16:18 -06:00
Gregory Nutt
33085cb309
Networking: The network device list was protected by a re-entrant semaphore. With the recent change to support network device callback, the network stack needs to access the network device list too. Some drivers, however, run the network stack from the interrupt level -- this is bad but a fact in the current state. Of course,those drivers are unable to take the semaphore and will assert.
...
The solution here is to eliminate the device devices semaphore altogether. This eliminates netdev_semtake() and netdev_semgive() and replaces them with net_lock() and net_unlock() which have larger scope as needed for this purpose.
2015-05-31 08:34:03 -06:00
Gregory Nutt
ab50e9d04d
Networking: Get rid of g_ipv4_allzeroaddr and g_ipv4_alloneaddr. It is more efficient and more intuitive to use INADDR_ANY and INADDR_BROADCAST
2015-05-29 15:16:11 -06:00
Gregory Nutt
e81f279315
Networking: Modify event list handling: Now there are two event lists each device structure: (1) One is for ARP and ICMP data related evetns, the other is for device related events. Callback allocation/free routines no accept a device paramter as well as a list: If the device paramter is added, then the callback goes into both the connection-related liast AND the device event list. Thus each socket type can received both custom data-related events as well as common device related events.
2015-05-28 12:01:38 -06:00
Gregory Nutt
b94321cfb4
Extend device specific callbacks to ICMPv6 and ARP. Fix some IPv6 compilation errors that have crept in
2015-05-27 11:39:44 -06:00
Gregory Nutt
8ecb84ed89
Improve icmp handling if MULTINIC enabled. From Max Neklyudov
2015-05-27 09:26:00 -06:00
Gregory Nutt
b1fa91a681
MTD: Increase size of the geometry structure to support FLASH parts with 246KiB erase blocks
2015-05-26 06:46:09 -06:00
Gregory Nutt
4adda9d428
Fix numerous typos in configuration variable names. Tracked down by Alan Carvalho de Assis
2015-05-23 17:08:35 -06:00
Gregory Nutt
eb7e66c945
Update Documentation
2015-05-18 13:41:35 -06:00
Gregory Nutt
3adcae8ffb
Update the type passed to watchdog timer handlers. Using uint32_t is a problem for 64-bit machines.
2015-05-18 08:53:42 -06:00
Gregory Nutt
87b065253d
LPC17 USB host: Fix some OHCI done head handling when a tranfer is cancelled
2015-05-15 08:29:45 -06:00
Gregory Nutt
3c1af2feed
Local sockets: Add poll support for Unix stream sockets. From Jussi Kivilinna.
2015-05-12 07:41:12 -06:00
Gregory Nutt
ca29c652c3
Remove duplicate prototype of statfs from stdio.h. Belongs in sys/statfs.h only. Note by Michael Hope
2015-05-12 07:00:11 -06:00
Gregory Nutt
cf1ab6baec
The USB host cancellation now applies to all transfers and so it no longer conditional
2015-05-11 12:04:03 -06:00
Gregory Nutt
8ed11a374d
EHCI HCDs will now support cancellation of syncrhonous transfers
2015-05-11 11:43:31 -06:00
Gregory Nutt
7a3fafb67f
OHCI HCDs will not support cancellation of syncrhonous transfers
2015-05-11 10:36:17 -06:00
Gregory Nutt
691d7c9819
Rename usbhost_storageinit() to usbhost_msc_initialize(). Add calls to usbhost_cdcacm_initialize() is CONFIG_USBHOST_CDCACM is selected.
2015-05-06 14:11:29 -06:00
Gregory Nutt
47a112974d
USB host: Modify the transfer() and asynch() methods so that the actual size of the transfer is returned. Unverified on initial commit.
2015-05-05 13:14:22 -06:00
Gregory Nutt
c15cc6e8f0
Add CDC/ACM notification structure.
2015-05-04 13:43:19 -06:00
Gregory Nutt
1f15b552ed
Costmetic update to some comments
2015-05-02 14:34:49 -06:00
Gregory Nutt
c2a3f936aa
USB host: Need to include the port structure when disconnecting, otherwise may destroy a root hub port
2015-05-02 10:44:18 -06:00
Gregory Nutt
5c76c53909
EHCI HUB: Fix some issues related to speed and device addresses
2015-04-28 09:43:06 -06:00
Gregory Nutt
397f31f061
Another hub-related interface change: Need to pass speed to EP0
2015-04-26 09:53:43 -06:00
Gregory Nutt
80ded9de86
Merge remote-tracking branch 'origin/master' into usbhub
2015-04-26 09:06:43 -06:00
Gregory Nutt
0dc464e556
fb.h: Costmetic changes
2015-04-26 08:02:01 -06:00
Gregory Nutt
64fe226669
USB Hub: Cosmetic update to some naming
2015-04-24 18:32:09 -06:00
Gregory Nutt
7d7ab442e1
If asynchronous tranfers are supported, then there must also be a mechanism to cancel the pending transfer
2015-04-24 11:23:52 -06:00
Gregory Nutt
c9da86b4f0
Merge remote-tracking branch 'origin/master' into usbhub
2015-04-24 07:55:02 -06:00
Gregory Nutt
a8a3790139
RA8875 LCD driver contributed by Marten Svanfeldt
2015-04-24 07:46:03 -06:00
Gregory Nutt
2586bc3fcc
USB hub fixes. Mostly dealing with setting the hub function address at the right time and powering up downstream ports
2015-04-23 16:42:53 -06:00
Gregory Nutt
d11af85ddf
Merge remote-tracking branch 'origin/master' into usbhub
2015-04-23 14:06:18 -06:00
Gregory Nutt
0092f79696
Two r's and only two r's in the word interrupt
2015-04-23 14:04:43 -06:00
Gregory Nutt
9752e12b11
USB HUB: Fix bugs, stray ampersand. Need to perfrom class destruction on the worker thread
2015-04-23 13:56:38 -06:00
Gregory Nutt
be2ed7eba7
Merge in from Master
2015-04-23 06:34:49 -06:00
Gregory Nutt
9c61847203
USB Hub: Initial implementation asynchronous pipe I/O in the LPC17 HCD needed for hub support
2015-04-22 15:03:25 -06:00
Gregory Nutt
f7ec9b0831
USB hub: Change to connection interface so that applications can deal with external hubs
2015-04-22 12:28:19 -06:00
Gregory Nutt
df4e24ddeb
include/assert.h: Wrap definitions of assertion macros in do while. Suggested by orbitalfox
2015-04-22 07:35:35 -06:00
Gregory Nutt
8e9fd9b838
USB HCDs: Add hooks for the async method
2015-04-21 15:43:12 -06:00
Gregory Nutt
5c16454cdf
Add USB hub initialization logic to a couple of board configurations
2015-04-21 13:44:14 -06:00
Gregory Nutt
fde0bf650e
USB host: Integrate logic to assign device function address
2015-04-21 12:17:49 -06:00
Gregory Nutt
d6b963a62e
USB host: Update skeleton driver file
2015-04-21 09:54:11 -06:00
Gregory Nutt
6b27c48068
Merge in from master
2015-04-21 09:32:19 -06:00
Gregory Nutt
4608544f65
time.h: Add localtime prototypes; NSH: Correct test for gmtime_r return value
2015-04-21 09:26:18 -06:00
Gregory Nutt
db3b235fe6
SAMA5 OHCI and EHCI: Now conform to new interfaces to support hubs
2015-04-21 08:59:30 -06:00
Gregory Nutt
d62aa8c158
USB host: Remove getdevinfo() method. Rename hub structure to hubport structure. Get port and function address from hub port structure vs. parameters and other structures.
2015-04-21 07:26:28 -06:00
Gregory Nutt
2ea7a83bf5
USB hub: Move port index out of hub structure and into class structure
2015-04-20 16:50:32 -06:00
Gregory Nutt
4aeb5e549c
Get USB host HID mouse driver to build. Error connect method prototypes.
2015-04-20 16:21:13 -06:00
Gregory Nutt
f7f3a7f74d
USB hub: Decouple class and hub structures
2015-04-20 12:06:47 -06:00
Gregory Nutt
814ce6fd02
Merge from master
2015-04-20 09:56:00 -06:00
Gregory Nutt
356292b60e
Some trivial USB-related changes
2015-04-20 09:51:58 -06:00
Gregory Nutt
fa778aec07
USB hub: Add EP0 to all control transfers. There can be multiple EP0's with a hub
2015-04-20 09:35:43 -06:00
Gregory Nutt
9e0b239c37
Clean compile errors from last commit
2015-04-20 08:53:21 -06:00
Gregory Nutt
8e23ad72b5
USB hub: Add asych HCD interface
2015-04-20 08:41:33 -06:00
Gregory Nutt
a6d9f0622c
USB hub: First steps to make interfaces backward compatible
2015-04-20 07:45:11 -06:00
Gregory Nutt
8c1c365ae7
Reorder structure members for better packing
2015-04-19 15:58:09 -06:00
Gregory Nutt
8a23c52650
USB Hub: Change an the usbhost_ctrlxfer interface; move some functions around
2015-04-19 14:26:17 -06:00
Gregory Nutt
820bc08c34
USB Hub: Fix a few compilation errors
2015-04-19 12:01:47 -06:00
Gregory Nutt
a0713bfd1a
Merge branch 'master' of ssh://git.code.sf.net/p/nuttx/git into usbhub
2015-04-19 11:45:22 -06:00
Gregory Nutt
80934d147c
Oops forgot to add the hub.h file in a preceding commit
2015-04-19 11:44:58 -06:00
Gregory Nutt
1971ea3d4e
Clean up some debug output
2015-04-19 11:24:06 -06:00
Gregory Nutt
de182f2a3a
Merge remote-tracking branch 'origin/master' into usbhub
...
Conflicts:
nuttx/include/nuttx/usb/usbhost.h
2015-04-19 10:55:20 -06:00
Gregory Nutt
cc134049a9
Fix a few typos
2015-04-19 09:15:07 -06:00
Gregory Nutt
f9fc49aecc
Fix some typos, clean up some naming
2015-04-19 09:14:00 -06:00
Gregory Nutt
7fcfca40b5
Bring in more logic from https://github.com/kaushalparikh/nuttx
2015-04-19 08:55:48 -06:00
Gregory Nutt
98de2f5712
USB Hub: Add USB hub header file from Kaushal Parikh
2015-04-18 11:39:26 -06:00
Gregory Nutt
34d1d2907d
MAX_RAND should be RAND_MAX
2015-04-16 09:35:29 -06:00
Gregory Nutt
f087e35676
A little localtime clean-up
2015-04-14 10:46:05 -06:00
Gregory Nutt
7a745c3fa4
Use common macro(s) for calculating link layer header length. From Brennan Ashton.
2015-04-13 13:53:13 -06:00
Gregory Nutt
fc45d5a2b7
SIG_HOLD is not yet implemented
2015-04-09 11:25:15 -06:00
Gregory Nutt
81703e6fad
Add sigset()
2015-04-09 10:16:35 -06:00
Gregory Nutt
4c60fe666c
Add sighold(), sigrelse(), sigignore(), and sigpause().
2015-04-09 08:07:09 -06:00
Gregory Nutt
855e40ee7d
Make some file section headers more consistent with standard
2015-04-08 07:25:06 -06:00
Gregory Nutt
190c9adef0
Implements CONFIG_TIME_EXTENDED as we discussed relative to providing the last 3 members of the tm struct and support for filling them in and even using the wday in the STM32 RTC. From David Sidrane.
2015-04-08 06:56:43 -06:00
Gregory Nutt
2a82dc66f9
drawline/drawLine should not take a boolean to select non lines caps or capping at both ends. drawline/drawLine also needs to be able to put a line cap on one one end of a line
2015-04-05 16:53:51 -06:00
Gregory Nutt
ae03d56700
Add a 'capped' boolean parameter to all drawline/drawLine functions/methods. The idea is that this will produce better joining between lines
2015-04-05 08:50:01 -06:00
Gregory Nutt
02beb0d449
More renaming: up_lcdinitialize->board_lcd_initialize, up_lcdgetdev->board_lcd_getdev, up_lcduninitialize->board_lcd_uninitialize
2015-04-04 11:49:15 -06:00
Gregory Nutt
b72cf3366c
SAMV7: Add SMC register definition header file; SAMV71-Xult: Add an LCD driver. The initial commit is simply the SAVM4E-EK ILI9375 driver will bogus name changes to ILI9488.
2015-04-03 10:28:32 -06:00
Gregory Nutt
da57730440
Remove carriage returns from file
2015-04-03 07:20:28 -06:00
Gregory Nutt
e9e386ac6e
Add ILI9488 header file
2015-04-03 07:12:11 -06:00
Gregory Nutt
e78e762dd6
Add a very basic driver for the CS2100-CP Fractional-N Multipler chip.
2015-04-02 13:00:10 -06:00
Gregory Nutt
06866bb2c5
Fix some missing inclusions in include/nuttx/board.h
2015-04-01 18:35:46 -06:00
Gregory Nutt
6667517c24
Header file for the CS2100-CP
2015-04-01 16:56:27 -06:00
Gregory Nutt
0ec67181c9
Move include/nuttx/timer.h, rtc.h and watchdog.h to include/nuttx/timers/.
2015-04-01 12:37:44 -06:00
Gregory Nutt
97acb5d9ee
Update Documentation
2015-04-01 09:05:43 -06:00
Gregory Nutt
f6e6dacb17
Rename pwm_devinit() to board_pwm_setup(). Add CONFIG_BOARDCTL_PWMTEST that will enable calling board_pwm_setup() from boardctl(). Replace calls to pwm_devinit() in apps/examples/pwm with calls to boardctl(). In all configurations that enable the apps/examples/pwm test, make sure that boardctl() suppoprt is properly enabled.
2015-03-31 16:59:22 -06:00
Gregory Nutt
ded2001121
Rename up_nxdrvinit() to board_graphics_setup(). Add CONFIG_BOARDCTL_GRAPHICS that will enabled calls to board_graphics_setup() from boardctrl(). In apps/ and NxWidgts/, replace all calls to up_nxdrvinit with calls to boardctl().
2015-03-31 16:20:21 -06:00
Gregory Nutt
4212b9b385
Rename adc_devinit() to board_adc_setup(). Add support to the boardctl() interface so that it can call board_adc_setup() on behalf of an application. Change apps/examples/adc to that is now calls boardctl() instead of adc_devinit() in order to initalize the ADC device.
2015-03-31 15:00:23 -06:00
Gregory Nutt
cf95d1a995
rch_tcinitialize() and arch_tcunitinitialize() renamed to board_tsc_setup() and board_tsc_teardown(). These are not long called directly by applications but only indirectly throught the crappy boardctl() OS interface.
2015-03-31 13:21:25 -06:00
Gregory Nutt
d5eec39096
Fix some problems with a preceding commit
2015-03-31 11:59:16 -06:00
Gregory Nutt
b4b40d338a
boardctl(): Add a new non-standard OS interface. This is similar to a driver IOCTL call. But this is an IOCTL call directly on the board logic. This function will eventually replace all of the ad hoc OS interfaces that are current used to perform application specific intialiation and application driver test confifuration. It essentially formalizes and institutionalizes these rogue interface in to at least a single crazy call.
2015-03-31 11:25:52 -06:00
Gregory Nutt
9c0441e2da
Rename arch_nshinitialize() to board_app_initialize()
2015-03-31 10:21:31 -06:00
Gregory Nutt
312ae5713e
PIC32MZ Ethernet: Add support for LAN8740A PHY
2015-03-29 07:05:30 -06:00
Gregory Nutt
469827640b
Add support for LAN8740
2015-03-23 15:34:10 -06:00
Gregory Nutt
4945e23772
Trivial update to comments
2015-03-20 18:07:32 -06:00
Gregory Nutt
56e24b561f
Add Olimexino-STM32 board support from David Sidrane
2015-03-20 18:00:10 -06:00
Gregory Nutt
6156d5f2fe
SAMV71-XULT: Add support for a ConfigData device on the 256 AT24 EEPROM
2015-03-19 14:53:05 -06:00
Gregory Nutt
495f420978
Extend the AT24 EEPROM driver so that it supports: (1) the byte-oriented read() method, (2) parts with extended memory regions, and (3) parts with 8-bit addressing.
2015-03-17 14:27:27 -06:00
Gregory Nutt
8055ba4d03
Pass the umount2() flags to every unbind() implementation. That is where the the decision to umount or not will be made.
2015-03-14 17:22:02 -06:00
Gregory Nutt
f932b26db1
Add umount2(). umount() is now a macro that just calls umount2() with flags = 0.
2015-03-14 16:48:45 -06:00
Gregory Nutt
21d6e41032
Add TUN device. From Max Neklyudov
2015-03-11 06:52:56 -06:00
Gregory Nutt
76007d28f5
Add support for dumping board-specific information on assertion. From David Sidrane
2015-03-04 07:00:29 -06:00
Gregory Nutt
cb5cb96bc9
Fix issues when AES support was added for the STM32L1. From Juha Niskanen
2015-03-04 06:38:03 -06:00
Gregory Nutt
ca35d73586
I2C interface: Add a parmeter to I2C slave callback
2015-03-03 14:48:52 -06:00
Gregory Nutt
81e8524588
SPI: Add a board-specific SPI device value
2015-03-02 10:17:12 -06:00
Gregory Nutt
696e99b69a
Update comment and documentation for board interfaces
2015-02-28 06:46:19 -06:00
Gregory Nutt
e7a500003f
Remove some prototypes from arch.h that do not belong there
2015-02-27 20:06:11 -06:00
Gregory Nutt
12d61531aa
Move board_ prototypes from arch.h to board.h
2015-02-27 20:02:03 -06:00
Gregory Nutt
07a8148538
included/nuttx/board.h: Move all board common prototypes to this header file
2015-02-27 17:17:42 -06:00
Gregory Nutt
bcae42b653
Costmetic updates comments and style; Add NFS dependency on IPv4
2015-02-26 06:04:23 -06:00
Gregory Nutt
5afa3ec59d
Add BSD and SYSV types to sys/types to simplify porting. From Max Neklyudov
2015-02-25 14:01:14 -06:00
Gregory Nutt
04d122c31f
Adjust microMIPS compile options to enable interlinking with 32-bit code
2015-02-25 09:54:48 -06:00
Gregory Nutt
82fcd4ea0e
Add some definitions expected by NFS. Noted by Orbital Fox
2015-02-25 08:59:16 -06:00
Gregory Nutt
dbb281319a
netinet/in.h: Add some IPv6 macros
2015-02-25 08:26:40 -06:00
Gregory Nutt
10852dcc25
Extend the fd_set type definition so that it can handle more than 32 descriptors (if so configured). From Max Neklyudov
2015-02-25 08:05:42 -06:00
Gregory Nutt
35a6ef7c40
Fix PTHREAD_COND_INITIALIZER
2015-02-24 20:26:42 -06:00
Gregory Nutt
abbaa2f565
Some typos noted by David Sidrane
2015-02-23 11:49:02 -06:00
Gregory Nutt
63f88fc55f
Add some comments
2015-02-19 11:47:34 -06:00
Gregory Nutt
b478c11b85
Back out definition of mbstate_t. That is a mistake
2015-02-19 09:56:53 -06:00
Gregory Nutt
8bd9203d49
Add mbstate_t to wchar.h and cwchar
2015-02-19 09:21:35 -06:00
Gregory Nutt
5b1514cc9b
Add an empty cwchar file
2015-02-19 06:32:10 -06:00
Gregory Nutt
2732da28a3
C++: Remove 'using ::timeval' from ctime. struct timeval was recently move to sys/time.h where it belongs. Now there are problems when it is referenced in ctime. Fixed by just removing it from ctime. Is that correct? or should ctime include sys/time.h? Noted by David Sidrane
2015-02-18 20:51:11 -06:00
Gregory Nutt
63ab39b274
VFS: The inode unlink method should not be support if operations on the root pseudo-filesystem are disabled.
2015-02-18 09:34:58 -06:00
Gregory Nutt
e2336a07bb
The RTC ioctl() method is now a configuration option
2015-02-18 08:23:10 -06:00
Gregory Nutt
f94e601981
Add an IOCTL method to the RTC interface
2015-02-18 08:05:31 -06:00
Gregory Nutt
60bdc27d25
Fix a couple of typos in recent commit. Found by David Sidrane
2015-02-17 19:21:07 -06:00
Gregory Nutt
2f55a071d3
Ooops... accidentally backed out a good change. Must have had the wrong version in the editor
2015-02-17 12:47:48 -06:00
Gregory Nutt
ee517f428d
Fix a typo: include vs incldue
2015-02-17 12:44:51 -06:00
Gregory Nutt
17c381c799
include, not incldue
2015-02-17 09:56:43 -06:00
Gregory Nutt
4e0885f5bc
Add a mostly-commented-out version of the standard netdb.h header file
2015-02-17 08:27:12 -06:00
Gregory Nutt
2176ed38ec
Add support for the restrict keyword
2015-02-17 08:24:20 -06:00
Gregory Nutt
db741dd695
Move some useful internal logic from recvfrom.c and udp_callback.c and put them in ip.h where they can be used more generally
2015-02-17 07:37:44 -06:00