Commit Graph

2089 Commits

Author SHA1 Message Date
Giovanni Di Sirio bb6bb85529 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14415 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-05-22 04:13:26 +00:00
Giovanni Di Sirio acd06a0219 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14414 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-05-21 20:00:58 +00:00
Giovanni Di Sirio d406508ef0 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14413 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-05-21 17:54:28 +00:00
Giovanni Di Sirio 158cbdf364 Fixed MSI handling and other improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14412 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-21 17:49:40 +00:00
Giovanni Di Sirio 52c9645208 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14411 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-05-21 12:43:19 +00:00
Giovanni Di Sirio 42a5b3f8db git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14410 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-05-21 12:36:13 +00:00
Giovanni Di Sirio 33df3af7ab Added polling on wait states setup.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14409 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-21 12:15:07 +00:00
Giovanni Di Sirio 282cbaad2e Added support for disabling HSI/MSI.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14405 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-21 08:59:46 +00:00
Giovanni Di Sirio 202a3421aa Aligned L4+ to G4 again.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14403 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-20 12:38:07 +00:00
Giovanni Di Sirio 9001637856 Better checks on wait states.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14401 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-20 12:10:17 +00:00
Giovanni Di Sirio a029c535cd git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14400 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-05-20 11:49:32 +00:00
Giovanni Di Sirio edecbf5144 Dynamic support implemented for STM32L4+, improvements to STM32G4 HAL port.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14398 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-20 07:47:54 +00:00
Giovanni Di Sirio 2cd2b4dfad Improved clock checks.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14397 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-19 16:01:33 +00:00
Giovanni Di Sirio 82d461b66d git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14396 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-05-19 14:47:16 +00:00
Giovanni Di Sirio c72949adf9 Added comment, fixed space.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14395 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-19 12:18:45 +00:00
Giovanni Di Sirio faa7fc7f6c Now SystemCoreClock is updated on switch.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14393 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-19 07:25:34 +00:00
Giovanni Di Sirio b9f314c50b Enforced PWR_CR1_DBP for default configuration.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14392 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-19 07:00:59 +00:00
Giovanni Di Sirio da9a06d3c3 Implemented Vitaly's proposal on default clock points.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14391 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-19 06:54:20 +00:00
Giovanni Di Sirio c04365c691 STM32 ADCv3 updated for dynamic clocking.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14389 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-17 13:22:11 +00:00
Giovanni Di Sirio 80338e1749 STM32 USBv1 updated for dynamic clocking.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14388 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-17 12:59:05 +00:00
Giovanni Di Sirio 5e3c3d0dcb STM32 USARTv2, USARTv3 updated for dynamic clocking.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14387 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-17 12:44:07 +00:00
Giovanni Di Sirio 4f5fea2159 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14385 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-05-17 11:36:16 +00:00
Giovanni Di Sirio eeba727504 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14384 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-05-17 08:39:56 +00:00
Giovanni Di Sirio 118014dfcb Fixed wrong sysclk check, added wait states check.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14382 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-16 17:39:04 +00:00
Giovanni Di Sirio b146978067 Dynamic clock model for RP2040.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14381 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-15 19:49:51 +00:00
Giovanni Di Sirio 2d4e29da76 More common BD code.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14380 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-15 17:08:09 +00:00
Giovanni Di Sirio c6f4664b18 Using centralized BD functions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14379 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-15 16:40:33 +00:00
Giovanni Di Sirio e578d34b07 Using CMSIS conventions, more clock improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14378 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-15 16:36:49 +00:00
Giovanni Di Sirio bae760ccff Voltage regulator polling added, reorganization in hal.h.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14377 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-15 13:39:41 +00:00
Giovanni Di Sirio f0e860ed98 Renamed in hal_lld_clock_check_tree().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14376 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-15 12:33:47 +00:00
Giovanni Di Sirio 8cf382bbe1 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14375 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-05-15 12:26:43 +00:00
Giovanni Di Sirio 50aac6e69f Introduced a type for clock points.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14373 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-15 11:53:13 +00:00
Giovanni Di Sirio 634a9b55d2 unsigned
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14372 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-15 10:12:23 +00:00
Giovanni Di Sirio 57b068ffa1 Various ADCv4 fixes and enhancements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14357 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-08 09:31:55 +00:00
Giovanni Di Sirio 513a54fff1 Fixed bug #1158.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14354 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-08 08:27:44 +00:00
cinsights 211c3a26b1 RP - tidy up removed prototypes
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14329 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-26 01:57:47 +00:00
Giovanni Di Sirio 70b210860e STM32G0 clock initialization rework, to be tested.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14322 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-25 12:29:20 +00:00
Giovanni Di Sirio 1e046d1ca4 Placed an assertion.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14321 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-25 12:18:44 +00:00
Giovanni Di Sirio 9f06fd0e20 Fixed condition.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14320 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-25 12:11:36 +00:00
cinsights 623c3133ee Minor change to DMA handling of IRQ DMA disable. Modify SPI handling of DMA ERROR macro.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14319 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-25 11:57:34 +00:00
vrepetenko 90ab355458 STM32WLxx port migrated to RCCv1
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14318 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-25 09:52:51 +00:00
vrepetenko b34bcc558b STM32 RCCv1: bd, hse32, pll_v2, ahb2 added. apb2 typo fixed. msi workaroud for undefined RCC_CFGR_SWS_MSI added.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14317 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-25 08:46:32 +00:00
Giovanni Di Sirio 0e274fc310 Single APB variant.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14316 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-25 07:55:43 +00:00
Giovanni Di Sirio 8699cc7113 Compatibility enhancements, code quality enahancements, made minidrivers use offsets defined in CMSS header files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14315 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-25 07:29:31 +00:00
Giovanni Di Sirio 1859ff322e Removed duplicated definitions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14314 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-25 06:58:07 +00:00
Giovanni Di Sirio e337e4c345 Removed even more redundant checks.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14313 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-25 06:08:13 +00:00
Giovanni Di Sirio d8c2249c10 Remove more redundant checks.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14312 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-25 05:45:39 +00:00
Giovanni Di Sirio 5aa08e0ab4 Removed redundant checks.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14311 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-25 05:36:43 +00:00
Giovanni Di Sirio ffe54e9023 White space fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14310 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-25 05:21:46 +00:00
Giovanni Di Sirio 21dd472b24 Updated registry names for RCC.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14309 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 19:30:46 +00:00