kfazz
0c13208d87
Teensy clock fixes.
...
The High Gain bit in MCG_C1 was preventing teensy from booting
except after a programming session. The second change doesn't appear
to change any functionality, but complies with restrictions in the k20
family reference manual on FEI -> FBE clock transiions.
2016-06-09 00:41:01 -04:00
Gregory Nutt
982982d62b
Eliminate some warnings
2016-06-08 09:43:54 -06:00
Gregory Nutt
f75837a110
Changes from review of the last PR
2016-06-06 13:35:27 -06:00
kfazz
0a4c58e573
First attempt at a usb device controller driver for kinetis. derived from pic32mx usb driver, which uses the same usb controller.
2016-06-06 13:58:07 -04:00
Gregory Nutt
f65616f872
Replace confusing references to uIP with just 'the network'
2016-05-30 09:16:32 -06:00
Gregory Nutt
2a87741e72
Rename CONFIG_ARCH_HAVE_UARTn to CONFIG_UARTn_SERIALDRIVER
2016-05-25 10:45:01 -06:00
Gregory Nutt
4e04b3e931
Correct configuration of GPIO pin interrupts on Kinetis K60. Fromo mrechte.
2016-04-20 06:41:51 -06:00
Gregory Nutt
99d981c3fc
Kinetis SDHC: May work queue dependencies clearer
2016-04-12 09:07:25 -06:00
Gregory Nutt
8df80e6615
Kconfigs: All RNG selections also must select ARCH_HAVE_RNG
2016-03-30 07:56:03 -06:00
Gregory Nutt
51be83aa3a
ARM: Fix missing header file. Update comments in all *_irq.c files.
2016-03-09 15:08:58 -06:00
Gregory Nutt
4d4f54a789
Rename current_regs to g_current_regs; For ARM, g_current_regs needs to be an array to support multiple CPUs
2016-03-09 13:41:48 -06:00
Gregory Nutt
9c63736c98
Standard some naming if code sectino comments
2016-02-21 18:06:09 -06:00
Gregory Nutt
666cc280f4
Rename irqenable() to up_irq_enable(); rename irqdisable() to up_irq_disable()
2016-02-14 16:54:09 -06:00
Gregory Nutt
83bc1c97c3
Rename irqsave() and irqrestore() to up_irq_save() and up_irq_restore()
2016-02-14 16:11:25 -06:00
Gregory Nutt
70e502adb0
Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
2016-02-13 19:11:09 -06:00
Gregory Nutt
a6eb9a351c
Add spinlock support for ARMv7-M architectures
2016-02-09 13:44:22 -06:00
Gregory Nutt
1166e311b0
Networking: Remove the HSEC argument from devif_timer.
2016-02-03 11:17:15 -06:00
Gregory Nutt
aa2ae3f26a
For Kinetis MCUs, rename up_spiinitialize to kinetis_spibus_initialize
2016-01-26 16:25:50 -06:00
Gregory Nutt
ece6517607
Kinetis ENET: Move ioctl function; add prototype and function header; split up some long lines
2016-01-21 19:14:04 -06:00
Andrew Webster
43303a5786
Kinetis: add MK60N512VLL100 support
2016-01-21 19:07:18 -06:00
Andrew Webster
9d0c378dbc
Kinetis enet: switch to built-in byte swapper. Depends on GCC __builtin functions
2016-01-21 19:05:51 -06:00
Andrew Webster
d3238e6f95
Kinetis enet: buffer management update
...
This patch manages the packet buffer used by the upper layers by making sure it is always set to a valid transmit buffer that can be used by the MAC-NET core. The only exception to this is when the upper layer re-uses a receive buffer to send a response. In this case, the updated receive buffer is swapped with an empty transmit buffer. If there is no empty transmit buffer available, the packet will be dropped.
Signed-off-by: Andrew Webster <awebster@arcx.com>
Kinetis enet: add support for DBSWP
Signed-off-by: Andrew Webster <awebster@arcx.com>
2016-01-21 19:00:21 -06:00
Andrew Webster
64a0f54767
Kinetis enet: add PHY ioctl support.
2016-01-21 18:54:04 -06:00
Andrew Webster
a118233a59
Kinetis enet: set the MII_MODE bit. The RM states that this bit should always be 1.
2016-01-21 18:50:53 -06:00
Andrew Webster
36408697ca
Kinetis enet: leave the write buffer wrap bit alone. The wrap buffer bit is initialized when the buffers are set up and should not be changed later
2016-01-21 18:49:23 -06:00
Andrew Webster
6ba74a281a
Kinetis enet: RDAR should be called after ETHER_EN
2016-01-21 18:46:54 -06:00
Andrew Webster
c1a8443416
inetis enet: disallow transmit when the queue is full
2016-01-21 18:45:46 -06:00
Andrew Webster
a3f8be04ac
Kinetis enet: initialize the MAC address
2016-01-21 18:44:10 -06:00
Andrew Webster
a16cae2b74
Kinetis enet: support multiple transmits between interrupts. Accounts for the unlikely event that more than one packet has been transmitted before the tx done is processed
2016-01-21 18:40:52 -06:00
Andrew Webster
409d499fc8
Kinetis enet: use rounded up MTU size for buffers. The buffers must be evenly divisible by 16, so round up the MTU size and use that for the buffer sizes
2016-01-21 18:39:12 -06:00
Andrew Webster
d09eec1066
Kinetis enet: fix minor logic errors
2016-01-21 18:36:27 -06:00
Andrew Webster
8dc63d6016
Kinetis enet: fix typos
2016-01-21 18:35:19 -06:00
Gregory Nutt
b323e1d5ff
Trivial, cosmetic
2015-12-30 12:36:22 -06:00
Gregory Nutt
71c289ce4f
Rename all architecture files of form xyz_internal.h to just xyz.h
2015-12-29 18:07:11 -06:00
Gregory Nutt
dfec6a0dd0
Rename CONFIG_ARMV7M_MPU to CONFIG_ARM_MPU so that we can reuse the configuration settings for the ARMV7R MPU
2015-12-14 13:56:21 -06:00
Gregory Nutt
daea1e614b
All architectures need to build ELF support if either CONFIG_ELF or CONFIG_MODULE are selected. Cortex-M7 also must support module cache corherence
2015-12-12 09:35:05 -06:00
Gregory Nutt
e5e631e57f
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:07:18 -06:00
Paul A. Patience
52454cf79b
Fix typo
2015-11-11 13:06:15 -05:00
Gregory Nutt
1c79e77811
ARMv7-M: Minor naming change to improve readability
2015-11-06 11:24:52 -06:00
Gregory Nutt
79df561669
Rename board_led_off to board_autoled_off
2015-11-01 09:09:36 -06:00
Gregory Nutt
b28e32e3d3
Rename board_led_on to board_autoled_on
2015-11-01 09:07:06 -06:00
Gregory Nutt
beb060d422
Yet more spacing issues
2015-10-07 20:24:19 -06:00
Gregory Nutt
b6638315a4
Correct some spacing issues
2015-10-07 11:39:06 -06:00
Gregory Nutt
d0d62668e7
Make some spacing comply better with coding standard
2015-10-06 18:32:16 -06:00
Gregory Nutt
3fdd914203
Costmetic fixes to C coding style
2015-10-05 17:13:53 -06:00
Gregory Nutt
7a63e976ad
Remove TABs
2015-10-04 16:00:42 -06:00
Gregory Nutt
6fc6d17760
Fix some spacing problems
2015-10-04 14:59:08 -06:00
Gregory Nutt
9caf33e13b
Standardize the width of all comment boxes in C header files
2015-10-03 07:28:30 -06:00
Gregory Nutt
7ced84c5f0
Standardize the width of all comment boxes in C files
2015-10-03 07:25:03 -06:00
Gregory Nutt
36726b1bc4
Standardize the width of all comment boxes in header files
2015-10-02 17:42:29 -06:00