Commit Graph

111 Commits

Author SHA1 Message Date
8c12453544 stm32/rcc: set rtc clock on f4 2023-08-21 17:50:18 -05:00
cc400aa178 stm32: fix f37x build.
originally broke in https://github.com/embassy-rs/embassy/pull/1762
2023-08-19 01:15:32 +02:00
66c1712118 stm32/rtc: enable in rcc mod 2023-08-06 11:11:53 -05:00
2f18770e27 stm32/rcc: extract and combine ahb/apb prescalers 2023-07-30 09:52:30 -05:00
bd60f003e0 stm32/rcc: move rcc logic from ipcc 2023-07-23 17:01:34 -05:00
953c745ed8 stm32/rcc: allow const-propagation 2023-07-04 16:29:46 -05:00
f395ec44e8 stm32/rcc: add pllsai clock 2023-04-14 21:28:27 -05:00
650589ab3f stm32/rcc: add plli2s to Clocks and cfg directives 2023-04-14 16:30:36 -05:00
611d023829 stm32: add H5 support. 2023-04-06 18:59:37 +02:00
f604153f05 stm32/rcc: print actual freqs on boot. 2023-01-20 16:31:04 +01:00
2a349afea7 stm32: add stm32c0 support. 2023-01-17 21:28:16 +01:00
397722c328 stm32: fix f100 build. 2022-06-26 23:52:38 +02:00
a8703b7598 Run rustfmt. 2022-06-12 22:22:31 +02:00
96d0eb9476 stm32: Fix stm32f107 build. 2022-05-08 21:37:37 +02:00
07ad52162b Add PLL config support for F2 2022-04-29 18:21:40 +03:00
371f3ef419 Add ADC support for H7 2022-04-12 22:25:00 +02:00
8b757e1aec Add stm32wlexx support 2022-04-08 03:43:58 +02:00
50ff63ab88 Add STM32L5 support. 2022-04-08 03:11:38 +02:00
a608d0deaf Add minimal STM32F2 RCC
No support for PLL or other clocks than SYSCLK/AHB/APB1/APB2
2022-03-27 18:40:49 +03:00
ea5cd19c30 stm32: fix build for h7ab 2022-02-24 06:28:29 +01:00
39d06b59cd Update stm32-data 2022-02-14 02:12:06 +01:00
8160af6af9 stm32: replace peripheral_rcc! macrotable with build.rs 2022-02-09 00:58:17 +01:00
a8580ec78a stm32/rcc: fix stm32f410 2022-01-24 00:50:35 +01:00
e07df92651 Make RCC accessible using low-level API. 2022-01-13 16:12:45 +01:00
c3fd9a0f44 stm32/rcc: f4/f7 cleanup and make a bit more consistent. 2022-01-04 21:17:17 +01:00
b06e705a73 stm32/rcc: change family-specific code from dirs to single files.
Consistent with how other peripherals handle their versions.
2022-01-04 19:28:15 +01:00
a93b1141e9 stm32f1: Store adc clock rate in Clocks struct 2021-12-30 10:50:28 +01:00
3f33d307ff [feature] Add rcc register support for F3 2021-12-13 14:50:13 +05:30
b0fabfab5d Update stm32-data: rcc regs info comes from yamls now. 2021-11-29 02:28:02 +01:00
25b49a8a2a Remove common clock types
Different STM32 RCC peripherals have different capabilities and register
values. Define types for each RCC types inside each module to ensure
full range of capabilities for each family can be used
2021-11-28 16:46:08 +01:00
88d4b0c00d stm32: add stm32g4 support. 2021-11-27 02:34:23 +01:00
f12b70535b Adjust for STM32U5. 2021-11-02 12:05:24 -04:00
015cad84dd Initial support for STM32F767ZI. 2021-10-26 17:33:28 +02:00
bce909ec1e Initial STM32F1 family support with two examples for STM32F103C8 (Blue Pill) 2021-09-28 18:31:04 +02:00
c79485c286 Support for STM32L1
* Add RCC
* Fix more issues with dash in chip names
* Update stm32-data version
* Add blinky and spi example
2021-09-21 14:50:23 +02:00
e2f71ffbbd Add support for STM32G0 2021-08-20 00:15:11 +02:00
9f51f9a170 stm32/wl: add stub APB3 to get it to build.
Completely untested.
2021-08-19 22:51:41 +02:00
637fcdd316 stm32/rcc: update for new version naming 2021-08-19 22:17:45 +02:00
5abaf8e9d6 Start working on the F4 PLL 2021-07-29 18:43:13 -03:00
2f08c7ced5 stm32: Allow for RccPeripheral without reset field
This fix build on F0, since it doesn't have DMARST. This change makes
RccPeripheral::reset a no-op on peripherals where a reset field couldn't
be found
2021-07-15 13:25:51 -03:00
13975a0818 Try to improve H7 clockstuff. 2021-07-13 10:09:35 -04:00
c2f595b26a F0: Fix missing apb2 clock 2021-07-03 02:12:22 -03:00
409884be2a Add F0 RCC 2021-06-24 19:21:56 -03:00
383beb37b3 Rename from wl55 to wl5x and enable debug wfe 2021-06-16 16:07:21 +02:00
b6a8703698 Add support for generating PAC for dual cores
* Chips that have multiple cores will be exposed as chipname_corename,
  i.e. stm32wl55jc_cm4
* Chips that have single cores will use the chip family as feature name
  and pick the first and only core from the list
* Add support for stm32wl55 chip family
2021-06-16 15:12:07 +02:00
49fad2de8a Use correct frequencies for timers 2021-06-15 16:07:23 +02:00
4b406dd107 Remove default rcc impl 2021-06-14 20:24:51 +02:00
5e1b0a5398 Add wb55 clocks 2021-06-14 11:41:02 +02:00
ee9f67fa01 Add common types 2021-06-14 11:33:11 +02:00
95532726b2 Add minimal RCC impls for L4 and F4 2021-06-14 11:33:11 +02:00