Giovanni Di Sirio
e884447d14
Serial driver updated, fixed SIO template.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14825 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-24 09:57:55 +00:00
Giovanni Di Sirio
c8814018b2
Introduced HAL error codes, SIO driver updated.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14824 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-24 09:35:36 +00:00
Giovanni Di Sirio
301e1a68a4
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14822 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-23 14:57:22 +00:00
Giovanni Di Sirio
06e40c102d
Added fractional support to PLL, forced inline for all inline functions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14821 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-23 13:40:45 +00:00
Giovanni Di Sirio
68278338b0
Fixed bug #1190 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14820 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-23 13:16:51 +00:00
Giovanni Di Sirio
75f61c0946
More work on RCCv2 clock handlers.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14816 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-22 10:08:23 +00:00
Giovanni Di Sirio
ade12538d6
More clock tree definitions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14815 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-21 14:22:22 +00:00
Giovanni Di Sirio
8f6f9086cd
Added LSI handler to RCCv2.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14814 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-21 12:50:33 +00:00
Giovanni Di Sirio
5567835ef7
Added more clock handlers for RCCv2.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14813 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-21 11:44:41 +00:00
Giovanni Di Sirio
62d5bc81ae
More work on MP1 clock tree.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14812 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-20 17:10:03 +00:00
Giovanni Di Sirio
5db0577f85
Typos and macro redefinition fixed.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14811 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-20 16:28:44 +00:00
Giovanni Di Sirio
9ce0fb3636
MP1 clock tree code, part of it.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14810 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-20 13:28:51 +00:00
Giovanni Di Sirio
568f75e357
MP1 HAL stub files, it compiles.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14807 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-20 07:49:46 +00:00
Giovanni Di Sirio
13387302f8
Support for STM32G031, STM32G041, STM32G0B1, STM32G0C1.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14806 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-20 05:46:38 +00:00
Giovanni Di Sirio
8ccfb00a42
Better defaults.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14804 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-19 08:46:32 +00:00
Giovanni Di Sirio
b54c6ba3b5
Fixed bug #1189 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14802 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-19 08:16:52 +00:00
Giovanni Di Sirio
d6b2eb0f98
More checks on IRQ sharing combinations.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14801 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-19 05:54:45 +00:00
Giovanni Di Sirio
9d6a1cc287
Fixes on latest G0 changes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14799 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-18 19:26:45 +00:00
Giovanni Di Sirio
a92e2a1bc9
More G031 support.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14797 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-18 14:50:43 +00:00
Giovanni Di Sirio
b1c8b32933
Initial changes for G031.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14796 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-18 14:11:21 +00:00
Giovanni Di Sirio
dfdc200e24
Fixed typo.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14795 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-18 12:47:39 +00:00
Giovanni Di Sirio
80fd894033
G0B1 demo compiles now.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14794 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-18 12:33:11 +00:00
Giovanni Di Sirio
1cc19e1772
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14793 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-18 11:29:55 +00:00
Giovanni Di Sirio
02b0a80766
More G0B1 support files.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14792 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-18 10:00:19 +00:00
Giovanni Di Sirio
6bfe78e699
Changes for supporting large G0 devices.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14789 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-18 08:44:32 +00:00
Giovanni Di Sirio
d6fe09fa36
Support for STM32G031, STM32G0B1, STM32G0C1.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14787 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-18 08:10:49 +00:00
Giovanni Di Sirio
c94f9e0460
Startup update for STM32G0xx.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14786 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-18 07:31:02 +00:00
Giovanni Di Sirio
de6b6ac633
PWM definitions for RP2040.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14784 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-17 13:22:48 +00:00
Giovanni Di Sirio
8290d00ac3
More MP1 support files.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14783 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-17 13:11:28 +00:00
Giovanni Di Sirio
4b9ca83265
Support for separated TIM12 and TIM13.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14782 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-17 10:03:55 +00:00
Giovanni Di Sirio
aeb5f757d2
More MP1 support.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14781 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-17 09:58:09 +00:00
Giovanni Di Sirio
6f7c98e067
Missing comment.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14780 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-17 09:37:39 +00:00
Giovanni Di Sirio
330701b8d8
MP1-related support files
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14779 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-17 09:32:05 +00:00
Giovanni Di Sirio
2d20916325
Small fix in preprocessor conditions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14778 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-16 10:29:50 +00:00
Giovanni Di Sirio
6bf853595a
More MP1 files.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14776 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-16 10:13:45 +00:00
Giovanni Di Sirio
006bd475f6
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14775 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-16 10:09:57 +00:00
Giovanni Di Sirio
3df6375cca
MP1 startup support, not complete.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14774 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-16 09:42:22 +00:00
Giovanni Di Sirio
ff84acb723
Reverted I2S check change.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14773 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-16 09:33:35 +00:00
akscram
6b9f9c095c
added support for STM32G491
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14772 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-15 06:18:48 +00:00
akscram
6cf259dfe6
STM32H7xx: fixed size of SRAM3 NOCACHE region
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14770 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-14 09:43:54 +00:00
akscram
91672d22ac
STM32: fixed F4 check when I2S disabled
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14769 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-14 09:43:46 +00:00
akscram
9c1dfc0b2f
STM32: enable TIM15,16,17 on STM32H7xx
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14768 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-14 09:43:39 +00:00
akscram
537f7aadbe
STM32: fixed range of PLL2_DIVP and PLL3_DIVP for H7
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14767 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-14 09:43:31 +00:00
akscram
3de0c64dd2
STM32: fixed clock selection error for LPTIM for STM32H7xx
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14766 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-14 09:43:22 +00:00
akscram
26f74fcbd3
STM32: fixed rounding of uart clocks
...
this gives a closer fit to requested baudrate
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14765 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-14 09:43:14 +00:00
akscram
0a02efcf3d
STM32: fixed STM32_OTG_STEPPING for STM32F405
...
bizarrely, this caused USB disconnects when writing to PA9 (USART1_TX)
on a STM32F405 which had USB on PA11/PA12
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14764 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-14 09:43:05 +00:00
akscram
03d810ab0c
STM32: added missing DMA stream for SPI1_TX on STM32F412
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14763 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-14 09:42:57 +00:00
akscram
81fa06d8bc
add dma stream for stm32f412x
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14762 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-14 09:42:49 +00:00
Giovanni Di Sirio
5bcdef25f0
Compensation loop also on the 1st timer. Assertions fallback if RFCU is disabled.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14761 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-13 12:57:09 +00:00
Giovanni Di Sirio
a53ffeb3db
Extra "skip" check.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14760 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-13 10:01:18 +00:00