Commit Graph

1145 Commits

Author SHA1 Message Date
Wail Khemir
fd8db7ad38 Change prescaler dynamically to support bigger periods on 16 bits timers 2015-11-30 18:52:05 -05:00
Gregory Nutt
8ce454a584 Remove some warnings; eliminate unused variables 2015-11-26 12:46:53 -06:00
Gregory Nutt
b1e17d8892 Fix some conditional compilation. CONFIG_LIBC_LOCALTIME should be checked in most of the same places wehre CONFIG_TIME_EXTENDED is checked 2015-11-25 12:51:07 -06:00
Gregory Nutt
30834721df Trivial changes for compliance with coding standard 2015-11-20 17:53:03 -06:00
Wail Khemir
702368fce4 Small bug fix for stm32 lower half timer driver 2015-11-20 18:16:39 -05:00
Gregory Nutt
25a2e17347 Rename up_rtcinitialize to up_rtc_initialize so that it looks like other RTC interfaces 2015-11-20 08:27:04 -06:00
Gregory Nutt
25e54726a3 STM32: Fix a build error detected by tools/testbuil.sh: The STM32L does not define UID address 2015-11-18 14:33:27 -06:00
Gregory Nutt
a6d6c430d9 Changes to last merge from review for compliance to coding standards 2015-11-17 21:10:17 -06:00
Marwan Ragab
4999c14085 Added implementation to get 96-bit stm32 unique id 2015-11-17 21:34:41 -05:00
Gregory Nutt
a8ab72f97a Fix some stylistic issues found by tools/nxstyle 2015-11-17 17:31:38 -06:00
Gregory Nutt
3c84aa3b5f (Hopefully) cosmetic changes from review of recent merges for conformance to coding standard 2015-11-17 16:53:21 -06:00
Wail Khemir
9451b09d3a Added a lower-half timer driver for stm32 which is compatible with the upper-half driver located at /drivers/timers/timer.c 2015-11-17 16:57:02 -05:00
Paul A. Patience
52454cf79b Fix typo 2015-11-11 13:06:15 -05:00
Gregory Nutt
1c79e77811 ARMv7-M: Minor naming change to improve readability 2015-11-06 11:24:52 -06:00
Paul A. Patience
7d793bb99b STM32 ADC: Add support for STM32F30xxx 2015-11-05 10:13:58 -05:00
Gregory Nutt
96cee3709a Merged in paulpatience/nuttx-arch/stm32_pwm (pull request #28) 2015-11-01 16:51:32 -06:00
Paul A. Patience
4c2c989838 STM32 PWM: Add support for multiple output channels 2015-11-01 17:11:35 -05:00
Gregory Nutt
79df561669 Rename board_led_off to board_autoled_off 2015-11-01 09:09:36 -06:00
Gregory Nutt
b28e32e3d3 Rename board_led_on to board_autoled_on 2015-11-01 09:07:06 -06:00
pnb
d1b4d55343 pwm duty can by zero 2015-11-01 14:45:12 +01:00
pnb
0090cfe6d4 Change name of HAVE_TIMx_PWM_OUTPUT into HAVE_TIMx_GPIOCONFIG 2015-10-31 16:00:24 +01:00
pnb
668c56b1a6 avoid warning unsused function when GPIO_TIMxCHxOUT declared in board and CONFIG_STM32_TIMx not enable but an other CONFIG_STM32_TIMx is enabled 2015-10-31 15:42:00 +01:00
Gregory Nutt
22ea50464f Merged in marten_svanfeldt/nuttx-arch-public/for_upstream/stm32_qencoder (pull request #23)
Enhance STM32 QEncoder driver with configurable input filters
2015-10-22 18:28:22 +08:00
Gregory Nutt
e3d44ace60 Merged in marten_svanfeldt/nuttx-arch-public/for_upstream/stm32f429_pinmap (pull request #22)
Add missing pin definitions on STM32F429, specifically pins available on STM32F429N chip
2015-10-22 18:26:53 +08:00
Gregory Nutt
04705d14df Merged in marten_svanfeldt/nuttx-arch-public/for_upstream/stm32f373_exti (pull request #21)
Add EXTI definitions for STM32F373
2015-10-22 18:21:45 +08:00
Gregory Nutt
2b078150e8 Merged in marten_svanfeldt/nuttx-arch-public/for_upstream/stm32f429n (pull request #20)
Add support for STM32F429N (TFBGA) chip
2015-10-22 18:19:52 +08:00
Gregory Nutt
c87c50df14 Merged in marten_svanfeldt/nuttx-arch-public/for_upstream/stm32_PLLSAI (pull request #19)
Fix setup of PLLSAI in STM32F4xx.
2015-10-22 18:17:21 +08:00
Marten Svanfeldt
3299a31b27 Enhance STM32 QEncoder driver with configurable input filters
Current driver applies a fixed filter of f_sample=f_dts/4, N=6. This can
potentially be insufficient in noisy environments, or too slow for really
fast encoder sources, so let the user set it from the Kconfig file

Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2015-10-21 11:06:01 +08:00
Marten Svanfeldt
fdb484f24e Add missing pin definitions on STM32F429, specifically pins available on STM32F429N chip
Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2015-10-21 10:56:36 +08:00
Marten Svanfeldt
d1c7e5b5fb Fix setup of PLLSAI in STM32F4xx.
To correctly setup the PLLSAI register it is required to first mask out
the old PLL divisor and multiplier factors before setting new ones

Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2015-10-21 10:33:39 +08:00
Marten Svanfeldt
4d879a33ee Add support for STM32F429N (TFBGA) chip
Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2015-10-21 10:30:57 +08:00
Marten Svanfeldt
54b333dcd3 Add EXTI definitions for STM32F373
Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2015-10-21 10:22:41 +08:00
Paul A. Patience
08175bef58 STM32 PWM: Add ifdef for STM32F30XX 2015-10-09 17:20:42 -04:00
Gregory Nutt
a326b79b25 Merged in paulpatience/nuttx-arch (pull request #17)
STM32: Fix some incorrect configurations in Kconfig file
2015-10-09 14:13:02 -06:00
Paul A. Patience
253e112b4a STM32: Fix some incorrect configurations in Kconfig file 2015-10-09 13:47:22 -04:00
Max Kriegler
a20a61caef STM32 F4: Correct pin mapping for TIM12 Channel 2 2015-10-09 10:32:46 -06:00
Gregory Nutt
d90f597a05 More spacing/alignment issues 2015-10-08 19:31:58 -06:00
Gregory Nutt
beb060d422 Yet more spacing issues 2015-10-07 20:24:19 -06:00
Gregory Nutt
a92842906f STM32: Fix a search-and-replace error in previous commit 2015-10-07 19:58:05 -06:00
Gregory Nutt
53f6fd6e66 STM32: Correct some spacing issues 2015-10-07 13:45:15 -06:00
Lederhilger Martin
a9c8458458 STM32 PWM: Add logic to handle writes to 32-bit registers properly 2015-10-06 07:29:37 -06:00
Gregory Nutt
aaa697ec83 Remove dangling whitespace 2015-10-04 15:27:17 -06:00
Gregory Nutt
6fc6d17760 Fix some spacing problems 2015-10-04 14:59:08 -06:00
Gregory Nutt
9caf33e13b Standardize the width of all comment boxes in C header files 2015-10-03 07:28:30 -06:00
Gregory Nutt
7ced84c5f0 Standardize the width of all comment boxes in C files 2015-10-03 07:25:03 -06:00
Gregory Nutt
36726b1bc4 Standardize the width of all comment boxes in header files 2015-10-02 17:42:29 -06:00
Gregory Nutt
ddf936c913 Various fixes for compilation issues found by tools/testbuild.sh 2015-10-01 11:09:39 -06:00
Gregory Nutt
166d307add STM32: Fix conditional compilation of TIM SYSLOG initialization 2015-10-01 08:39:21 -06:00
Lederhilger Martin
7d72d1defc STM32 ADC: Fix some cut'n'paste typos in ADC header file 2015-09-30 07:21:50 -06:00
Gregory Nutt
473a3cf2a6 STM32: Trivial chnages from review of merge 2015-09-23 15:00:47 -06:00