Giovanni Di Sirio
17e08c7939
Added an abort on overflow error.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14972 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-31 06:02:45 +00:00
Giovanni Di Sirio
a72d0f8186
SPIv2 driver now working on STM32H7.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14971 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-31 05:26:00 +00:00
Giovanni Di Sirio
0bb473e0fc
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14970 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-30 10:42:00 +00:00
Giovanni Di Sirio
5fae5da19c
Fixed some conditions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14969 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-29 08:03:57 +00:00
Giovanni Di Sirio
184683e70c
SPIv3 tentative enhancements, not complete and broken. Some documentation fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14967 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-27 14:35:34 +00:00
Giovanni Di Sirio
4bd8290a35
Fixed missing function prototype.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14965 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-27 08:09:18 +00:00
Giovanni Di Sirio
c7cff40230
Added an option for the SPI transmit pattern.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14963 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-27 07:58:28 +00:00
Giovanni Di Sirio
ab9469553a
Extended SPIv2 driver to F0, F3, F37x. F7, G0.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14957 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-26 12:22:39 +00:00
Giovanni Di Sirio
0e855bf8c9
Fixed small regression.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14956 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-26 11:44:56 +00:00
Giovanni Di Sirio
b73feac604
SPIv2 support added to L4 and L4+ families. Made GPIOv2 and GPIOv3 definitions more compatible (L4 affected).
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14955 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-26 10:42:40 +00:00
Giovanni Di Sirio
205c3ab699
Improved comments.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14954 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-26 09:42:11 +00:00
Giovanni Di Sirio
6409533d46
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14953 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-26 09:39:51 +00:00
Giovanni Di Sirio
aa8b8060b3
Slave mode now working apparently. Improved SPI stop/abort procedure.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14952 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-26 09:02:55 +00:00
Giovanni Di Sirio
bf8693b950
Small improvement.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14950 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-25 14:38:11 +00:00
Giovanni Di Sirio
0c96eb0df0
Safer SPI stop procedure.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14948 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-25 12:31:29 +00:00
Giovanni Di Sirio
87b54b56c3
Fixed few wrong conditions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14947 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-25 12:23:32 +00:00
Giovanni Di Sirio
47ff415e48
Mass update of halconf.h files.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14945 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-24 15:48:38 +00:00
Giovanni Di Sirio
114e173488
Removed dead "SPI_USE_CIRCULAR" option. Added a SPI slave test. Updated halconf.h template.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14944 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-24 15:44:18 +00:00
Giovanni Di Sirio
6a0c094edc
Added __eabi() function to e200 GCC startup file.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14943 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-24 07:16:41 +00:00
Giovanni Di Sirio
8434a76fe5
Change for slave mode support, to be tested.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14941 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-23 13:59:04 +00:00
Giovanni Di Sirio
6da5b1616d
Added separate sink/souce for each SPI instance.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14940 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-23 13:16:52 +00:00
Giovanni Di Sirio
425fe48460
Fixed DMA disable and SPI settings.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14938 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-22 11:06:47 +00:00
Giovanni Di Sirio
e3f3484ea4
Few fixes, SPI v2 enabled on STM32G4xx experimentally.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14937 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-22 09:51:41 +00:00
Giovanni Di Sirio
bb00a2b52b
Various fixes to SPIv2 driver, added test application, to be tested.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14936 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-22 08:32:39 +00:00
Giovanni Di Sirio
73df9ed5f9
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14935 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-21 11:51:24 +00:00
Giovanni Di Sirio
82eb284d81
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14933 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-21 11:45:35 +00:00
Giovanni Di Sirio
ce7b5bfd86
Fixed bug #1199 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14931 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-21 11:29:38 +00:00
Giovanni Di Sirio
bfebc16ac6
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14930 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-21 10:03:37 +00:00
Giovanni Di Sirio
d694445930
Fixed a small compliance problem with C++11.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14929 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-21 09:40:35 +00:00
Giovanni Di Sirio
2edd321b81
Fixed a comment.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14928 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-21 09:37:41 +00:00
Giovanni Di Sirio
68afb67569
Fixed bug #1198 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14926 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-21 09:36:15 +00:00
Giovanni Di Sirio
e703a98d9e
Experimental clock tree generator.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14924 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-20 14:38:35 +00:00
Giovanni Di Sirio
30ec4bd812
Changed defaults for PLLSAIxN on STM32L4+ (72->60).
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14923 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-20 14:35:35 +00:00
Giovanni Di Sirio
1a07eaf04d
Fixed some build regressions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14922 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-20 08:44:27 +00:00
Giovanni Di Sirio
0778b904cb
Fixed bug #1197 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14921 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-20 07:25:25 +00:00
Giovanni Di Sirio
f3ed688f1a
Missing DMA2 macros
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14920 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-19 14:20:13 +00:00
Giovanni Di Sirio
6de1cfd7f8
USB-related changes for STM32G0B1 devices. To be tested.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14919 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-19 09:52:16 +00:00
Giovanni Di Sirio
8c021bfac5
Simplified handling of circular mode.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14918 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-17 14:42:23 +00:00
Giovanni Di Sirio
ff2b03c863
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14917 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-17 13:36:49 +00:00
Giovanni Di Sirio
f83396ec38
More SPI v2 code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14916 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-17 10:30:42 +00:00
Giovanni Di Sirio
e5098d67e4
Experimental SPI v2 code, not finished.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14915 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-17 08:56:23 +00:00
Giovanni Di Sirio
a0982b7301
HAL version number to 8.0. Renamed HAL error codes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14914 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-16 17:21:41 +00:00
Giovanni Di Sirio
df4d988e1b
Implemented a mux between SPI v1 and SPI v2 drivers. Work in progress.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14913 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-16 15:22:52 +00:00
Giovanni Di Sirio
83f6c83a94
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14912 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-15 18:02:12 +00:00
Giovanni Di Sirio
d828888864
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14911 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-14 14:29:34 +00:00
Giovanni Di Sirio
4d8264e833
White space fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14910 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-14 08:05:44 +00:00
Giovanni Di Sirio
aeabe0ca2a
Documentation fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14909 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-14 07:51:32 +00:00
Giovanni Di Sirio
2070147fe6
Experimental code, to be removed.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14908 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-13 14:47:22 +00:00
Giovanni Di Sirio
d0cc26c4ed
Documentation-related fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14907 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-13 12:47:39 +00:00
Giovanni Di Sirio
de716ad412
Fixed SB messages with timeout.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14905 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-13 09:27:02 +00:00
Giovanni Di Sirio
c6b5034fb9
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14902 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-12 12:04:21 +00:00
Giovanni Di Sirio
f87f0d1d65
Dynamic regions support and demo, to be tested.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14901 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-12 08:48:07 +00:00
Giovanni Di Sirio
5664a8ffd0
Removed SB initialization function.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14900 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-12 07:31:09 +00:00
Giovanni Di Sirio
b84aca5137
Added a global event for sandboxes monitoring.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14899 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-12 07:17:56 +00:00
Giovanni Di Sirio
5d7006ac84
New SB API working, it breaks the old demo, to be reworked or removed.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14896 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-11 13:40:47 +00:00
Giovanni Di Sirio
da1767c30a
Resolved a race condition.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14895 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-11 08:31:26 +00:00
Giovanni Di Sirio
155c995544
Reverted bug #1196 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14891 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-10 13:55:51 +00:00
Giovanni Di Sirio
f45c45c57e
Missing file.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14889 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-10 10:52:42 +00:00
Giovanni Di Sirio
66ee9ca506
SB support in ARMv7-M-ALT port, work in progress.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14888 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-10 10:45:17 +00:00
cinsights
7468c1ad68
Fixed bug #1196 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14887 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-10 08:42:11 +00:00
Giovanni Di Sirio
54047c87d9
draft file
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14886 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-08 15:02:52 +00:00
vrepetenko
0c103fc862
Updated device names.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14885 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-08 14:26:44 +00:00
Giovanni Di Sirio
1600d09deb
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14884 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-08 13:20:07 +00:00
Giovanni Di Sirio
56bae94e37
Fixed MPU regions switching.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14883 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-08 12:25:37 +00:00
Giovanni Di Sirio
df3b1c734a
CONTROL store in context made conditional.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14882 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-08 11:32:39 +00:00
Giovanni Di Sirio
ef748cc4c6
Small performance optimization.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14881 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-08 10:17:20 +00:00
Giovanni Di Sirio
e80ec0c644
Removed CONTROL from saved context.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14877 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-07 14:32:55 +00:00
Giovanni Di Sirio
dd5e10df69
More syscall-related code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14876 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-06 13:21:33 +00:00
Giovanni Di Sirio
10e2924d17
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14874 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-05 18:52:24 +00:00
Giovanni Di Sirio
3999f4b162
Support for non-privileged threads, support for syscall (not complete).
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14873 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-05 12:26:48 +00:00
Giovanni Di Sirio
77b27c1370
Syscall-related code, not finished.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14872 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-04 09:40:22 +00:00
Giovanni Di Sirio
258159daf0
Cleanup.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14871 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-04 08:42:56 +00:00
Giovanni Di Sirio
4e6352093c
Changed limit for fast priorities.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14870 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-03 20:47:49 +00:00
Giovanni Di Sirio
47ada686cc
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14869 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-03 17:38:13 +00:00
Giovanni Di Sirio
5aae751992
Fixed an harmless warning under rare conditions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14867 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-03 13:39:11 +00:00
Giovanni Di Sirio
f68cb0f52c
Enabled MPU stack check.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14865 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-03 13:27:37 +00:00
Giovanni Di Sirio
102016ca2e
Small optimization.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14864 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-03 10:39:22 +00:00
Giovanni Di Sirio
8db7a89fe6
Small optimization.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14863 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-03 07:38:48 +00:00
Giovanni Di Sirio
82b03e885e
Fixed issue with state checker.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14862 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-03 07:14:08 +00:00
Giovanni Di Sirio
2aadae694c
More clear code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14861 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-03 06:56:35 +00:00
Giovanni Di Sirio
289dd34eb7
Improved latencies, added report.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14854 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-30 06:54:57 +00:00
akscram
d7e8971bc9
ADCv4: removed incorrect asserts for H7
...
these are not needed
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14850 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-30 05:02:02 +00:00
Giovanni Di Sirio
500214e7cd
Missing initialization, fixed MPU regions storage area.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14849 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-29 13:38:35 +00:00
Giovanni Di Sirio
a2bdca5a24
consistency improvements
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14848 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-29 12:54:09 +00:00
Giovanni Di Sirio
4dd944b332
v7m alt port working, options not tested.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14847 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-29 12:28:50 +00:00
Giovanni Di Sirio
1303997423
Experimental alternate ARMv7-M port, not complete.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14843 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-28 09:56:13 +00:00
Giovanni Di Sirio
405cfa3103
typo
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14842 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-28 09:54:26 +00:00
akscram
89633c9685
SPIv3: fixed missing spi_lld_wait_complete in spi_lld_ignore()
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14840 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-28 08:18:43 +00:00
Giovanni Di Sirio
11cf4acb71
NIL version number.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14838 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-26 16:54:00 +00:00
Giovanni Di Sirio
98399dc459
Fixed bug #1192 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14835 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-26 16:48:00 +00:00
Giovanni Di Sirio
5f453e4ad1
Fixed bug #1191 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14834 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-26 16:45:09 +00:00
Giovanni Di Sirio
9f962f75bc
PLL3 initialization now works.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14832 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-25 07:07:15 +00:00
Giovanni Di Sirio
09f1147848
Now all xxxStart() functions in HAL are able to report a driver activation error.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14831 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-24 13:20:31 +00:00
Giovanni Di Sirio
f25012272b
More drivers updated.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14830 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-24 12:02:14 +00:00
Giovanni Di Sirio
ae436f0df4
Enhanced more drivers.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14829 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-24 11:44:44 +00:00
Giovanni Di Sirio
31d15098f9
Incorrect macro name fixed.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14828 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-24 11:05:19 +00:00
Giovanni Di Sirio
caa9b25ac4
Updated ADC, CAN. Enforced return to XXX_STOP state on failure.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14827 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-24 10:16:53 +00:00
Giovanni Di Sirio
9c05ff1f6a
Updated UART HLD.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14826 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-24 10:01:13 +00:00
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
Giovanni Di Sirio
1b95d15504
More optimizations.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14759 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-13 09:23:12 +00:00
Giovanni Di Sirio
5dec8a8f1f
Removed a temporary note.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14758 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-13 09:02:13 +00:00