Gregory Nutt
1d290c2b37
setvbuf: Add support for disabling I/O buffering. Initially cut; untested.
2017-02-09 09:24:44 -06:00
Gregory Nutt
e6558df4ad
SIM: Add readlink and setvbuf to nuttx-names.dat
2017-02-09 08:31:00 -06:00
Gregory Nutt
0df1c556dc
drivers/lcd: ssd1306_configspi() must have global scope.
2017-02-09 07:45:25 -06:00
Gregory Nutt
c225e12a2b
Merged in gnagflow/nuttx (pull request #205 )
...
USBMSC: Always set LUN readonly flag.
Approved-by: Gregory Nutt
2017-02-09 01:25:58 +00:00
Wolfgang Reißnegger
cfe7c4012e
USBMSC: Always set LUN readonly flag.
2017-02-08 17:17:19 -08:00
Gregory Nutt
f126cd9d46
Remove comment about being based on a Newlib implementation. That is not true. This is an original work.
2017-02-08 14:17:25 -06:00
Gregory Nutt
a92887c63d
setvbuf: Correct some errors detected by code review.
2017-02-08 14:06:29 -06:00
Alan Carvalho de Assis
ea53894e51
Bamboo-200E: Add netnsh configuration
2017-02-08 12:55:40 -06:00
Alan Carvalho de Assis
afa1066b4d
LPC43: Fix missing #endif
2017-02-08 11:52:15 -06:00
Gregory Nutt
1393061400
Update some comments
2017-02-08 11:47:12 -06:00
Gregory Nutt
9f859774a1
setvbuf: Add support for configuration of line buffering.
2017-02-08 11:28:24 -06:00
Gregory Nutt
51a14c9b2f
C Library: Add a very limited, first step implementation of setvbuf(). This is a collaborative effort. Alan Carvalho de Assis did the initial prototype.
2017-02-08 10:33:18 -06:00
Gregory Nutt
4700499b59
C library: Remove comments blocks before empty sections
2017-02-08 07:55:37 -06:00
Gregory Nutt
e803e2c3f4
Costmetic changes from review of last PR.
2017-02-07 17:16:56 -06:00
Gregory Nutt
f887a4c535
Merge branch 'master' of bitbucket.org:nuttx/nuttx
2017-02-07 17:01:31 -06:00
Gregory Nutt
8dc17a223a
Merged in david_s5/nuttx/upstream_kinetis (pull request #203 )
...
MCG rework - first steps
2017-02-07 23:00:39 +00:00
David Sidrane
a4ea49aaa2
Better granualarity and erro checking of the board's MCG settings
...
Allow for complete MCG_C2 definition from the boart.h file
Moved #ifdef out of code by setting default values for
Allow for individule bit setting in MCG_C2 for
BOARD_EXTCLOCK_MCG_C2
BOARD_MCG_C2_FCFTRIM
BOARD_MCG_C2_LOCRE0
Added range and sanity checking
2017-02-07 12:38:28 -10:00
David Sidrane
a065b087fd
Added MCG settings that are defiend on the K64 Soc
...
Added BOARD_MCG_C2_FCFTRIM and BOARD_MCG_C2_LOCRE0 to
configure the MCG_C2 register
cleanup of some comments
2017-02-07 12:38:28 -10:00
David Sidrane
bbd9bf4180
Fixes illdefined BOARD_FR_DIV with BOARD_FRDIV from MCG
...
Original BOARD_FR_DIV was never used - that is a good thing because
the value ws definec shifted and the code also shifited it.
2017-02-07 12:38:28 -10:00
David Sidrane
ff056cf9bd
arch/arm/include/kinetis/kinetis_mcg.h
2017-02-07 12:38:28 -10:00
David Sidrane
87f759172a
Support the Indexed name LOCK->LOCK0
2017-02-07 12:38:28 -10:00
David Sidrane
6022c62229
MCG defines are based on the MCG feature configuration
...
We define the bits as a common set of names. This means that
an index may be added to a name i.e. LOCK is LOCK0 as that is
the superset name.
2017-02-07 12:38:28 -10:00
David Sidrane
2216ed52a9
Kinetis chip Adding K66 and inlcuding MCG versioning
...
This includes arch/arm/include/kinetis/kinetis_mcg.h
to bring in the MCG versioning and defines the KINETIS_K66
family for the added SoCs:
--------------- ------- --- ------- ------- ------ ------ ------ -----
PART NUMBER CPU PIN PACKAGE TOTAL PROGRAM EEPROM SRAM GPIO
FREQ CNT FLASH FLASH
--------------- ------- --- ------- ------- ------ ------ ------ -----
MK66FN2M0VMD18 180 MHz 144 MAPBGA 2 MB — — KB 260 KB 100
MK66FX1M0VMD18 180 MHz 144 MAPBGA 1.25 MB 1 MB 4 KB 256 KB 100
MK66FN2M0VLQ18 180 MHz 144 LQFP 2 MB — — KB 260 KB 100
MK66FX1M0VLQ18 180 MHz 144 LQFP 1.25 MB 1 MB 4 KB 256 KB 100
2017-02-07 12:38:28 -10:00
David Sidrane
ec567371b6
Created a kinetis MCG versioning scheme pulled in by Kinetis chip.h
...
The motvations is to version the IP blocks of the Kinetis
K series family of parts.
This added versioning and configuration features for the
Kinetis MCG IP block.
It is envisioned that in the long term as a chip is added.
The author of the new chip definitions will either find
the exact configuration in an existing chip define and
add the new chip to it Or add the MCG feature configuration
#defines to the chip ifdef list in
arch/arm/include/kinetis/kinetis_mcg.h In either case the
author should mark it as "Verified to Document Number:"
taken from the reference manual.
The version KINETIS_MCG_VERSION_UKN has been applied to
most all the SoCs in the kinetis arch prior to this commit.
The exceptions are the CONFIG_ARCH_CHIP_MK60FN1M0VLQ12,
All K64 and K66 which not have Verified MCG configurations.
2017-02-07 12:38:28 -10:00
David Sidrane
5bfd2fedc6
Add K66 memory map
2017-02-07 12:38:28 -10:00
David Sidrane
97ae289f99
Add Kinetis K66 to Kinetis Kconfig
2017-02-07 12:38:28 -10:00
David Sidrane
eb955c9f15
Removed ws at EOL
2017-02-07 12:38:28 -10:00
Gregory Nutt
2d2fe301cb
Update some comments; link counter can be uint8_t; Add a debug assertion.
2017-02-07 15:50:54 -06:00
Gregory Nutt
cabc6cd413
Merged in david_s5/nuttx-5/david_s5/there-is-a-return-path-with-node-not-set-1486503652666 (pull request #204 )
...
There is a return path with node not set
Approved-by: Gregory Nutt
2017-02-07 21:42:57 +00:00
David Sidrane
d9044058b5
There is a return path with node not set
...
inode/fs_inoderemove.c: In function 'inode_unlink':
inode/fs_inoderemove.c:74:17: warning: 'node' may be used uninitialized in this function [-Wmaybe-uninitialized]
FAR struct inode *node;
2017-02-07 21:41:02 +00:00
Gregory Nutt
b758176963
stat(): Add logic to avoid infinite recursive in circular paths containing soft links.
2017-02-07 12:32:45 -06:00
Gregory Nutt
62a1f6f110
up_timer_initialize() is named incorrectly. The prefix should be the architecture name, not up_ since it is private to the architecture. up_timerisr() is similarly misnamed and should also be private since it is used only with the xyz_timerisr.c files. Also updat TODO list.
2017-02-07 10:35:04 -06:00
Gregory Nutt
9395704192
Kinetis, not Kinetics.
2017-02-07 08:20:52 -06:00
Gregory Nutt
54ce3817a5
SDIO interface: Handle all possible DMA combinations in all SDIO drivers.
2017-02-07 07:15:29 -06:00
Gregory Nutt
764f503150
Remove duplicate setting for SDIO_DMA from drivers/mmcsd/Kconfig
2017-02-06 13:16:52 -06:00
Gregory Nutt
1b32cb67cb
Soft link: Change how a value is returned so that _inode_linktarget will function in all of its use contexts.
2017-02-06 10:06:46 -06:00
Gregory Nutt
94e4d58fd2
Soft links: Fix a error in follow a link to a link to a mountpoint.
2017-02-06 08:46:43 -06:00
Marc Rechté
b459fd1529
Updates to Kinetis SDHC driver
2017-02-06 07:43:05 -06:00
Gregory Nutt
aefe32d33f
soft links: Fix a memory leak by correcting a reference counting problem.
2017-02-05 15:14:16 -06:00
Gregory Nutt
8d961ee137
Merge branch 'softlink'
2017-02-05 14:57:55 -06:00
Gregory Nutt
47ddfa346d
Soft links: Eliminate in-stack allocation of path working buffer needed for traversal fo paths with soft links.
2017-02-05 14:57:38 -06:00
Gregory Nutt
45fd98da88
Add macros support that will eventually allow dynamic allocation of strings need to support soft links.
2017-02-05 14:25:45 -06:00
Gregory Nutt
a5b46b788b
Update Document
2017-02-05 10:34:38 -06:00
Gregory Nutt
b473516c93
tools/noteinfo.c: A hack tool that I use to analyze some sched_note output. Needs a home and may be useful to others.
2017-02-05 09:53:56 -06:00
Gregory Nutt
8f2c7198ed
inode_find: Now takes struct inode_desc_s type as input. This was necessary before that structure includes some data storage. It was used within inode_find(), but that means that the life of the data was the life of inode_find(). That data must persist longer. It is now provided by the caller so that the life of the data persists for the entire life of the caller.
2017-02-05 09:51:42 -06:00
Gregory Nutt
990bed903e
Soft link: First cut fix for some soft link issues. The fix still has some issues of its own.
2017-02-04 16:35:49 -06:00
Gregory Nutt
4c68324d82
FS: Remove inode_search_nofollow(). That logic is no handled with a new field in the input argument structure.
2017-02-04 12:51:14 -06:00
Gregory Nutt
0c9935f8ac
FS: Remove inode_find_nofollow. Instead provide a bool nofollow argument to inode_find.
2017-02-04 11:46:54 -06:00
Gregory Nutt
36704b7d9c
FS: Argument is now a structure describing the search.
2017-02-04 11:21:44 -06:00
Gregory Nutt
8437650fc2
Soft links: Another fix to tree traveral logic
2017-02-03 16:34:50 -06:00