Commit Graph

12450 Commits

Author SHA1 Message Date
Gregory Nutt
eb8668b0f7 net/: Add procfs support for network device status 2015-11-27 16:39:14 -06:00
Gregory Nutt
9d8462aa23 net/: Move net_procfs.c to net/procfs/. Partition logic a little better to make space to support net device procfs as well 2015-11-27 13:53:33 -06:00
Gregory Nutt
e4236941c6 net/net_procfs.c: Add basic support for networking procfs entries 2015-11-27 12:33:58 -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
edbb5ec328 arch-specific build needs to include __KERNEL__ flags 2015-11-26 13:17:32 -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
470784d8ca Update submodules 2015-11-25 18:36:29 -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
Gregory Nutt
b84da6e696 drivers/loop: Move drivers/loop.c to drivers/loop/losetup.c 2015-11-25 16:23:19 -06:00
Gregory Nutt
e665b3dba8 Update TODO list 2015-11-25 15:41:43 -06:00
Gregory Nutt
6ff67d3061 Minor changes from code review 2015-11-25 14:57:25 -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
9d1404e06d Fix an error introduced in last commit 2015-11-25 14:38:10 -06:00
Marco Krahl
b1b97e89c8 drivers/lcd/ili9432.c: Fixed errors in orientation. Portrait, RPortrait, and RLandscript should work correly now. They were displayed mirrored. From Marco Krahl 2015-11-25 13:01:37 -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
Gregory Nutt
fb0a148812 Update ChangeLog/TODO 2015-11-25 12:02:25 -06:00
Gregory Nutt
064ef4f1fb At day-of-week support to strftime() 2015-11-25 11:51:46 -06:00
Gregory Nutt
070d95d161 Trivial change 2015-11-25 09:11:03 -06:00
Gregory Nutt
080a9019f1 Merge branch 'master' of bitbucket.org:patacongo/nuttx 2015-11-25 09:08:13 -06:00
Gregory Nutt
8f5047323f Update ChangeLog and submodules 2015-11-25 08:38:58 -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
56d29bbc34 Update submodules 2015-11-23 12:45:56 -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
5f7dac8076 Update sub-modules 2015-11-23 11:19:02 -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
289b3e281f drivers/mtd/smart.c: Fix a compile error when CONFIG_MTD_SMART_MINIMIZE_RAM=y 2015-11-22 17:18:43 -06:00
Gregory Nutt
891589b307 drivers/mtd/smart.c: Add some run-time geometry tests 2015-11-22 17:10:42 -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
7c8bc43979 Merged in bendells/nuttx (pull request #38)
Fixed a mismatching between the drawlinewindow's prototype and it's implementation
2015-11-21 18:46:29 -06:00
Slimane Bendelloul
ca182201e4 Fixed a mismatching between the drawlinewindow's prototype and it's implementation 2015-11-21 15:06:05 -05:00
Gregory Nutt
23a62dec50 Update TODO 2015-11-21 11:58:26 -06:00
Gregory Nutt
84a5f846c9 open() has been extended. You can now open block drivers and access them just as you can character drivers. For example, you can hexdump a block device. 2015-11-21 11:24:55 -06:00
Gregory Nutt
dcb85af387 Add logic to automatically wrap a block device as a BCH device with no visible character device 2015-11-21 10:14:01 -06:00
Gregory Nutt
968de101f0 Eliminate a warning 2015-11-21 10:12:21 -06:00
Gregory Nutt
f03e435e43 drivers/bch: Add support for delayed unlinking of BCH driver 2015-11-21 09:15:12 -06:00
Gregory Nutt
8914400750 PCF85163: Correct I2C address 2015-11-21 07:14:36 -06:00
Gregory Nutt
294950ea3d PCF85263: Need to clear the 100ths of second register when setting the time 2015-11-20 17:39:41 -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
3cff8a725b Add a missing comment 2015-11-20 16:13:28 -06:00
Gregory Nutt
11c0f5be6f Clear some trailing whitespace 2015-11-20 16:10:01 -06:00
Gregory Nutt
26cbdd8939 Completes PCF85263 RTC register definition header file. 2015-11-20 16:09:23 -06:00
Gregory Nutt
eb4c2f9c41 PCF85263 RTC register definition header file. Incomplete on initial commit 2015-11-20 14:51:43 -06:00
Gregory Nutt
db2fe45666 Update some comments 2015-11-20 09:55:18 -06:00