Alin Jerpelea
c6c36e1e65
arch: arm: stm: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-31 00:59:15 -05:00
Alin Jerpelea
37f91b023c
arch: Author David Sidrane: update licenses to Apache
...
David Sidrane has submitted the ICL and we can migrate the licenses
to Apache.
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-22 19:28:38 -07:00
Fotis Panagiotopoulos
b0b5f87699
Removed broken overdrive function in STM32.
2020-09-18 02:53:40 -07:00
Fotis Panagiotopoulos
c046e56b3b
Added STM32_HAVE_OVERDRIVE option, and made core over-drive to be enabled only when system frequency is > 168MHz.
2020-08-12 05:05:59 -07:00
Xiang Xiao
cde88cabcc
Run codespell -w with the latest dictonary again
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-02-23 22:27:46 +01: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
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
2018-02-01 10:00:02 -06:00
Oleg Evseev
ef059f78ac
STM32 PWR: Adds stm32_pwr_getsbf and stm32_pwr_getwuf functions that return the standby flag and the wakeup flag PWR power control/status register.
2017-09-28 07:50:21 -06:00
Oleg Evseev
3596c75d78
STM32: Add logic for enabling wakeup pins.
2017-09-08 13:23:08 -06:00
Gregory Nutt
47be509d79
Rename CONFIG_STM32_STM32F40XX to CONFIG_STM32_STM32FXXXX since it is used by F4 parts other than F40x
2017-07-06 10:20:14 -06:00
Sebastien Lorquet
0bf4893b2c
STM32: Allow clock frequencies > 168 Mhz on stm32f427/429. We need to enable the power overdrive for this case. This patch allows the required bits to be set in proper sequence. It also modifies the local register access operations to allow more than 16-bit registers.
2017-06-20 11:56:54 -06:00
David Sidrane
169b3982a2
STM32: Fixes the bkp reference counter issue
2017-02-09 08:39:51 -10:00
Marc Rechte
483f012600
Initial implemention of the STM32 F37xx SDADC module. There are also changes to ADC, DAC modules. SDADC has only been tested in DMA mode and does not support external TIMER triggers. This is a work in progress.
2016-10-25 14:14:10 -06:00
Gregory Nutt
fdcf0f7e5f
Correct some comments
2016-08-09 15:15:21 -06:00
Max Neklyudov
1e3ccbac12
Make stm32_pwr_enablebkp thread safe
2016-08-09 07:36:13 -06:00
Gregory Nutt
12bf2aa3be
Correct description of some input parameters. Suggested by Pelle Windestam
2015-05-05 06:26:59 -06:00
Gregory Nutt
d3ef23e05a
STM32 PVD: Adds support for STM32's Programmable Voltage Detector feature. I put register access behind CONFIG_STM32_ENERGYLITE as have not checked F1/F2/F4 etc. manuals. Tested on STM32L1. PVD interrupt looks generic, at least #defines it needs are in headers for every chip variant. By Dmitry Nikolaev, submitted by Juha Niskanen.
2015-04-28 06:37:59 -06:00
Gregory Nutt
4c0b8fba52
Fix an error introduced into stm32_pwr_enablebkp(). That function must preserve the previous state of backup domain access on return.
2015-04-18 07:31:20 -06:00
Gregory Nutt
0dc70108b8
STM32: Fix for compilation introduced by last backup RAM change. Not sure it it is correct, be now things do compile
2015-02-21 17:51:03 -06:00
Gregory Nutt
7d43cf2087
Changes to support fully write protecting the backup domain. N.B. stm32_pwr_enablebkp did not account for the delay from enable to the domain being writable. The KISS solution is a up_udelay. A more complex solution would be a negated write test with restore. From David Sidrane.
2015-02-21 14:53:33 -06:00
Gregory Nutt
25d4ff745b
More trailing whilespace removal
2014-04-13 16:22:22 -06:00
Gregory Nutt
60036e60f8
STM32L152: Better LOOPSPERMSEC; Need to set higher performance VOS
2013-05-20 15:51:37 -06:00
patacongo
36df84c843
Email address change in nuttx/
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5145 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 18:32:24 +00:00
patacongo
3c4954545e
STM32 F4 RTC driver is fully coded (but not tested)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4176 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 19:12:00 +00:00
patacongo
4cbbcb893b
Add code changes from Uros
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3507 42af7a65-404d-4744-a932-0658087f49c3
2011-04-15 16:20:25 +00:00
patacongo
c23f8334c8
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2359 42af7a65-404d-4744-a932-0658087f49c3
2009-12-16 20:05:51 +00:00
patacongo
b3a90ff175
Add BKP, DBGMCU, EXTI, and PWR header files
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2084 42af7a65-404d-4744-a932-0658087f49c3
2009-09-23 19:15:03 +00:00