Gregory Nutt
3a781a2d3f
Remove I2C slave methods from I2C master interface; rename i2c_dev_s to i2c_master_s.
2016-01-30 08:36:47 -06:00
Gregory Nutt
ceb415204e
Move include/nuttx/i2c.h to include/nuttx/i2c/i2c_master.h
2016-01-30 08:00:16 -06:00
Vladimir Komendantskiy
19feab1bd6
drivers/modem/u-blox.c and include/nuttx/drivers/u-blox.h: Add an upper half driver for the U-Blox Modem. From Vladimir Komendantskiy
2016-01-30 07:37:43 -06:00
Entinger Alexander
dc8c14aa53
Driver for the 24-Bit Differential Input ADC ADS1242 that communicates via SPI with a MCU. Reading the ADC conversion result as well as configuring the ADC, setting the input channel, etc. is implemented via ioctl calls. However, it does not yet implement the standard ADC interface.
2016-01-29 07:41:23 -06:00
Gregory Nutt
fd896330d8
Remove the final vestiges of up_spiinitialize()
2016-01-27 09:27:56 -06:00
Gregory Nutt
11dab241de
SPI slave: Prototype for MCU-specific slave initialization function removed from spi_slave.h
2016-01-26 13:04:12 -06:00
Gregory Nutt
b6b3c2be3e
Add I2C_TRANSFER based wrappers for I2C_TRANSFER as well
2016-01-26 10:57:51 -06:00
Gregory Nutt
d4a53ee131
I2C: Eliminate the I2C_WRITEREAD method
2016-01-26 10:26:16 -06:00
Gregory Nutt
67f38169b2
drivers/i2c: Move wrapper that implements I2C_WRITEREAD using I2C_transfer from pc9555.c to a new, comon i2c directory
2016-01-26 09:58:18 -06:00
Gregory Nutt
eac271413f
Add more 32-bit math operations; Update ChangeLog
2016-01-25 11:19:25 -06:00
Gregory Nutt
047ed9e543
Add some utilities to support 64-bit math operations on platforms that do not support long long types. Not yet used anywhere
2016-01-25 09:56:00 -06:00
Gregory Nutt
564a1ce606
Cosmetic clean-up of comments
2016-01-24 08:21:55 -06:00
Gregory Nutt
a4a496ad6f
spi.h needs to include errno.h now
2016-01-23 19:13:31 -06:00
Gregory Nutt
7edf921c5e
Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law
2016-01-23 18:54:36 -06:00
Gregory Nutt
accd99db25
Add an optional hwfeatures method to the SPI interface
2016-01-23 15:12:45 -06:00
Gregory Nutt
84d4cb007b
clock_systimer: 64-bit timer accesses are not atomic. Noted by Freddie Chopin.
2016-01-22 12:24:36 -06:00
Gregory Nutt
2dcebe1e3d
Purely cosmetic changes from review of last commit
2016-01-22 07:11:29 -06:00
Stefan Kolb
2b05f3e830
I/O Expander: Fix some bad macros, make naming consisted
2016-01-22 07:08:59 -06:00
Gregory Nutt
032ad1b70b
Remove clock_systimer32 and clock_systimer64. There is now only clock_systimer
2016-01-21 16:49:24 -06:00
Gregory Nutt
7db9a952bc
Fix an error in conditional compilation introduced in the last set of changes
2016-01-21 13:42:34 -06:00
Gregory Nutt
f348e68069
Update to use 64-bit timer when available
2016-01-21 11:54:26 -06:00
Gregory Nutt
3a59eb4340
Fix romdisk_register prototype. Most ROMFS images actually lie in RAM. If moved to FLASH with const storage class, then changes are required to avoid warnings
2016-01-20 13:04:07 -06:00
Gregory Nutt
f849116a0b
Add implementatino of Tiny Encryption Algorithm
2016-01-19 16:37:45 -06:00
Gregory Nutt
e73ccd6638
Update some comments
2016-01-18 16:27:46 -06:00
Frank Benkert
da33ec6b2e
CAN: Add more extensive error reporting information
2016-01-18 12:22:27 -06:00
Gregory Nutt
9844036a74
Merged in paulpatience/nuttx/lsm9ds1 (pull request #48 )
...
Add LSM9DS1 accelerometer, gyroscope and magnetometer
2016-01-17 15:06:37 -06:00
Paul A. Patience
57b8a9526d
Add LSM9DS1 accelerometer, gyroscope and magnetometer
2016-01-17 16:01:14 -05:00
Gregory Nutt
63301fe213
Cosmetic changes from review of last pull request
2016-01-17 14:52:11 -06:00
Janne Rosberg
fb1bf10a3d
add pn532 support
...
Signed-off-by: Janne Rosberg <janne.rosberg@offcode.fi>
2016-01-17 22:17:49 +02:00
Alexander Entinger
75d6c4cee3
drivers/sensors/mcp9844: Driver for the MCP9844 I2C digital temperature sensor with a selectable resolution
2016-01-15 07:25:58 -06:00
Gregory Nutt
0889963b50
resolv.conf: Fix some basic compilation issues. Logic still not complete.
2016-01-14 08:32:20 -06:00
Gregory Nutt
8e9f884eb7
Step 1 in /etc/resolv.conf support
2016-01-13 15:06:44 -06:00
Gregory Nutt
fbb4dcc0af
Some networking logic was used helpers from apps/netutils. Not good. Quick fix is to duplicate logic
2016-01-09 15:57:44 -06:00
Gregory Nutt
1ac6ecac87
Changes to last pull request needed for conformance with coding standard
2016-01-09 07:27:22 -06:00
Dimitry Kloper
d219f3a36e
Introduce arch-specific debug macro hooks
...
Make it possible for arch code to provide hook macros for NuttX dbg
that will lead to arch-specific syslog() and lowsyslog() variants.
2016-01-09 14:28:12 +02:00
Gregory Nutt
b28bf55fb0
Cosmetic spacing change
2016-01-05 14:52:20 -06:00
Gregory Nutt
670ac9fb2f
Fix an ommission in compiler.h
2016-01-05 14:46:49 -06:00
Dimitry Kloper
06438b0dcc
Fix 64-bit clock-related constant value evaluation for AVR compiler
...
This may be specific for Atmel AVR8 toolchain compiler.
The problem is that despite of being 8-bit architecture
avr-gcc supports uint64_t, but the following code
uint64_t value = 10000 * 1000;
produces a wrong negative value in the final code (tested
both with and without optimization).
The work-around is simple:
uint64_t value = 10000 * 1000L;
The code is a reduced part from sched/signal/sig_timedwait.c where
waitticks64 is calculated using NSEC_PER_TICK. This one is defined
as USEC_PER_TICK * NSEC_PER_USEC which leads to the example above.
2016-01-05 12:02:02 -06:00
Dimitry Kloper
06d83c6261
Introduce support for Atmel toolchain in-flash strings
...
Atmel toolchain AVR compiler provides a transparent in-flash object support using __flash and __memx symbols. The former indicates to compiler that this is a flash-based object. The later used with pointer indicates that the referenced object may reside either in flash or in RAM. The compiler automatically makes 32-bit pointer with flag indicating whether referenced object is in flash or RAM and generates code to access either in run-time. Thus, any function that accepts __memx object can transparently work with RAM and flash objects.
For platforms with a Harvard architecture and a very small RAM like AVR this allows to move all constant strings used in trace messages to flash in the instruction address space, releasing resources for other things.
This change introduces IOBJ and IPTR type qualifiers. The 'I' indicates that the object may like in instruction space on a Harvard architecture machine.
For platforms that do not have __flash and __memx or similar symbols IOBJ and IPTR are empty, making the types equivalent to, for example, 'const char' and 'const char*'. For Atmel compiler these will become 'const __flash char' and 'const __memx char*'. All printf() functions and syslog() functions are changed so that the qualifier is used with the format parameter.
From: Dimitry Kloper <dikloper@cisco.com>
2016-01-05 10:29:29 -06:00
Dimitry Kloper
b48ca00cd5
The delay parameter has 'int' type while explicit int32_t is used in sigtimedwait() (sig_timedwait.c) This can lead to wrong argument for systems that have default int size different than int32 (namely AVR).
2016-01-05 07:58:04 -06:00
Gregory Nutt
b1938c065d
sys/time.h: Fix timersub macro; time_t is unsigned
2015-12-31 09:05:35 -06:00
Gregory Nutt
c1fff4706c
signals: Adds a very limited, minimal implementation for SIGEV_THREAD
2015-12-30 15:01:14 -06:00
Gregory Nutt
849df03d22
Update dates on files modified for SIGEV_THREAD support
2015-12-30 13:28:39 -06:00
Gregory Nutt
9835eeb181
signals: Basic framework to support SIGEV_THREAD
2015-12-30 13:20:31 -06:00
Gregory Nutt
e76e8f41c6
pthread: Correct default schedule policy
2015-12-30 12:18:24 -06:00
Manuel Stühn
4350b0ba0c
Move macros timeradd() and friends from time.h to sys/time.h.
2015-12-24 07:09:39 -06:00
Gregory Nutt
7110634a38
Trivial typo fix in a comment
2015-12-23 16:09:49 -06:00
Gregory Nutt
5d84cd5d11
Improve a few comments
2015-12-23 15:17:16 -06:00
Manuel Stühn
3002023798
time.h: Add timeradd(), timersub(), timerclear(), timerisset(), and timercmp() as macros. These are non-POSIX interfaces, but included in most BSD deriviatives, included Linux. From Manuel Stühn
2015-12-23 15:13:01 -06:00
Gregory Nutt
b90da3f27b
waitpid: CRITICAL BUGFIX. Add a reference counting mechansim to prevent wait from using stale memory that was freed by the exiting task
2015-12-22 11:48:17 -06:00
Gregory Nutt
8ab93fdf98
Change name of drivers/discrete back to drivers/ioexpander
2015-12-15 08:40:34 -06:00
Gregory Nutt
78f2ce05f8
drivers: Move discrete user LED drivrs from drivers/discrete to drivers/leds
2015-12-15 08:23:53 -06:00
Gregory Nutt
d62a626703
Adds a driver for the PCA9635PW I2C LED driver IC which can be used to control the intensity of up to 16 LEDs. From Alexander Entinger
2015-12-15 08:05:10 -06:00
Gregory Nutt
e8d0f85c8b
Modules: Add mod_setsymtab to set global symtol table once. Now we can remove symbol table parameters from the insmod call. This will make implementing an NSH insmod command much easier
2015-12-13 08:10:01 -06:00
Gregory Nutt
795ddd7e80
OS modules: Add basic procfs support. A module registry that will eventually be used to support lsmod
2015-12-12 17:42:25 -06:00
Gregory Nutt
a908a61c5a
Various module-related cosmetic changes
2015-12-12 12:55:50 -06:00
Gregory Nutt
303123deb9
Add syscall support for insmod and rmmod
2015-12-12 11:11:09 -06:00
Gregory Nutt
040835de00
Add an implementation of rmmod
2015-12-12 10:51:54 -06:00
Gregory Nutt
49554fe4fc
Move module support from binfmt/ to sched/ so that it can be configured and built independently from binfmt features
2015-12-12 07:09:17 -06:00
Gregory Nutt
44e45f0f91
insmod is code complete and ready for test
2015-12-11 10:55:21 -06:00
Gregory Nutt
05cb7a9043
Call initializer entry point on start-up; do not create a task
2015-12-11 07:27:45 -06:00
Gregory Nutt
251e8395c7
Mostly cosmetic renaming to straighten out namespace
2015-12-10 16:56:10 -06:00
Gregory Nutt
8bcf35ff39
binfmt/libmodule: Add support for kernel modules. Initial commit is just the ELF module support with name changes
2015-12-10 09:53:31 -06:00
Gregory Nutt
8fdb173090
drivers/net/telnet.c: Now works like the loop device. A new interface called telnet_initialize() registers a telnet session "factory" device at /dev/telnet. Via ioctl, the factory device can create instances of the telnet character devices at /dev/telnetN to support Telnet sessions.
2015-12-07 13:48:06 -06:00
Gregory Nutt
057b6aef2c
drivers/net: Move the Telnet driver from apps/netutils/netnetd to drivers/net
2015-12-07 09:26:57 -06:00
Gregory Nutt
7be7579f59
Back out 522f95abe87d71c7025f2f358a8f350134e284b2: What was I thinking?
2015-12-02 10:47:32 -06:00
Gregory Nutt
acd3b47def
Fix problem in last change to the procfs: Forgot to save the reallocated table pointer!
...
Also added warnings: There are some concurrency issues in the current implementation if you try to modify the procfs data structures will the procfs is mounted and possibly busy.
2015-12-02 05:20:02 -06:00
Gregory Nutt
7483ed38ce
Fix some procfs registration typos
2015-12-01 16:31:40 -06:00
Gregory Nutt
ad64c033e7
s/procfs: The procfs file system can now be configured so that it supports a runtime registration of procfs entries with CONFIG_FS_PROCFS_REGISTER=y
2015-12-01 14:56:20 -06:00
Ken Pettit
5821af1bbe
drivers/mtd: Add support for /dev/smart loop device. From Ken Petit
2015-11-28 09:00:26 -06:00
Gregory Nutt
eb8668b0f7
net/: Add procfs support for network device status
2015-11-27 16:39:14 -06:00
Gregory Nutt
5d1557b28d
Fix an error in a network device statistics macro
2015-11-26 14:44:07 -06:00
Gregory Nutt
f41ad9caa1
netdev.h: Fix a typo in a type name
2015-11-26 13:41:57 -06:00
Gregory Nutt
8075a67803
include/nuttx/net/netdef.h: Add a missing macro
2015-11-26 12:51:45 -06:00
Gregory Nutt
2a93c66948
include/nuttx/net/netdev.h and several Ethernet drivers in arch/: Most network drivers to not support statistics. Those that do only support them when DEBUG is enabled. Each driver collects an architecture specific set of statistics and there is no mechanism in place to view those statistics. Thus, the driver feature was mostly useless. This change standardizes the driver statistics and puts the definition in the common network device structure defined in netdev.h where they can be accessed by network applications. All Ethernet drivers that collect statistics have been adapted to use these common statistics.
2015-11-26 12:08:09 -06:00
Gregory Nutt
603f3afd6d
Some minor clean-up from last changes
2015-11-25 17:52:47 -06:00
Gregory Nutt
ed35eb0f8d
drivers/loop: Add a loop character device that can be used to setup and teardown loop devices
2015-11-25 17:13:56 -06:00
Ken Pettit
d4a58af380
drivers/mtd/mtd/mtd_procfs/c and include/nuttx/mtd/mtd.h: Add an interface to un-regiser an MTD procfs entry.
...
drivers/mtd/filemtd.c: New new MTD conversion layer that will convert a regular file (or driver file) to an MTD device. This is useful for testing on the simulation using the hostfs.
From Ken Petit
2015-11-25 14:46:28 -06:00
Gregory Nutt
e5f27f5865
Fix some conditional compilation. CONFIG_LIBC_LOCALTIME should be checked in most of the same places wehre CONFIG_TIME_EXTENDED is checked
2015-11-25 12:51:45 -06:00
Ken Pettit
c0b9dcf8a9
fs/hostfs: Add a special file system for use with simulator that supports access to the host file system from the simulation. From Ken Petit
2015-11-25 08:26:26 -06:00
Gregory Nutt
cd7c6705a8
mm.h: Use UINT32_MAX vs. SIZE_MAX in definition of MMSIZE_MAX
2015-11-25 08:11:32 -06:00
Gregory Nutt
6230e6e199
size_t should be 64-bits on a 64-bit machine. mmsize_t should be 32-bits (unless CONFIG_MM_SMALL is selected). This commit backs out the last change to stddef.h
2015-11-23 12:03:36 -06:00
Gregory Nutt
25ab59bf80
stddef.h: Use a round-about cast in the definition of offsetof() to avoid warnings on machines with 64 bit addresses and when size_t is less than 64-bits.
2015-11-23 07:11:05 -06:00
Ken Pettit
375419eaf2
mksmartfs: Remove fs/smartfs/fs_mksmartfs.c and related headers. This has been moved to apps/fsutils/mksmartfs. From Ken Petit
2015-11-23 07:05:09 -06:00
Gregory Nutt
54549ef082
Revert "Add option to specify logical sector size during low level format plus adds some run-time geometry tests. fs/smartfs: Remove the 'mksmartfs()' code from the kernel 'fs'"
...
This reverts commit 96faf0fa3251ca10a17daddc728d931be5a206e0.
2015-11-22 10:15:06 -06:00
Gregory Nutt
64e8f12e2b
Add option to specify logical sector size during low level format plus adds some run-time geometry tests. fs/smartfs: Remove the 'mksmartfs()' code from the kernel 'fs'
...
directory and build.
2015-11-22 10:07:35 -06:00
Gregory Nutt
006528b144
Add support for freopen()
2015-11-22 08:39:17 -06:00
Gregory Nutt
38c9d42e21
drivers/timers/pcf85263.c: Add a driver for the NXP PCF85263 I2C RTC
2015-11-20 17:36:10 -06:00
Gregory Nutt
db2fe45666
Update some comments
2015-11-20 09:55:18 -06:00
Gregory Nutt
4b29bcee7f
Rename up_rtcinitialize to up_rtc_initialize so that it looks like other RTC interfaces
2015-11-20 08:27:52 -06:00
Gregory Nutt
b60c2519d7
arch.h: Update some comments and conditional compilation
2015-11-20 07:13:16 -06:00
Gregory Nutt
c34b5108a7
RTC: Fix system time initialization when using an exernal RTC. Fix some bugs in the DS1307/DS3231 RTC driver
2015-11-19 14:54:30 -06:00
Gregory Nutt
678eb7b78b
Merged in paulpatience/nuttx/stdio (pull request #37 )
...
stdio: Define BUFSIZ
2015-11-18 14:46:03 -06:00
Paul A. Patience
c0a1d8e960
stdio: Define BUFSIZ
2015-11-18 15:09:43 -05:00
Gregory Nutt
f699072507
Merged in paulpatience/nuttx/stdlib (pull request #36 )
...
stdlib: Fix forgotten FARs
2015-11-18 14:01:17 -06:00
Paul A. Patience
bfc95c641f
stdlib: Fix forgotten FARs
2015-11-18 14:22:43 -05:00
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