Kevin O'Connor
1eddc0fd90
stm32: Simplify USB/Serial/CANbus Kconfig selection
...
Combine the various communication options into a single "make
menuconfig" menu item.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-18 13:33:33 -04:00
Elias Bakken
8b443acae8
stm32: Adding support for STM32F031x6 ( #3871 )
...
Add support for alt usart 1
Do not select all functions on 16 K mcu
Signed-off-by: Elias Bakken <elias@iagent.no>
2021-02-03 12:23:17 -05:00
Kevin O'Connor
28bca7da77
stm32: Support setting the stm32f0 internal clock trim value
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-01-18 12:49:41 -05:00
Kevin O'Connor
39a04eac5f
stm32: Only use the HSI48 clock when doing "usb clock recovery"
...
The HSI48 clock on the stm32f042 isn't as accurate as the main HSI
clock. So, only use the HSI48 clock when using USB to synchronize
that clock.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-08 09:00:47 -05:00
bondus
7a8e9591e3
stm32: Improved CAN support for STM32 ( #2976 )
...
Reworked the STM32F0 CAN bus implementation. It's more robust and higher performance.
Added support for function remapping to different pins. API is emulating an STM32F0.
Improved and ported CAN bus to STM32F0, F1 and F4.
Signed-off-by: Pontus Borg <glpontus@gmail.com>
2020-06-24 18:59:38 -04:00
Kevin O'Connor
b80d2f7706
stm32: Fix typo causing internal clock to always be used on stm32f042
...
Reported by Pontus Borg.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-05-28 15:56:22 -04:00
Kevin O'Connor
79e2376993
stm32: Add support for a bootloader on stm32f0
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-03-04 19:50:56 -05:00
Eug Krashtan
5238c3f872
stm32: HSI selection fix; Pin swap rename; Add CAN selection
...
Signed-off-by: Eug Krashtan <eug.krashtan@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-01-14 17:05:28 -05:00
Kevin O'Connor
bd6c25c9f8
stm32: Allow external crystal speed to be customized in Kconfig
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-25 14:04:26 -05:00
Kevin O'Connor
9ff4f1bb2f
stm32f0: Initial support for i2c on stm32f0
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-14 15:54:28 -05:00
clearchris
009d14fc3e
stm32: adc for new stm32f0 common code ( #2120 )
...
Derived from stm32/adc.c and stm32f0/adc.c with additional changes.
Tested on Monoprice Mini Delta (malyan) stm32f070xb board.
Signed-off-by: Chris Lombardi <clearchris@hotmail.com>
2019-11-05 10:08:32 -05:00
Kevin O'Connor
5131ec5eb0
stm32: Add support for flashing over usb on stm32f042
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-26 17:11:04 -04:00
Kevin O'Connor
9a11286327
stm32: Implement armcm_main() in arch specific code
...
Move armcm_main() to stm32f0.c, stm32f1.c, and stm32f4.c. This gives
the arch specific code more control on the early boot setup.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-24 11:35:18 -04:00
Kevin O'Connor
0b0c47c566
stm32: Support PA11/PA12 pin remap on stm32f042 tsop20 chip
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 21:34:48 -04:00
Kevin O'Connor
a6d90bb95e
stm32: Support stm32f042 build from stm32/ directory
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 21:34:48 -04:00
Kevin O'Connor
2c535106ee
stm32: Initial support for stm32f070
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 21:19:03 -04:00