Commit Graph

11820 Commits

Author SHA1 Message Date
Juha Niskanen
8bf2e45b6c arch/arm/src/stm32l4/stm32l4_usbdev.c: add missing PWR USBV enable, correct two USB register bits 2019-05-14 06:32:07 -06:00
Gregory Nutt
8905bd6fa6 arch/arm/src/stm32f0l0: Eliminate some warnings found in build testing. 2019-05-13 12:29:26 -06:00
raiden00pl
ebad04c269 Merged in raiden00/nuttx_l0f0/stm32m0_adc (pull request #867)
Initial ADC support and some improvemnets for the STM32 M0

arch/arm/src/stm32f0l0/Kconfig: improvements

configs/b-l072z-lrwan1: add ADC example

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-05-09 13:02:53 +00:00
Gregory Nutt
1cce434a6b configs/lpcxpresso-lpc54628: Update a README.txt. 2019-05-08 10:32:10 -06:00
Gregory Nutt
9b13eaf595 arm/src/lpc54xx/: Bring in the USB FS OHCI driver from LPC17. This is a quick'n'dirty port that I will finish sometime later (I hope). Currently, it is missing hardware clocking setup and is not even hooked into the build system yet. Needless to say it does not yet even compile. 2019-05-08 10:01:37 -06:00
Mateusz Szafoni
21feca2a46 arch/arm/src/stm32h7/Kconfig: fix warnings;
arch/arm/src/stm32h7/stm32_tim.c: don't use hardcoded UIF interrupt
2019-05-06 06:45:16 -06:00
Jukka Laitinen
246898fd1c arch/arm/src/stm32h7: Add missing parts for timer driver: Add the missing header files, add the driver Kconfig, and add it to make system. 2019-05-05 15:35:06 -06:00
Jason Harris
a3312b74bb arch/arm/src/common/up_initialize.c: up_initialize.c needs to know about ramlog_consoleinit() 2019-05-04 18:28:43 -06:00
Gregory Nutt
3e848fb893 Merged imxrt1020 into master 2019-04-30 16:08:46 -06:00
Jukka Laitinen
7f74947c93 arch/arm/src/stm32h7/: Add timer devices driver for stm32h7. This is mostly a forklift from stm32f7 with some h7 specific modifications. 2019-04-30 08:59:42 -06:00
Jukka Laitinen
54856cfa5e arch/arm/src/stm32h7/: Add stm32h7 ethernet driver. This is the initial push for the ethernet driver. The driver has been tested to be working on a nucleo board. This is still WIP, it doesn't for example do MAC filtering on HW level, but just receives all ethernet packets. 2019-04-30 08:43:39 -06:00
Jukka Laitinen
c4b4291efd arch/arm/src/stm32h7/stm32_i2c.c: Fix I2C4 compilation for stm32h7. 2019-04-30 07:21:41 -06:00
Jukka Laitinen
98162e268f arch/arm/src/stm32h7/chip/stm32h7x3xx_pinmap.h: Add the GPIO_ETH_RMII_RXD1 pinmap definition for stm32h7. 2019-04-30 07:18:52 -06:00
Jukka Laitinen
1a66824a6b arch/arm/src/stm32h7/chip/stm32h7x3xx_memorymap.h: Add the stm32h7 SYSTEM_UID and DEBUGMCU_BASE register definitions. 2019-04-30 07:17:00 -06:00
Jukka Laitinen
d3ff5476e0 arch/arm/src/stm32h7/stm32h7x3xx_rcc.c: Set the stm32h7 default HSI predivider to 4. The I2C driver currently assumes HSI clock to be 16MHz. 2019-04-30 07:15:37 -06:00
Jukka Laitinen
7a1522294c arch/arm/src/stm32h7/chip/stm32h7x3xx_rcc.h: Fixes for stm32h7 rcc definitions: (1) Fix compilation for UART7, UART8 and I2C4, (2) Add backup domain control registers. 2019-04-30 07:13:54 -06:00
Jukka Laitinen
66b0b0c09b arch/arm/src/stm32h7: Add stm32h7 sdmmc driver. This is the initial sdmmc driver for stm32h7. It is mostly copied from stm32f7, with modified register addresses and bits, and IDMA added. This is still WIP, it only works with IDMA. 2019-04-30 07:08:19 -06:00
Gregory Nutt
abf6965c24 Squashed commit of the following:
libs/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    syscall/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    wireless/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    Documentation/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    include/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    drivers/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    sched/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    configs:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    arch/xtensa:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    arch/z80:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    arch/x86:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    arch/renesas and arch/risc-v:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    arch/or1k:  Remove all references to CONFIG_DISABLE_SIGNALS.  Signals are always enabled.
    arch/misoc:  Remove all references to CONFIG_DISABLE_SIGNALS.  Signals are always enabled.
    arch/mips:  Remove all references to CONFIG_DISABLE_SIGNALS.  Signals are always enabled.
    arch/avr:  Remove all references to CONFIG_DISABLE_SIGNALS.  Signals are always enabled.
    arch/arm:  Remove all references to CONFIG_DISABLE_SIGNALS.  Signals are always enabled.
2019-04-29 14:52:05 -06:00
Juha Niskanen
d02ec6373c arch/arm/src/stm32l4: Add USB FS device support. 2019-04-29 08:09:33 -06:00
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