Matt Thompson
424a3aa827
SAMDL: Added DMAC header for SAMD, fixed up sam_dmac to compile with debugging enabled
2018-01-25 11:44:37 -08:00
Matt Thompson
92448a1053
added missing EVCTRL register bits in TC
2018-01-24 19:33:06 -08:00
Matt Thompson
357455ff0f
fix typo
2018-01-24 19:23:11 -08:00
Matt Thompson
1ae8daf5d5
SAMDL: Added SAMD DAC header file. Fixed SAMD EVSYS header. Added SAMD TC header file. Fixed some minor typos
2018-01-24 19:06:00 -08:00
Alexander Oryshchenko
9e965247e4
arch/arm/src/stm32/stm32f40xxx_i2c.c: Correct some recent changes to STM32F4 I2C that broke poll mode of operation.
2018-01-24 19:00:51 -08:00
Alexander Oryshchenko
ec6145e8f7
arch/arm/src/stm32/stm32_spi.c: Removed unnecessary (and incorrect) speed limitation
2018-01-24 19:00:51 -08:00
Alexander Oryshchenko
871419c3cd
arch/arm/src/stm32: Make STM32 usable with an external RTC. drivers/timers/ds3231.c: Correct some debug statments.
2018-01-24 19:00:51 -08:00
Gregory Nutt
fccd44387a
The existence of the network driver ioctl() method should depend on CONFIG_NETDEV_IOCTL rather than CONFIG_NETDEV_PHY_IOCTL. The former enables the method, the later enables a subset of possible driver IOCTLs. This change should be basically a no-operation. The affected ioctl methods only support those subset of driver IOCTLs selected by CONFIG_NETDEV_PHY_IOCTL and the network logic will tolerate a nul ioctl method.
2018-01-24 19:00:51 -08:00
David Alessio
65afc69dc8
Merged in david_alessio/nuttx/refactor-pll-setup (pull request #581 )
...
Refactor pll setup
* fix typo in #def
* refactor PLL setup code...
* refactored PLL/CLK config, easier, checks for correctness
* call go_os_start if STACK_COLORIZED
* smarter config of EXTCLK output freq
* cosmetic
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-24 19:00:51 -08:00
Mateusz Szafoni
6fd85ff076
Merged in raiden00/nuttx (pull request #579 )
...
Master
* stm32_hritm: add interface to get timer clock frequency
stm32_hrtim: fix timer freq calculation
stm32_hrtim: add compar/capture registers significant bits checking
stm32_hrtim: minor changes
* stm32f334-disco: add buck converter and boost converter logic
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-24 19:00:51 -08:00
Masayuki Ishikawa
c93bbdcbc8
arch/arm/src/lc823450: Change irqwarn() to ASSERT() in up_ack_irq()
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-24 19:00:50 -08:00
Masayuki Ishikawa
c70df0960d
arch/arm/src/lc823450: Assign I2S IRQ handling to CPU0
...
Previous commit assumed that the caller is running on CPU0.
However, the caller sometimes runs at CPU1. This patch will
assign the caller to CPU0 explicitly.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-24 19:00:50 -08:00
Matt Thompson
d7cc0c7368
SAMDL: SPI must be disabled before changing the mode bits in CTRLA register
2018-01-17 17:23:05 -08:00
Gregory Nutt
3ff30608ef
arch/arm/src/samdl: Mostly cosmetic improvements to previous commit.
2018-01-17 11:39:43 -06:00
Gregory Nutt
2d95fa6d2a
arch/arm/src/samdl: Correct a link time error if CONFIG_SAMDL_EIC is not enabled.
2018-01-17 11:16:21 -06:00
Evgeniy Bobkov
7d36a81806
Fixes two bugs in multi-block SD-card operations on the STM32F7 platform. arch/arm/src/stm32f7: DBLOCKSIZE must be the size of SD-card block, not the total amount of transferred bytes. drivers/mmcsd: respect SDIO_CAPS_DMABEFOREWRITE on CMD25.
2018-01-16 12:41:02 -06:00
Mateusz Szafoni
fd5d811b0a
Merged in raiden00/nuttx (pull request #569 )
...
Master
* stm32f33xxx_hrtim.h: fix some definitions
* stm32_hrtim: fix some bugs
stm32_hrtim: fix deadtime configuration
stm32_hrtim: add interface to change outputs SET/RST configuration
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-14 19:00:18 +00:00
Gregory Nutt
8f94ce46f9
arch/arm/src/lpc54xx: The basic SPI driver is code complete but still untested. This driver is 'basic' in that in only supports polled mode operations.
2018-01-14 12:09:26 -06:00
Gregory Nutt
134bac3810
arch/arm/src/lpc54xx: Add configuration logic to the empty SPI driver. Still missing all data tranfer logic.
2018-01-13 15:38:55 -06:00
Matt Thompson
48355b32dc
Merged in extent3d/nuttx (pull request #568 )
...
SAMD External Interrupt Controller (EIC) support
* SAMD External Interrupt Controller (EIC) support
* removed comment
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-01-12 13:11:58 +00:00
Matt Thompson
f5cac7c45a
SAMDL fix g_spi2ops and g_spi2dev using incorrect values
2018-01-11 13:00:08 -08:00
Matt Thompson
537c9a27d1
arch/arm/src/samdl: In sam_spibus_initialize(), the pinmux configuration was smashing the previous CTRLA register configuration. There are also some typos in samd_spi.h
2018-01-11 07:34:56 -06:00
Masayuki Ishikawa
7460773d7b
arch/arm/src/lc823450: Introduce DVFS
...
This version only supports manual mode and Vdd1 is fixed to 1.2V.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2018-01-10 16:13:00 +09:00
Gregory Nutt
7d4451ee86
Squashed commit of the following:
...
configs/flipnclick-pic32mz: Switch the serial console to UART4. Clean up some minor issues the LED options.
configs/flipnclick-pic32mz: Add support for two on-board buttons: T1 and T2.
configs/flipnclick-pic32mz: Adds basic board support for the Mikroe Flip&Click PIC32MZ board. Initial commit is just the configs/pic32mz-starterkit with some name chanages.
2018-01-08 14:21:49 -06:00
Gregory Nutt
6fe1f5a96c
Squashed commit of the following:
...
arch/mips/src/pic32mz: Commits the basic architecture port for the PIC32MZEF.
arch/mips/src/pic32mz: Begin adding PIC32MZEF files. Initial commit are simply PIC32MZEC files with name changes.
arch/mips/include/pic32mz: Add support for the PIC32MZEF family.
2018-01-08 10:01:23 -06:00
raiden00pl
01dc86da3d
stm32/chip.h: minor fixes for STM32F334
2018-01-03 19:07:51 +01:00
Gregory Nutt
e7db11fc55
arch/arm/src/lpc54xx: LPC54xx Ethernet driver no long depends on EXPERIMENTAL.
2018-01-02 11:17:25 -06:00
Gregory Nutt
d04f166d84
arch/arm/src/lpc54xx: Add some hooks for future 802.1q VLAN support. configs/lpcxpresso-lpc54628: Automatically bring up network in the netnsh configuration.
2018-01-02 08:49:09 -06:00
Gregory Nutt
c3d3e91a3f
arch/arm/src/lpc54xx: Correct handling of the Ethernet RBU error. With this fix, Ethernet now appears to be fully functional although still undertested.
2018-01-01 15:08:19 -06:00
Gregory Nutt
24b594cbc4
arch/arm/src/lpc54xx: Back out address filtering change in commit 3c65be8c1af89c980adf71353f3e9708e6f3f1fb
2018-01-01 11:17:32 -06:00
Gregory Nutt
3c65be8c1a
arch/arm/src/lpc54xx: Fix a few more Ethernet issues related to buffer management and address filtering.
2018-01-01 08:54:31 -06:00
Gregory Nutt
fd10eaf1fb
arch/arm/src/lpc54xx: Fix several more issues in bring-up of Ethernet driver. Still not fully functional.
2017-12-31 17:16:21 -06:00
Gregory Nutt
f624c504d1
arch/arm/src/lpc54xx: Fixes a few more Ethernet bring up bugs. Rx seems to work; Tx does not.
2017-12-31 14:49:13 -06:00
Gregory Nutt
b2adb4917f
arch/arm/src/lpc54xx: Add register level debug output for Ethernet testing. Fixed a few start up problems. Still hangs on start-up, however.
2017-12-31 11:11:57 -06:00
Gregory Nutt
63c055e1ee
arch/arm/src/lpc54xx: Ethernet. Remove last of #warning issues. No compiles with no warnings/errors.
2017-12-30 19:46:37 -06:00
Gregory Nutt
2de08627e0
arch/arm/src/lpc54xx: Finishes open design issues with AVBTP multi-channel operation.
2017-12-30 19:05:39 -06:00
Gregory Nutt
13b5d4de96
arch/arm/src/lpc54xx: Resolves some design issues with multicast address filtering and also with AVBTP multi-channel operation (the latter design is still incomplete).
2017-12-30 17:19:37 -06:00
Gregory Nutt
f23fb9dd14
arch/arm/src/lpc54xx: Completes basic packet transfer logic for Ethernet drivers. Still some unfinished logic for IPv6 multicast logic and for various non-mainstream configurations. But it is ready for tested. configs/lpcxpresso-lpc54628: Add a netnsh configuration that will be used to test the Ethernet driver. Untested on initial commit.
2017-12-30 12:51:57 -06:00
Gregory Nutt
2fb441b145
arch/arm/src/lpc54xx: Adds Ethernet Tx done handling.
2017-12-29 17:28:38 -06:00
Gregory Nutt
6315f6468d
arch/arm/src/lpc54xx: Adds basic Ethernet interrupt handling. Still missing all of the descriptor and packetk buffer handling logic.
2017-12-29 14:29:52 -06:00
Gregory Nutt
5146725edc
arch/arm/src/lpc54xx: Addes packet buffer and DMA descriptor logic
2017-12-29 13:17:43 -06:00
Gregory Nutt
5394681dea
arch/arm/src/lpc54xx: Finishes basic MAC configruation. Began adding DMA descriptor definitions.
2017-12-29 10:27:20 -06:00
Gregory Nutt
ebdc3b9b58
arch/arm/src/lpc54xx: Continuing with Ethernet initializatino logic. Added MTL initialization and partial MAC initialization.
2017-12-28 11:44:02 -06:00
Gregory Nutt
66f632c3a3
arch/arm/src/lpc54xx: Add some Ethernet DMA initialization logic.
2017-12-27 13:54:59 -06:00
Gregory Nutt
cb9e1e7716
arch/arm/src/lpc54xx: Add some Ethernet PHY initialization logic.
2017-12-27 12:01:24 -06:00
Gregory Nutt
31330b2479
arch/arm/src/lpc54xx: Add a little -- very little -- Ethernet initialization logic.
2017-12-26 16:30:57 -06:00
Gregory Nutt
f5c5f89592
arch/arm/src/lpc54xx: Add (incomplete) Ethernet register definition file. Add framework for an Ethernet driver. Initial commit is just the drivers/skeleton.c with naming updated for the LPC54.
2017-12-26 12:55:58 -06:00
Gregory Nutt
edef041f93
arch/arm/src/lpc54xx: Add support for a random number generator.
2017-12-26 10:20:41 -06:00
Gregory Nutt
0b91074850
arch/arm/src/lpc54xx: Add an RTC driver and a RTC character driver lower half. configs/lpcxpresso-lpc54628: Add logic to register the RTC character driver if it is enabled. Enable the RTC and RTC character driver in the NSH configuration.
2017-12-25 13:56:06 -06:00
Gregory Nutt
7e7bdd181f
Cosmetic fixes to comments, README, and other trivial corrections.
2017-12-25 10:45:47 -06:00