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
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
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
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
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
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
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
Valmantas Paliksa
f88597203d
arch/arm/src/stm32f7/stm32_qspi.c: Fix QuadSPI priority constants.
2019-03-21 07:21:57 -06:00
Gregory Nutt
b290160b3b
Rename sched_process_timer to nxsched_process_timer. That is the appropriate name for an internal sched/ function (still many named incorrectly).
2019-03-20 19:27:40 -06:00
Gregory Nutt
3c27f133fd
arch/arm/src/stm32f7/stm32_qspi.c: Grr.. Its been a long day. Correct name of header file barriers.h.
2019-03-20 13:55:52 -06:00
Gregory Nutt
05dab30e84
arch/arm/src/stm32f7/stm32_qspi.c: Fix a warning about ARM_DSB() being implicitly defined.
2019-03-20 13:53:34 -06:00
Gregory Nutt
609b7f8229
arch/arm/src/stm32f7/stm32_qspi.c: Fix a warning about QSPI_DMA_PRIO being redefined.
2019-03-20 13:44:12 -06:00
Gregory Nutt
d7851cf38d
arch/arm/src/stm32f7/stm32_qspi.c: Update for new universal cache conrols.
2019-03-20 09:49:26 -06:00
Valmantas Paliksa
6e886de2ec
arch/arm/src/stm32f7/stm32_qspi.c: Added stm32f7 Quad SPI support.
2019-03-20 07:19:47 -06:00
Valmantas Paliksa
5645cb5e51
arch/arm/src/stm32f7/stm32_can.c: Fix bittiming calculation.
2019-03-20 06:51:48 -06:00
Valmantas Paliksa
91bb1f0b9f
arch/arm/src/stm32f7: Add ITM syslog support.
2019-03-20 06:46:53 -06:00
Valmantas Paliksa
8443f088da
arch/arm/src/stm32f7/stm32_can.c: Add CAN driver with support for three bxCAN interfaces.
2019-03-20 06:43:39 -06:00
Valmantas Paliksa
d09dc74488
arch/arm/src/stm32f7/stm32_tim_lowerhalf.c: Add timer lowerhalf driver for stm32f7.
2019-03-20 06:31:20 -06:00
Valmantas Paliksa
72d8aa5b7b
arch/arm/src/stm32f7/stm32_tim.c: dd OUTTOGGLE mode for STM32f7 timer
2019-03-20 06:23:35 -06:00
Gregory Nutt
c8ffde6647
arch/arm: Fix more errors resulting from universal cache interfaces. The old cache-specific head file also provided a sneak way to include other necessary header files. With the old cache.h removed, those files all fail to build.
2019-03-19 14:13:45 -06:00
Gregory Nutt
348a03287d
arch/arm: The last big change that unified the cache interfaces had a bad side-effect: It also removed the memory barrier definitions that were also in the removed architecture-specific cache.h header files. Fixed by adding a new barriers.h header file that provides these definitions.
2019-03-19 13:12:19 -06:00
Xiang Xiao
64252a298f
arch/: Unify the cache interface for all architectures
2019-03-19 10:37:13 -06:00
Gregory Nutt
82b276a34c
binfmt/nxflat.c: Trivial design simplification.
2019-03-12 10:09:03 -06:00
Gregory Nutt
e29e02529d
arch/arm/src/stm32/stm32_otgfsdev.c/stm32_otghsdev, stm32f7/stm32_otgdev.c, and stm32l4/stm32l4_otgfsdev.c: Fix a warnings due to a function prototype mismatch.
2019-03-08 14:15:55 -06:00
Gregory Nutt
dc8c814ca3
Squashed commit of the following:
...
Fixed coding standard error in several files. Use of while( is incorrect; a space is required between while and (. Also ran tools/nxstyle and fix thoses complaints as well in most files.
Changes to comply with coding standard. Mostly focused on files with missing space after keyword in if(, switch(, and for(. Offending files also got changes to comply with tools nxstyle. If there were logs of nxstyle complaints, the file also got a taste of tools/indent.sh. Still need to fix occurrences of while( with missing space. There are a lot of them.
2019-02-27 08:41:08 -06:00
David Sidrane
44919b6723
arch/arm/src/stm32f7/stm32_i2c.c: Fix another memory access issue on a bus error.
2019-02-19 14:47:05 -06:00
Gregory Nutt
a2e62f557d
Squashed commit of the following:
...
sched/init/nx_bringup.c: Fix a naming collision.
sched/init: Rename os_start() to nx_start()
sched/init: Rename os_smp* to nx_smp*
sched/init: Rename os_bringup to nx_bringup
sched/init: rename all internal static functions to begin with nx_ vs os_
2019-02-04 16:20:35 -06:00
Gregory Nutt
732bef73a7
include/net/if.h: Fix some macro definitions overlooked in commit d105dc9b5e82a3b8710b44a81f05660410e1f22d. Also corrects the name of a structure: mii_ioctl_notify_s vs mii_iotcl_notify_s.
2019-01-27 16:43:42 -06:00
Gregory Nutt
4b9abfa3c2
Every file that uses serial IOCTLs (TIOC*) must explicity include nuttx/fs/ioctl.h. This was included previously via sneak path in the now deleted arch/serial.h.
2019-01-27 13:41:44 -06:00
Xiang Xiao
d105dc9b5e
drivers/net/phy_notify.c and all network drivers that support PHY notifications: Support the signal notification through SIGEV_THREAD
2019-01-27 08:57:23 -06:00
Xiang Xiao
818d8dda1e
Remove empty seria.h and all references
2019-01-26 15:08:14 -06:00
Gregory Nutt
df64811269
up_initialize(): As noted by Roland Takacs in Bitbucket issue 141, there is a compilation error for STM32 if CONFIG_NET and CONFIG_NETDEV_LATEINIT are selected. That was due in part to commit 19e16cb which extended up_netinitialize() with a !defined(CONFIG_NETDEV_LATEINIT) guard but did not add the guard to concrete implementations. I say "in part" because I don't think that the original intent of commit 19e16cb was to enable an alternative initialization of MCU internal Ethernet support but rather to enable support of external Ethernet devices that may have dependencies on, for example, SPI. However, this is still a proper fix to avoid the compilation error that can occur with this combination of configuration options.
2019-01-25 07:21:03 -06:00
Juha Niskanen (Haltian)
079e9161f1
arch/arm/src/stm32l4/stm32l4_lse.c: Ports Jussi Kivilinna's recent STM32F7 LSE change to STM32L4.
2019-01-24 06:58:45 -06:00
Jussi Kivilinna
434cad4d17
arch/arm/src/stm32f7/stm32_lse.c: Add configuration of LSE oscillator drive capability
2019-01-22 06:37:02 -06:00
Jussi Kivilinna
d7f1dc56cf
STM32F7 and L4 I2cC: Use clock_t for ticks instead of uint32_t to hold system time.
2019-01-09 07:28:34 -06:00
Gregory Nutt
a7f75b4ee8
Revert "arch/: Fix an error found in build testing. The protoype of mpu_log2regionfloor() changed; an additional parameter was added. However, none of the calls to mpu_log2regionfloor() were updated to pass the new, additional parameter."
...
Commit 8b63d0230936bd7d6bd94f4c76b9402946f69b21 was reverted. This related commit must now also be reverted to avoid compilation errors.
This reverts commit e8270defc9b26f7a7199288fa9ba203a96ed63d4.
2019-01-08 15:21:29 -06:00