Commit Graph

11801 Commits

Author SHA1 Message Date
Gregory Nutt
b3819e8f0d configs/same70-xplained/twm4nx: Add a configuration for test Twm4Nx using VNC. 2019-04-28 12:49:18 -06:00
Gregory Nutt
c7f042ba14 arch/arm/src: Remove dependency on CONFIG_ARCH_FPU for inclusion of nvic.h in all other *_start.c files. 2019-04-25 07:17:10 -06:00
Mateusz Szafoni
5602248097 arch/arm/src/stm32h7/stm32_start.c: Inclusion of nvic.h should not be conditioned on CONFIG_ARCH_FPU. 2019-04-25 07:09:19 -06:00
Jason Harris
2609b0dff3 drivers/usbhost/usbhost_storage.c: Correct typo "const const" to "const".
arch/arm/src/stm32/stm32_i2s.c:  In debug assertions, it  on a sample rate of 0, but based on other code comments this value implies disabling the i2s master clock.

arch/arm/src/stm32/stm32_usbhost.h and arch/arm/src/stm32/Kconfig:  Allow vbus monitoring for the OTG_HS host driver.
2019-04-23 11:11:11 -06:00
Nobuto Kobayashi
eba004d498 arch/arm/src/cxd56xx and arch/arm/include/cxd56xx: Add initial CXD56xx chip sources. 2019-04-22 07:51:22 -06:00
Anthony Merlino
78f48f476f Merged in antmerlino/nuttx/stm32f7-pinmap-revert (pull request #857)
arch/arm/src/stm32f7: stm32f76xx77xx_pinmap.h:  Adds additional pin alternate function for SPI2

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-17 17:06:23 +00:00
Anthony Merlino
b13cf7833a Merged in antmerlino/nuttx/stm32f76xx7xx_spi_pin (pull request #856)
arch/arm/src/stm32f7: stm32f76xx77xx_pinmap.h:  Adds additional pin alternate function for SPI2

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-17 17:04:13 +00:00
David Sidrane
9c08d7fa42 Merged in david_s5/nuttx/master_f7_i2c_txe_fix (pull request #854)
stm32f7:i2c track bad state

The previous commit was true draconian.
   Now we track bad state and so the SW
   reset only when it occurs.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-17 13:50:11 +00:00
Fabian Justi
53a94594d6 Merged in Justifa/nuttx (pull request #855)
Master

* arch/arm/src/stm32l4/stm32l4_pwm.c Fix register addr, en_bit and resetbit for pwm timers

* configs/nucleo-l476rg/src/nucleo-l476rg.h Fixed naming stm32l4_pwm_setup
    configs/nucleo-l476rg/src/stm32_appinit.c Fixed naming stm32l4_pwm_setup

Approved-by: David Sidrane <david_s5@nscdg.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-17 13:48:37 +00:00
David Sidrane
dd1a2b5ddb Merged in david_s5/nuttx/master_f7_i2c_txe_fix (pull request #853)
stm32f7:i2c interrupt storm fix

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-16 22:45:40 +00:00
Matias N
7ac80a1d56 arch/arm/src/stm32/Kconfig: it seems one option in the timer configuration was lost at some point. 2019-04-15 14:57:01 -06:00
Matias N
3025fcefd3 arch/arm/src/stm32/stm32f10xxf30xx_flash.c: RCC register access should not be offset by FLASH register base. 2019-04-13 11:49:21 -06:00
Gregory Nutt
de7aedfe96 arch/arm/src/stm32: As noted by Matias N, the FLASH base address used was incorrect. It was using the address of the FLASH data, not the address of the FLASH registers. 2019-04-13 11:18:38 -06:00
Valmantas Paliksa
c38b6cb068 arch/arm/src/stm32f7/stm32_can.c: CAN fixes. 2019-04-12 11:40:34 -06:00
Valmantas Paliksa
2bb15a49a6 arch/arm/src/stm32f7/stm32_uid.c: Add UID access. 2019-04-12 08:46:02 -06:00
Valmantas Paliksa
29164c5706 arch/arm/src/stm32f7/stm32_flash.c: Add flash block mapping support for progmem. 2019-04-12 08:43:16 -06:00
Valmantas Paliksa
c574e71c89 arch/arm/src/stm32f7/stm32_ethernet.c: Autogenerate Ethernet MAC address from device unique ID. 2019-04-12 08:31:57 -06:00
Valmantas Paliksa
17176480df arch/arm/src/stm32f7/stm32_spi.c: Add SPI DMA threshold configuration. 2019-04-12 08:14:17 -06:00
Valmantas Paliksa
8cea24fdf0 arch/arm/src/stm32f: Added support for TICKLESS mode. 2019-04-12 08:10:02 -06:00
Ramtin Amin
e74e46aa7f arch/arm/src/stm32f7/stm32_otgdev.c: Correct hardcoded FIFO size that is wrong for OTG FS. 2019-04-11 10:37:40 -06:00
Gregory Nutt
fb04ad1e82 arch/arm/src/stm32f7/stm32_otgdev.c: Fix some comments that were screwed up by indent.sh. 2019-04-11 09:04:39 -06:00
raiden00pl
95340ebfda Merged in raiden00/nuttx_l0f0 (pull request #852)
Support for STM32L071X and a few improvements for STM32F0L0

arch/arm/src/stm32f0l0: add peripherals configuration for STM32L0

arch/arm/src/stm32f0l0: a few fixes for USART

arch/arm/include/stm32f0l0/stm32f0_irq.h: use names as in other STM32

arch/arm/include/stm32f0l0/chip.h: use names as in other STM32

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-09 13:28:38 +00:00
Eduard Niesner
d4a5204e1e arch/arm/src/stm32f7: Ported the PWM from F4 to F7. 2019-04-08 07:15:48 -06:00
Matthew Koch
33f4505c55 ^Merged in mjkoch/nuttx (pull request #851)
Kconfig warnings: defaults for choice values not supported

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-08 03:29:28 +00:00
Matthew Koch
f8495006a5 Merged in mjkoch/nuttx (pull request #850)
I2C1 config on stm32f746g-disco. Typo in stm32f7/stm32_i2c.c

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-08 01:06:33 +00:00
Ramtin Amin
7d2bd2371f arch/arm/src/stm32f7: USB High speed for STM32F7 series 2019-04-07 19:05:06 -06:00
Gregory Nutt
2c2729521b Abandon attempt to get common data structures for NX and the raw framebuffer cursor interface. This backs out several changes. 2019-04-07 18:00:40 -06:00
Gregory Nutt
04b723e447 Squashed commit of the following:
include/nuttx/nx/nxcursor.h:  Add a header file descrbing the implementation of an NX cursor interface.  There is no implementation in place yet.

    include/nuttx/video/cursor.h:  Separate out cursor definitions from fb.h.  Other graphic interfaces other than a framebuffer may support a cursor, possible a software cursor.
2019-04-06 12:18:05 -06:00
jjlange
90ece2d917 Merged in jjlange/nuttx/lpc17_ethupdates2 (pull request #849)
Added support for Ethernet PHY ioctl() on LPC17xx.

* Added support for Ethernet PHY ioctl() on LPC17xx.

* Fixed whitespace.

* One more time.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-05 21:16:03 +00:00
Gregory Nutt
96ba87e6cf Trivial changes from review of last PR 2019-04-04 17:22:41 -06:00
jjlange
b50452301d Merged in jjlange/nuttx/lpc17_ethupdates (pull request #847)
Added support for KSZ8081RNA PHY to LPC17xx Ethernet driver.

* Added support for KSZ8081RNA PHY to LPC17xx Ethernet driver.

* Updated PHY error message

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-04 23:21:09 +00:00
oao Matos
880029d994 arch/arm/src/stm32f7/stm32_fmc.h: Updated stm32_fmc.h with more FMC definitions. 2019-04-04 11:42:10 -06:00
Erik Englund
6f408b87bf arch/arm/src/nrf52/nrf52832_errdata.c: Fix compiler error when following C89. 2019-04-03 15:32:40 -06:00
Anthony Merlino
9bda8c5472 Merged in antmerlino/nuttx/stm32f7-usbotg-fix (pull request #846)
arch/arm/stm32f7: Fixes some macros related to OTGFS/OTGHS preventing OTGHS from working.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-03 19:38:08 +00:00
Anthony Merlino
079a0ada7b Merged in antmerlino/nuttx/stm32f7-hsebypclk (pull request #845)
arch/arc/stm32f7: Add support for using the HSE in bypass mode, configured by board.h

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-03 19:36:52 +00:00
Anthony Merlino
370dc27c60 Merged in antmerlino/nuttx/stm32f7-sdmmc-bypclk (pull request #844)
arch/stm32f7: Support bypassing the input clock divider on the SDMMC interface. This enables using the full clock speed provided to the SDMMC interface with no dividing.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-04-03 19:36:21 +00:00
Xiang Xiao
2d3623e2f9 arch/arm/src/armv7-a/Toolchain.defs: Fix 'cc1: warning: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch' 2019-03-26 21:40:25 -06:00
Pierre-Olivier Vauboin
055835f20a arch/arm/src/stm32f7/stm32_qspi.c: Fix QuadSPI interrupts. This commit essentially replaces wrongly named configuration variables STM32F7_QSPI_INTERRUPTS into CONFIG_STM32F7_QSPI_INTERRUPTS. Also fixes some getreg/putreg where register addresses were used
instead of register offsets
2019-03-25 11:21:45 -06:00
Gregory Nutt
3e6c196ffa arch/ and config/ files: All board interfaces (those starting with board_) must be defined in board-specific logic. Otherwise, they cannot be customized of specialized usage by different boards. The board_reset() interface was defined in architecture-specific logic that only called up_systemreset(). That is useless!
This change removes the board_reset() implementation from the architecture-specific code and re-implements in the src/ directory of each board that has CONFIG_BOARDCTL_RESET enabled.  That is the correct functional partitioning.
2019-03-25 11:12:38 -06:00
Mateusz Szafoni
d1f547feec arch/arm/src/stm32/stm32_pwm.c: Missing commas in initializers can break compilation in certain configurations. 2019-03-24 08:32:04 -06:00
Mateusz Szafoni
7883f0e6a4 arch/arm/src/stm32/stm32_pwm.c: Set CCPxP and CCPxNP bits if polarity is negative. 2019-03-24 08:07:59 -06:00
Maximilian Kriegleder
75858219fb arch/arm/stm32: Updates to last timer-related changes. 2019-03-22 11:02:12 -06:00
Mateusz Szafoni
c266f53199 arch/arm/src/stm32/stm32_tickless.c and arch/arm/src/stm32/stm32_freerun.c: Apply Max's stm32_oneshot.c fix to the tickless implementation and to the freerunning time. 2019-03-22 07:57:33 -06:00
Maximilian Kriegleder
bb23ac43ce arch/arm/src/stm32/stm32_oneshot.c: Corrects error introduced by commit 2fcf682316 also affect stm32_oneshot.c (I noticed that ps on my STM32F4 did not show any CPU load in nuttx-7.27 onward). 2019-03-22 07:43:15 -06:00
Gregory Nutt
4049f690af arch/arm/src/stm32/stm32_dfumode.c: Will work only for STM32 F2 and F4. 2019-03-21 14:41:03 -06:00
Gregory Nutt
65bd5472c5 arch/arm/src/stm32/stm32_dfumode.c: Add comments. Current implementation only works for STM32F2 and F4. 2019-03-21 14:29:32 -06:00
Gregory Nutt
2b52379dd6 arch/arm/src/stm32/stm32_dfumode.c: Minor improvements. 2019-03-21 14:21:59 -06:00
Bill Gatliff
d2dac21929 arch/arm/src/stm32/stm32_dfumode.c: Add logic to reboot the STM32 in DFU mode. 2019-03-21 12:06:59 -06:00
Valmantas Paliksa
f88597203d arch/arm/src/stm32f7/stm32_qspi.c: Fix QuadSPI priority constants. 2019-03-21 07:21:57 -06:00
Gregory Nutt
842d3dc4e5 Rename sched_alarm_expiration to nxsched_alarm_expiration. That is the appropriate name for an internal sched/ function (still many named incorrectly). 2019-03-20 19:34:23 -06:00