Dave Marples
d518cbb170
arch/arm/src/stm32/Kconfig: Add MEDIUM_DENSITY selection.
2019-05-31 07:55:43 -06:00
Gregory Nutt
491520350a
Fix a spelling error that was cloned in many files.
2019-05-31 07:24:19 -06:00
Juha Niskanen
c77e016ee8
arch/arm/src/stm32l4, drivers/sensors/t67xx.c: Fix trivial build failures caused by recent commits
2019-05-31 07:22:02 -06:00
Jussi Kivilinna
591d0e7471
arch/arm/src/stm32l4/: Fix USB device PMA accesses. USB PMA accesses are done as 16-bit words on STM32L4 instead of 32-bit words on STM32L1.
2019-05-31 07:21:42 -06:00
Jussi Kivilinna
73c1658535
arch/arm/src/stm32l4/stm32l4_pwr.c: Enable PWR peripheral for setting USV
2019-05-31 07:21:24 -06:00
Jussi Kivilinna
4bcd1806f0
arch/arm/src/stm32l4/stm32l4_hsi48.c: Enable CRS_CR_CEN with CRS_CR_AUTOTRIMEN
2019-05-31 07:20:49 -06:00
Dave Marples
30620dfeb6
arch/arm/src/imxrt/imxrt_lowputc.c: Add changes omitted from 173897afb9
2019-05-30 17:22:18 -06:00
Dave Marples
173897afb9
This commit implements RS485 RX/TX switching and RTS/CTS flow control for the IMXRT family. It has been tested on 1020 but I don't see any reason for issues on any other family member.
2019-05-30 13:45:36 -06:00
raiden00pl
64feadfc21
Merged in raiden00/nuttx_lora/g0_port (pull request #878 )
...
arch/stm32g0, configs/nucleo-g071rb: the basic NSH configuration is now functional
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-05-30 11:44:10 +00:00
Juha Niskanen
7214f8ae76
arch/arm/src/stm32l4/stm32l4_i2c.c: Add support for 16 and 120 MHz timings, board can use HSI16 clock for I2C
2019-05-28 09:23:40 -06:00
Juha Niskanen
fac5cc77b0
arch/arm/src/stm32l4/stm32l4xrxx_rcc.c: Use Range 1 Boost mode if SYSCLK is higher than 80 MHz
2019-05-28 09:14:08 -06:00
raiden00pl
f4caf4b3ec
Merged in raiden00/nuttx_pe (pull request #877 )
...
Improvements for STM32 PWM
arch/arm/src/stm32/stm32_pwm: add support for all PWM modes
arch/arm/src/stm32/stm32_pwm: add interface to change PWM mode
arch/arm/src/stm32/stm32_pwm: refactor pwm_mode_configure()
arch/arm/src/stm32/stm32_pwm: STM32_PWM_CHANx corresponds to the timer channel and STM32_PWM_OUTx corresponds to the timer channel output
arch/arm/src/stm32/stm32_pwm: add CHAN5 and CHAN6 to PWM_TIMx_NCHANNELS
arch/arm/src/stm32/stm32_pwm: calculate the PWM_TIMx_NCHANNELS if CONFIG_STM32_PWM_MULTICHAN is selected
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-05-28 15:07:43 +00:00
Jason Harris
cc2d97f942
arch/arm/src/stm32/stm32_fsmc.h: Fix the include file guarding name in stm32/stm32_fsmc.h.
2019-05-27 11:15:37 -06:00
Gregory Nutt
3ec7c17c16
arch/arm/src/stm32f7: Fix another error related to chip/->hardware/ name change.
2019-05-27 10:41:44 -06:00
Gregory Nutt
e74aedb046
Fix errors found in build testing.
2019-05-27 09:21:18 -06:00
Gregory Nutt
5cdd038df2
Rename STM32F0L0 to STM32F0L0G0 since it now alsow supports the STM32G0 thanks to Mateusz Szafoni's contribution
...
Squashed commit of the following:
arch/arm: Rename include/stm32f0l0 and src/stm32f0l0 to stm32f0l0g0.
Change all occurrences of lower-case stm32f0l0 to stm32f0l0g0.
Change all occurrences of upper-case STM32F0L0 to STM32F0L0G0.
2019-05-27 08:16:24 -06:00
Gregory Nutt
dbb40e5fe7
arch/arm/src/stm32f0l0/hardware: Fix some cosmetic naming problems associated with chip/ vs hardware/ sub-directories.
2019-05-27 08:03:46 -06:00
Jason Harris
2c3ca9d756
Here's a patch to split the STM32 FMC/FSMC functionality (FSMC = flexible static memory controller, FMC = flexible memory controller = FSMC + sdram support). This commit makes FMC it's own thing rather than piggy backing on the FSMC code. The peripherals have a few utility functions and this commits lets you have a common function in the arch/arm/src/stm32 rather than having duplicate functions in the board code.
2019-05-27 07:21:52 -06:00
raiden00pl
9c676a9e67
Merged in raiden00/nuttx_lora (pull request #876 )
...
Initial support for STM32G0
configs: initial support for nucleo-g071rb
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-05-27 11:48:57 +00:00
Gregory Nutt
788f77a9af
Cosmetic
2019-05-26 12:33:42 -06:00
Daniel Agar
642c0f8df6
Merged in dagar/nuttx/pr-stm32f7_dtcm_profcs (pull request #875 )
...
STM32F7 DTCM add procfs register
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-05-25 19:57:26 +00:00
Gregory Nutt
d5bbbba8ad
Rename all remaining arch/xxx/src/xxx/chip to arch/xxx/src/xxx/hardware.
2019-05-25 09:27:28 -06:00
Gregory Nutt
4126ec86cb
Rename arch/arm/src/stm32/chip to arch/arm/src/stm32/hardware.
2019-05-25 08:31:02 -06:00
Gregory Nutt
91db79663d
Rename arch/arm/src/samv7/chip to arch/arm/src/samv7/hardware.
2019-05-25 08:17:40 -06:00
Gregory Nutt
bc5cacc79f
Rename arch/arm/src/samd5e5chip to arch/arm/src/samd5e5/hardware.
2019-05-25 08:12:10 -06:00
Gregory Nutt
2ebc21b005
Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware.
2019-05-25 08:06:46 -06:00
Gregory Nutt
d3679df0cc
Rename arch/arm/src/sama5/chip to arch/arm/src/sama5/hardware.
2019-05-25 07:59:12 -06:00
Gregory Nutt
f4c2449c30
Rename arch/arm/src/sam34/chip to arch/arm/src/sam34/hardware.
2019-05-25 07:37:39 -06:00
Gregory Nutt
5e01e07a4e
Rename arch/arm/src/nrf52/chip to arch/arm/src/nrf52/hardware.
2019-05-25 07:29:41 -06:00
Gregory Nutt
cef5e9a08e
Rename arch/arm/src/lpc43xx/chip to arch/arm/src/lpc43xx/hardware.
2019-05-25 07:22:59 -06:00
Gregory Nutt
7faccef1b8
Fix some errors found in build testing.
2019-05-24 19:26:01 -06:00
Gregory Nutt
7298b4caa3
Rename arch/arm/src/imxrt/chip to arch/arm/src/imxrt/hardware. One more tine.
2019-05-24 18:54:55 -06:00
Gregory Nutt
9839f8ad91
Rename arch/arm/src/efm32/chip to arch/arm/src/efm32/hardware.
2019-05-24 18:51:49 -06:00
Gregory Nutt
961b17e740
Revert "Rename arch/arm/src/imxrt/chip to arch/arm/src/imxrt/hardware."
...
This reverts commit 159dbb9ff1
.
2019-05-24 18:40:39 -06:00
Gregory Nutt
159dbb9ff1
Rename arch/arm/src/imxrt/chip to arch/arm/src/imxrt/hardware.
2019-05-24 18:25:44 -06:00
Gregory Nutt
50d18f9774
Rename arch/arm/src/stm32l4/chip to arch/arm/src/stm32l4/hardware.
2019-05-24 18:06:01 -06:00
Gregory Nutt
a26e229834
arch/arm/src/kinetis/hardware/kinetis_k20k40k60mpu.h: Fix idempotency definitions and some additional typos.
2019-05-24 17:41:38 -06:00
Gregory Nutt
2899e529b8
Rename arch/arm/src/kinetis/chip to arch/arm/src/kinetis/hardware.
2019-05-24 17:10:46 -06:00
Gregory Nutt
9b38f5cf2f
Rename arch/arm/src/stm32h7/chip to arch/arm/src/stm32h7/hardware.
2019-05-24 16:54:25 -06:00
Gregory Nutt
2cf0d6a3aa
Rename arch/arm/src/stm32f7/chip to arch/arm/src/stm32f7/hardware.
2019-05-24 16:48:06 -06:00
Gregory Nutt
cdf3dba418
Fix another error found in build testing.
2019-05-24 16:17:01 -06:00
Gregory Nutt
c0b5fb3b40
Fix some errors found in build testing.
2019-05-24 16:05:36 -06:00
Gregory Nutt
7d57d59197
Rename arch/arm/src/am335x/chip to arch/arm/src/arm335x/hardware.
2019-05-24 15:58:25 -06:00
Gregory Nutt
8e7da81916
Rename arch/arm/src/lpc11xx/chip to arch/arm/src/lpc11xx/hardware.
2019-05-24 15:38:59 -06:00
Gregory Nutt
01ad31c2fa
Rename arch/arm/src/cd56xx/chip to arch/arm/src/56xx/hardware.
2019-05-24 15:33:08 -06:00
Gregory Nutt
9a19e48e38
Rename arch/arm/src/a1x/chip to arch/arm/src/a1x/hardware.
2019-05-24 15:29:12 -06:00
Gregory Nutt
88d2a12e06
Fix some errors found in build testing
2019-05-24 15:07:48 -06:00
Gregory Nutt
ad2f469cf0
Rename arch/arm/src/kl/chip to arch/arm/src/kl/hardware.
2019-05-24 15:04:39 -06:00
Gregory Nutt
9ad4dbcc95
Rename arch/arm/src/tmc570/chip to arch/arm/src/tmc570/hardware.
2019-05-24 14:53:32 -06:00
Gregory Nutt
7156012a94
Rename arch/arm/src/xmc4/chip to arch/arm/src/xmc4/hardware.
2019-05-24 14:49:06 -06:00
Gregory Nutt
291d2f486d
Fix an error found in build testing.
2019-05-24 14:39:51 -06:00
Gregory Nutt
b855e3988f
Rename arch/arm/src/nuc1xx/chip to arch/arm/src/nuc1xx/hardware.
2019-05-24 14:36:08 -06:00
Gregory Nutt
f46ad3f6a6
Rename arch/arm/src/lpc17xx/chip to arch/arm/src/lpc17xx/hardware.
2019-05-24 14:15:01 -06:00
Gregory Nutt
8db1bae3a1
Rename arch/arm/src/imx6/chip to arch/arm/src/imx6/hardware.
2019-05-24 13:52:38 -06:00
Gregory Nutt
23f57b1d59
Rename arch/arm/src/lpc54xx/chip to arch/arm/src/lpc54xx/hardware.
2019-05-24 13:39:49 -06:00
Gregory Nutt
b6152cb409
arch/arm/src/stm32f0l0/stm32_dma_v1.c: Fix yet another compilation error found in this file by build testing.
2019-05-22 08:57:39 -06:00
Gregory Nutt
ae2a3d4efd
arch/arm/src/stm32f0l0/stm32_dma_v1.c: Fix a compilation probleml found in build testing.
2019-05-22 08:28:03 -06:00
Gregory Nutt
b49be4bb20
Squashed commit of the following:
...
arch/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
sched/ audio/ crypto/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
Documentation/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
fs/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
graphics/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
net/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
drivers/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
include/, syscall/, wireless/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
configs/: Remove all references to CONFIG_DISABLE_POLL. Standard POSIX poll can no longer be disabled.
2019-05-21 18:57:54 -06:00
Juha Niskanen
2df7235536
arch/arm/src/stm32l4: Make STM32L4 CRS synchronization source board configurable.
...
configs/nucleo-l432kc: Add new configuration settings to board.h
configs/nucleo-l452re: ditto
configs/nucleo-l496zg: ditto
configs/stm32l476vg-disco: ditto
2019-05-21 10:21:57 -06:00
Maximilian Kriegleder
8f285b249d
arch/arm/src/stm32/Kconfig: Correct some typos in conditional logic.
2019-05-21 10:15:30 -06:00
raiden00pl
a5250662fa
Merged in raiden00/nuttx_lora/lora (pull request #872 )
...
Port AES and RND to STM32 M0 + some improvements
arch/arm/src/stm32f0l0/stm32_rng.c: change the function names to use the stm32_rng prefix
arch/arm/src/stm32f0l0/stm32_usbdev.c: move HSI48 enable to stm32xx_rcc.c
arch/arm/src/stm32f0l0: add support for AES
arch/arm/src/stm32f0l0: add support for RND
arch/arm/src/stm32f0l0: add HSI48 support for L0
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-05-17 18:46:30 +00:00
raiden00pl
0c6df13a4c
Merged in raiden00/nuttx_stm32 (pull request #871 )
...
arch/arm/src/stm32/Kconfig: simplify ARCH_HAVE_FPU selection and remove redundant options for F207
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-05-17 11:41:16 +00:00
Gregory Nutt
4676470dd7
arch/arm/src/stm32/chip/stm32_i2c.h: Fix typo in last PR noted by David Sidrane
2019-05-15 09:34:50 -06:00
raiden00pl
8ce1f1a67b
Merged in raiden00/nuttx_lora/lora (pull request #869 )
...
Port STM32F7 I2C to STM32F3 and STM32F0L0
arch/arm/src/stm32: port I2C IPv2 driver from F7 (only F3 chips)
arch/arm/src/stm32f0l0: port I2C IPv2 driver from F7
configs/b-l072z-lrwan1: nxlines_oled example (ssd1306)
configs/b-l072z-lrwan1: support for the I2C tool
configs/nucleo-f303ze: nxlines_oled example (ssd1306)
arch/arm/src/stm32h7/chip.h: cosmetics
arch/arm/src/stm32/chip/stm32_tim.h: cosmetics
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-05-15 08:20:28 +00:00
Juha Niskanen
2f46f4f11f
arch/arm/src/stm32l4: Port HSI48 and CRS from STM32F0L0
2019-05-14 06:35:34 -06:00
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
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
Gregory Nutt
9acb652e29
Rename sched_timer_expiration to nxsched_timer_expiration. That is the appropriate name for an internal sched/ function (still many named incorrectly).
2019-03-20 19:31:43 -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
c34ea0d3bc
arch/arm/src/armv7-a/arm_addrenv_utils.c: Fix a new cache interface related warning.
2019-03-20 17:20:56 -06:00
Gregory Nutt
daa6461ce2
arch/ and configs/: Fix more errors related to cache interface changes.
2019-03-20 14:45:44 -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
Mateusz Szafoni
c134072e05
arch/arm/src/armv7-m/up_ramvec_initialize.c: Correct bad NVIC_VECTAB_TBLOFF_MASK definitions in previous commit. Were missing bits in the mask. Raised DEBUGASSERT in armv7-m/up_ramvec_initialize.c line: 144.
2019-03-20 10:52:45 -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
Gregory Nutt
b174373faa
arch/arm/src/stm32/stm32_allocateheap.c: Change 'if CONFIG_STM32_HAVE_CCM' to 'ifdef CONFIG_STM32_HAVE_CCM' to avoid a warning when CONFIG_STM32_HAVE_CCM is not defined.
2019-03-20 08:28:34 -06:00
Gregory Nutt
33d711166e
arch/arm/src/armv7-a/Toolchain.defs: Correct conditional logic. Was mixing C preprocess and Makefile semantics.
2019-03-20 08:17:38 -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