vrepetenko
98cc36b6e9
Removed HAL unrelated definitions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15004 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-03 19:14:35 +00:00
Giovanni Di Sirio
d773c280f9
Startup file for STM32H7xx-M4. Added check for cache invalidation, it is done only for the M7.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15003 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-03 12:22:27 +00:00
Giovanni Di Sirio
5468b21692
Dropped peripheral allocation via RCC concept.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15001 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-03 09:45:08 +00:00
Giovanni Di Sirio
c3bc999a9a
STM32 ADCv2 now supports return code on start function.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15000 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-03 08:49:44 +00:00
Giovanni Di Sirio
dcc0824e97
Style-related fixes, mainly white space.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14999 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-03 07:01:57 +00:00
Giovanni Di Sirio
ba6f180920
Special case for single core devices.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14998 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-02 18:05:14 +00:00
Giovanni Di Sirio
409d385c3f
Fixed regresssion.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14997 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-02 17:59:05 +00:00
Giovanni Di Sirio
475511a199
Experimental improved RCC for H7.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14996 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-02 16:08:46 +00:00
Giovanni Di Sirio
066b450ad7
Cleanup.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14991 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-01 10:20:34 +00:00
Giovanni Di Sirio
a240a49330
Uncomplete bindings.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14987 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-31 18:29:40 +00:00
Giovanni Di Sirio
e0eb252346
Enabled slave mode for STM32 SPIv3.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14984 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-31 13:01:59 +00:00
Giovanni Di Sirio
e1732a23c0
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14973 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-31 06:34:00 +00:00
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
Giovanni Di Sirio
135f0adc40
Small performance improvement.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14757 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-13 09:01:02 +00:00
Giovanni Di Sirio
c0e43f15bd
Documented a coding choice.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14756 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-13 08:53:39 +00:00
Giovanni Di Sirio
05341e15fc
Comment fix.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14755 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-13 08:46:00 +00:00
Giovanni Di Sirio
50364905b9
Optimization on the "alarm retry" path.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14754 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-13 08:44:07 +00:00
Giovanni Di Sirio
3328a2c1b5
Bob's optimizations.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14751 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-13 07:22:58 +00:00
Giovanni Di Sirio
572b04f3b3
Fixed a corner case.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14748 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-10 08:57:13 +00:00
Giovanni Di Sirio
c25750e43a
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14747 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-08 11:25:29 +00:00
Giovanni Di Sirio
4f526178e1
Fixed bug #1185 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14745 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-08 08:28:57 +00:00
vrepetenko
6e231c5a93
Added platform_v2.mk to support SYSTICKv2. Removed unsupported CRYPv1 driver dependency.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14738 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-05 16:51:45 +00:00
vrepetenko
55a7458b16
Fixed Radio SPI name typo.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14737 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-05 16:48:07 +00:00
vrepetenko
ccd9ffa6db
Added EXTI dependency.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14736 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-05 16:46:57 +00:00
Giovanni Di Sirio
8b580c5e8e
Fixed #1183 . More VT improvements.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14731 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-04 08:27:45 +00:00
Giovanni Di Sirio
f8824f15a8
Documentation improved.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14730 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-03 07:39:45 +00:00
Giovanni Di Sirio
3621798c9b
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14728 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-02 15:43:38 +00:00
Giovanni Di Sirio
3407139cf6
Virtual timers tolerance to insufficient delta, experimental.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14727 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-02 08:12:16 +00:00
Giovanni Di Sirio
0980d3af53
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14726 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-01 13:28:52 +00:00
Giovanni Di Sirio
99bda6d99f
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14721 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-31 13:09:26 +00:00
Giovanni Di Sirio
d3388d2cc0
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14720 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-30 19:13:25 +00:00
cinsights
b1dfaea9d1
Fix GPIO config masking off pup/pdn, Schmitt & slew controls.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14714 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-27 07:37:37 +00:00
Giovanni Di Sirio
9a84f21e8c
Made STM32H7 non-cacheable memory option also shareable.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14702 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-25 07:35:39 +00:00
Giovanni Di Sirio
70a209be53
Added intctx size to RT registry,
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14700 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-23 08:20:21 +00:00
Theodore Ateba
e9eb2e7e6a
Update AVR XMEGA SPI low level driver.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14696 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-22 09:13:40 +00:00
Theodore Ateba
c8ab0b918e
Update AVR MEGA SPI low level driver.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14695 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-22 09:13:37 +00:00
Theodore Ateba
db41e75526
Update ADC low level driver header file.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14693 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-22 01:26:33 +00:00
Giovanni Di Sirio
75ef9ddb35
Added macro for memory pointer 1.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14691 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-21 06:24:03 +00:00
Giovanni Di Sirio
55252838ab
Fixed bug #1182 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14689 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-20 09:51:17 +00:00
Giovanni Di Sirio
33de459b33
Fixed bug #1181 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14687 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-20 09:29:31 +00:00
Giovanni Di Sirio
3cb253773a
Fixed bug #1180 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14685 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-20 08:48:12 +00:00
Giovanni Di Sirio
243ba25a28
Fixed bug #1179 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14682 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-20 08:38:22 +00:00
Giovanni Di Sirio
13cb769b9d
Fixed bug #1177 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14672 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-19 09:46:09 +00:00
Giovanni Di Sirio
3968b919bd
EFL driver and demo for STM32F3xx.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14670 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-19 09:26:48 +00:00
Giovanni Di Sirio
1edee0013b
Fixed bug #1176 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14668 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-19 09:12:30 +00:00
Rocco Marco Guglielmi
5672eda74a
Fixed bug #1174
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14664 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-17 10:41:14 +00:00
Giovanni Di Sirio
0d70a02bdd
Fixed bug #1173 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14660 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-17 06:00:45 +00:00
Giovanni Di Sirio
21e85c2e8a
Small MISRA fix.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14659 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-16 08:51:20 +00:00
Giovanni Di Sirio
e70bd5536f
More warnings cleanup, restored RT test build application.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14658 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-16 08:48:14 +00:00
Giovanni Di Sirio
6975e6673e
Small optimizations in stack filling code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14657 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-16 08:39:03 +00:00
Giovanni Di Sirio
40405ac29c
Fixed bug #1172 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14656 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-16 06:35:45 +00:00
Giovanni Di Sirio
0f5d824027
Fixed bug #1171 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14655 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-16 06:29:41 +00:00
Giovanni Di Sirio
fb5eb3a51d
Fixed bug #1170 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14654 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-16 06:22:31 +00:00
Giovanni Di Sirio
94e1124a44
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14653 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-15 18:22:57 +00:00
Giovanni Di Sirio
9fdafd19bf
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14652 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-15 16:35:44 +00:00
Giovanni Di Sirio
258587096d
Fixed bug #1169 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14651 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-15 14:37:13 +00:00
Giovanni Di Sirio
491a4891fb
Made code compatible with -Wcast-align=strict.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14649 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-15 10:50:26 +00:00
cinsights
5c471d4429
Fix RP2040 USB & PIO AHB offsets
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14647 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-14 12:43:34 +00:00
Theodore Ateba
994bf67b0c
Update Cryto lld driver to fix compilation error.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14644 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-12 20:39:45 +00:00
Rocco Marco Guglielmi
876470d8c2
Fixed Bug #1166
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14640 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-12 08:09:35 +00:00
Giovanni Di Sirio
7fe2867121
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14636 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-11 05:09:08 +00:00
akscram
2918634c1a
STM32WB: use RCCv1
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14635 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-10 22:48:05 +00:00
akscram
6ad1a238cd
STM32/RCCv1: fix thresholds for PLLP and PLLR values
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14634 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-10 22:33:42 +00:00
akscram
c528813aae
STM32/ADCv3: remove unreachable code for STM32WB
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14633 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-08-10 22:19:57 +00:00
vrepetenko
096eefc016
Fixed alarm disable problem in st_lld_serve_interrupt.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14630 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-31 11:08:18 +00:00
vrepetenko
a3e8ab79bb
Added SYSTICKv2 initial version.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14629 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-31 10:28:46 +00:00
vrepetenko
c7ea01877f
Fixed STM32_ADCSEL name, added STM32_RNGSEL default value.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14627 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-28 14:24:03 +00:00
vrepetenko
d21a907e0c
Fixed warnings with __STATIC_INLINE, modified target core checks.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14625 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-26 09:31:10 +00:00
Giovanni Di Sirio
5bbbe91ccb
Fixed warnings.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14619 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-26 07:51:51 +00:00
vrepetenko
fc407d0086
Fixed RCC_CFGR_SWS_MSI definition.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14618 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-25 22:07:20 +00:00
vrepetenko
94be09c796
Added STM32WL support.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14617 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-25 06:50:44 +00:00
vrepetenko
91e6d923a2
STM32WL port: added CM0+ core support, fixed ADC driver version, fixed typos.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14616 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-25 06:48:57 +00:00
akscram
cc99d468a5
ci: unpack ext deps and fix some builds
...
* Unpack external dependencies located under the ext/ directory before
build projects.
* Added a mechanism to skip build failures. SPC5 projects that require
ppc-freevle-eabi-gcc and ccppc are skipped.
* Fixed small compilation errors with undefined variables.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14614 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-24 21:03:37 +00:00
vrepetenko
3188a3252f
fixed single channel DAC support
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14613 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-24 16:36:49 +00:00
vrepetenko
5b35ee9ab8
replaced TRNG frequency check macro with osalDbgAssert
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14611 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-23 18:26:26 +00:00
cinsights
77b759cd80
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14608 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-22 13:08:16 +00:00
cinsights
91c33f902c
Add L4P/Q5 to mucconf updater and demo mcuconfs
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14607 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-22 10:18:08 +00:00
cinsights
592dd0802c
Adding STM32L4P/Q5
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14606 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-22 09:38:28 +00:00
cinsights
28f8e86779
Fix typo in WL for definition of STM32_SPI2SEL
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14605 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-17 07:10:22 +00:00
Giovanni Di Sirio
7474921bb2
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14603 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-16 04:22:42 +00:00
Giovanni Di Sirio
98ccc315fa
Fixed RTC alarms problem.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14602 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-15 08:44:13 +00:00
Giovanni Di Sirio
8e7c129fc8
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14600 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-14 13:17:50 +00:00
Giovanni Di Sirio
4f0085557c
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14599 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-13 07:50:29 +00:00
Giovanni Di Sirio
10353ab46f
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14595 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-09 11:46:58 +00:00
vrepetenko
5e156fe808
STM32WL port: STM32_HSE32SRC checks moved from stm32_hse32.inc to hal_lld.h, deleted TCXO activation, added TCXO related check.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14594 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-09 10:49:49 +00:00
Rocco Marco Guglielmi
5f4e72966b
Added support and demo for ADI_EVAL_SDP_CK1Z
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14593 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-09 10:08:12 +00:00
Rocco Marco Guglielmi
0d669e96e4
Fixed scatter file of the STM32F469xI
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14592 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-09 10:03:42 +00:00
Giovanni Di Sirio
8eb2605294
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14589 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-08 08:08:30 +00:00
Giovanni Di Sirio
b5e021a48f
Fixed schema, added template XML. Existing test suites to be updated.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14588 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-05 16:50:52 +00:00
Giovanni Di Sirio
f3d1ff500b
Fixed bug #1164 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14583 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-02 15:11:35 +00:00
Giovanni Di Sirio
49c0258e8c
Fixed missing file in rt.mk.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14581 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-07-01 19:24:00 +00:00
vrepetenko
2c1a88abb4
STM32WL port: fixed MSI init, reworked PLLxCLK naming, PLL/HSI16/MCO enable checks, added SPI2S2 clock source check and frequency.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14580 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-30 12:25:49 +00:00
vrepetenko
419b8d208a
Fixed STM32WL STM32_SPI2S2SEL name, PLLQ source name and related mcuconf.h files.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14579 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-30 07:33:47 +00:00
Giovanni Di Sirio
bff0553eb4
Tentative fix for RTC access.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14576 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-27 09:07:53 +00:00
Giovanni Di Sirio
2cbee868c9
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14575 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-27 06:57:50 +00:00
Giovanni Di Sirio
8f8bad57f9
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14574 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-27 06:40:46 +00:00
Giovanni Di Sirio
2d57a758fb
Test suite XML schema added.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14573 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-22 12:49:07 +00:00
vrepetenko
efb940b99f
Fixed DMA check macros, added DMAMUX support.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14572 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-22 09:58:45 +00:00
Giovanni Di Sirio
c8f6fe81f2
Small optimizations.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14569 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-22 08:32:34 +00:00
Giovanni Di Sirio
9ca6a12c92
Fixed bug #1162 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14566 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-21 10:20:27 +00:00
vrepetenko
81de6f745c
Fixed DMA channels validation.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14563 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-19 08:38:52 +00:00
Giovanni Di Sirio
11cd95d11a
More enhancements.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14562 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-18 12:17:03 +00:00
Giovanni Di Sirio
699d1b9187
Fixed paths.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14561 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-18 08:56:30 +00:00
Giovanni Di Sirio
30d3da41d2
New test engine, not finished.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14560 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-18 08:53:09 +00:00
Giovanni Di Sirio
369b1bca7e
Fixed wrong macro check.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14555 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-14 17:24:26 +00:00
Giovanni Di Sirio
0550467881
Fixed bug #1160 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14547 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-13 12:39:41 +00:00
Giovanni Di Sirio
601349daa3
Fixed register name.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14546 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-13 12:32:22 +00:00
Giovanni Di Sirio
4212fc7492
Added a missing check.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14545 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-13 10:05:24 +00:00
Giovanni Di Sirio
eef7c4e7fc
MISRA-related fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14544 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-13 09:59:48 +00:00
Giovanni Di Sirio
bf475d92c6
MISRA-related fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14543 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-13 09:25:32 +00:00
Giovanni Di Sirio
b0db601343
Documentation-related fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14541 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-13 08:47:53 +00:00
Giovanni Di Sirio
606a4c3b59
Documentation-related fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14540 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-13 08:28:06 +00:00
Giovanni Di Sirio
6f9224b708
Documentation-related fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14539 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-13 08:24:40 +00:00
Giovanni Di Sirio
55999b72ef
Documentation-related fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14538 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-13 08:21:56 +00:00
Giovanni Di Sirio
192515128b
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14536 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-12 14:43:16 +00:00
Giovanni Di Sirio
0cee7904b2
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14535 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-12 12:38:28 +00:00
Giovanni Di Sirio
24ea4a3706
Untangled some conditions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14534 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-12 06:41:14 +00:00
Giovanni Di Sirio
eb4b93f6cb
Faster chThdExit().
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14533 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-12 06:10:57 +00:00
Giovanni Di Sirio
c9e9f3cc21
More optimizations.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14532 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-12 06:05:34 +00:00
Giovanni Di Sirio
f093064acb
Minor improvements to VTs and VT-storm test application.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14531 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-12 05:45:59 +00:00
Giovanni Di Sirio
31941eb642
Made unlikely all debug paths.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14530 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-11 12:41:37 +00:00
Giovanni Di Sirio
d809d56f22
More code path predictions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14529 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-11 11:57:46 +00:00
Giovanni Di Sirio
8c88c49fac
Performance improvements thanks to code paths tuning using likely/unlikely macros.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14528 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-11 10:04:12 +00:00
Giovanni Di Sirio
b81214fbc4
Added likely/unlikely infrastructure in RT, implementation details in the port layer. Added an __CH_USED() macro for voiding expression results.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14527 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-11 06:49:23 +00:00
Giovanni Di Sirio
220a01ed52
Fixed MCO selection.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14517 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-08 14:11:49 +00:00
Giovanni Di Sirio
edf3667d2e
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14516 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-08 10:41:15 +00:00
Giovanni Di Sirio
8982ef3028
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14514 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-07 12:11:49 +00:00
Giovanni Di Sirio
085d4faf43
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14513 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-07 12:10:26 +00:00
Giovanni Di Sirio
fb572f9842
Added chEvtRegisterMaskWithFlagsI().
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14512 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-07 12:07:57 +00:00
vrepetenko
5eb44d6c8e
STM32WL port: clock management updated.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14511 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-07 09:17:42 +00:00
Giovanni Di Sirio
85d6dd3806
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14507 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-06 18:38:01 +00:00
Giovanni Di Sirio
713e9fcc6c
Mirrored SPIR as SPI3.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14506 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-06 17:55:52 +00:00
vrepetenko
0377fa2792
SUBGHZ abbreviation changed from RTR to SG, SPIR removed from SPIv2.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14503 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-06 14:16:29 +00:00
Giovanni Di Sirio
e860742c4b
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14501 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-06 09:01:16 +00:00
Giovanni Di Sirio
94b88b3c41
Missing initializations and some code reorganization.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14500 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-06 07:42:00 +00:00
Giovanni Di Sirio
cbb355f514
Removed not needed change.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14499 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-06 06:25:44 +00:00
Giovanni Di Sirio
ec949c90a7
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14495 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-05 13:37:03 +00:00
Giovanni Di Sirio
bdc05d4041
Fixed remaining time returned by chVTGetRemainingIntervalI().
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14494 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-05 10:48:08 +00:00
Giovanni Di Sirio
6d8b77bde9
Fixed WB support.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14491 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-05 10:34:46 +00:00
Giovanni Di Sirio
002f7a9920
CMSIS RTOS alignment to new timers.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14490 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-05 10:34:21 +00:00
vrepetenko
814bfeee74
STM32WL port: missed DMAMUX RCC operations added.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14485 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-05 07:54:49 +00:00
Giovanni Di Sirio
1a3c934a27
Documentation improvements.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14481 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-05 07:16:28 +00:00
Giovanni Di Sirio
80f66f0e49
Removed useless check.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14480 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-05 07:13:06 +00:00
Giovanni Di Sirio
73bd4a0892
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14479 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-05 07:09:15 +00:00
Giovanni Di Sirio
7667c9122f
Implemented mechanism for memory affinity.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14477 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-05 05:44:05 +00:00
Giovanni Di Sirio
cba1776dbb
naming problem
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14476 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-05 05:43:14 +00:00
Giovanni Di Sirio
ec1d2e9e55
Removed unused option.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14475 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-05 03:52:17 +00:00
Giovanni Di Sirio
9e59fb4e72
Removed duplicated files for ARM ports: chtypes.h.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14472 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-04 18:14:54 +00:00
Giovanni Di Sirio
3602cb0656
Removed duplicated files, simplified port layer.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14471 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-04 17:33:41 +00:00
Giovanni Di Sirio
870ce41592
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14470 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-04 16:03:38 +00:00
Giovanni Di Sirio
f3b1bd3859
Fixed documentation tags.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14469 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-04 14:50:58 +00:00
Giovanni Di Sirio
0ce2db283b
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14468 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-04 14:11:59 +00:00
Giovanni Di Sirio
be70523cc5
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14467 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-04 14:10:54 +00:00
Giovanni Di Sirio
16c999235d
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14466 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-04 13:07:21 +00:00
Giovanni Di Sirio
9f30e149ba
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14465 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-04 12:11:22 +00:00
Giovanni Di Sirio
e0d5638a2b
Simplified ports interface, used by just ARMv7-M so far. Integration of ccportab.h into port layers ongoing too.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14464 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-04 11:59:01 +00:00
Giovanni Di Sirio
67e27c9902
Updated compiler support headers.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14463 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-04 10:16:01 +00:00
Giovanni Di Sirio
b5438748ef
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14462 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-03 19:09:45 +00:00
Giovanni Di Sirio
c03d38f78f
Added EFL driver for STM32F0xx.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14461 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-03 09:33:46 +00:00
Giovanni Di Sirio
128da3d596
QUADSPIv2 fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14460 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-03 08:39:29 +00:00
Giovanni Di Sirio
369e1b6a5f
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14459 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-03 04:14:16 +00:00
Giovanni Di Sirio
e67df1dc52
Added time stamp calculation functions, removed conversion functions and macros.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14458 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-02 17:32:55 +00:00
cinsights
59968c9465
RP - update RTCv1 clock source function
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14457 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-02 04:15:51 +00:00
Giovanni Di Sirio
1c0a9da005
Added missing static qualifier.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14456 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-01 12:13:57 +00:00
Giovanni Di Sirio
6960a108af
Added mask parameter to chRFCUGetAndClearFaultsI().
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14455 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-01 12:11:41 +00:00
vrepetenko
d7f811f4dd
STM32WL port: clock management updated, PWR_PUCRx/PWR_PDCRx conf/init added.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14454 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-31 18:47:38 +00:00
vrepetenko
e4c81b1f7c
STM32_EXTI_IMR2_MASK value fixed. RTC modes added.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14453 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-31 15:48:28 +00:00
Giovanni Di Sirio
88d44b881c
Removed test assertion.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14451 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-31 09:47:09 +00:00
vrepetenko
524aed7a85
Broken Keil projects fixed.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14448 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-30 20:09:55 +00:00
Giovanni Di Sirio
a9f99bf119
removed unused function
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14446 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-30 12:44:22 +00:00
Giovanni Di Sirio
4e7c68d45f
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14445 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-30 10:57:30 +00:00
Giovanni Di Sirio
28df00609a
Added RFCU support in virtual timers.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14444 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-30 10:32:27 +00:00
Giovanni Di Sirio
9504545dfe
Moved systick driver out of TIMv1.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14443 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-30 08:24:49 +00:00
Giovanni Di Sirio
763f9e6ce0
RFCU implemented.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14442 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-30 07:10:59 +00:00
Giovanni Di Sirio
d71fe57da8
Reload feature for classic timers, to be tested.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14441 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-29 17:59:39 +00:00
Giovanni Di Sirio
9d1810297e
Performance improvement, now much lower "delta" are allowed.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14439 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-29 10:37:13 +00:00
Giovanni Di Sirio
ca2fde8996
Fix for the 1st timer bug.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14438 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-29 08:43:38 +00:00
Giovanni Di Sirio
edca6920d9
Fixed case where HSI48 is not present.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14436 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-28 07:28:35 +00:00
Giovanni Di Sirio
382d2ab827
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14432 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-26 13:47:39 +00:00
Giovanni Di Sirio
1e7edf58ea
STM32 improved ADCv4 driver (H7) with variable sizes samples support.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14431 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-25 09:21:31 +00:00
Giovanni Di Sirio
490802b3b4
Fixed shell for NIL.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14429 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-25 08:35:39 +00:00
Giovanni Di Sirio
f127d6a86f
Enhanced PWR handling for STM32L4+.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14425 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-23 16:24:04 +00:00
Giovanni Di Sirio
f3cfbb664e
Extended PWR support for STM32G4.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14424 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-23 13:56:26 +00:00
Giovanni Di Sirio
603dedb80f
Additional PWR support, fast switch support.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14423 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-23 11:47:18 +00:00
Giovanni Di Sirio
296783fd57
Fixed HSISYS calculation and missing SWs.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14422 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-23 10:40:17 +00:00
Giovanni Di Sirio
eb07eec9a0
Few fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14421 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-23 09:50:46 +00:00
Giovanni Di Sirio
fc914d7c6b
Dynamic support implemented for STM32G0, updated G0 CMSIS files.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14419 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-23 09:43:10 +00:00
vrepetenko
9de05598fa
STM32WL port: clock management added.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14418 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-22 08:17:45 +00:00
vrepetenko
19ef385fca
HSE32 clock frequency macro name typo fixed.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14417 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-22 08:11:11 +00:00
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
cinsights
8b9031083f
Revise assert in VT tick for delta
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14390 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-19 05:46:38 +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
9f705c9d30
Mass update of G4 mcuconf.h files.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14374 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-15 12:03:30 +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
112f264974
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14371 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-15 05:49:19 +00:00
Giovanni Di Sirio
99bdadd4fa
Fixed unused code in tick mode.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14370 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-15 03:53:13 +00:00
Giovanni Di Sirio
8843d76fb6
Added high level clock reconfiguration capability to HAL.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14369 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-14 07:26:37 +00:00
Giovanni Di Sirio
d72a5bf202
More optimizations, unified some common code..
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14368 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-13 11:54:20 +00:00
Giovanni Di Sirio
08c18a1019
Typos, comments and formatting.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14367 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-13 08:43:57 +00:00
Giovanni Di Sirio
1ebfbbaa50
Minor optimization.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14366 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-11 11:53:15 +00:00
Giovanni Di Sirio
27874273d4
More elegant exit condition, no need to check inside the loop anymore.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14365 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-11 10:06:24 +00:00
Giovanni Di Sirio
8b5c492e9e
Moved delta insertion code in lists module.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14364 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-11 09:08:33 +00:00
Giovanni Di Sirio
dabd48d6cc
Small optimization.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14363 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-11 08:46:52 +00:00
Giovanni Di Sirio
9b1eabb208
More optimizations to VTs.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14362 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-10 12:32:13 +00:00
Giovanni Di Sirio
4342e83fa8
Removed some dead code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14359 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-09 11:48:57 +00:00
Giovanni Di Sirio
5349d394b9
Removed compression.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14358 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-09 04:35: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
Giovanni Di Sirio
3bd24546a9
MISRA-related fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14353 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-07 13:30:15 +00:00
Giovanni Di Sirio
0978b1abe5
Missing file.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14352 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-07 12:50:36 +00:00
Giovanni Di Sirio
d5ce3b21ac
Fixed tick mode.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14351 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-07 12:36:45 +00:00
Giovanni Di Sirio
38e27cdbb4
Timers-related changes in various projects.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14350 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-07 12:35:39 +00:00
Giovanni Di Sirio
2472642e17
Changed timer callback signature.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14349 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-07 11:30:54 +00:00
Giovanni Di Sirio
3be977634b
More consistency changes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14348 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-07 09:52:47 +00:00
Giovanni Di Sirio
126e5c9344
Fixed queues parameters order for consistency.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14347 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-07 09:40:06 +00:00
Giovanni Di Sirio
4421ff5524
Moved delta list functions into the generic lists header.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14344 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-07 09:17:28 +00:00
Giovanni Di Sirio
312b29e5b8
Grouped list code in local functions, to be moved in the lists module.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14343 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-07 08:37:27 +00:00
Giovanni Di Sirio
59723bfb2e
Removed "last" field from timer objects.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14342 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-07 06:24:11 +00:00
Giovanni Di Sirio
f506bdca05
Tentative fix for VTs and various improvements.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14340 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-06 11:26:08 +00:00
Giovanni Di Sirio
84c18f04a5
Test code, some tentative optimizations.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14339 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-04 14:51:23 +00:00
cinsights
d0784d3454
RP - Update rp2040.h. More peripherals with XOR, SET & CLR.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14336 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-29 06:02:05 +00:00
Giovanni Di Sirio
6411cd50b4
Reload feature added to RT virtual timers.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14333 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-28 08:10:33 +00:00
Giovanni Di Sirio
5b3566706a
Code to be tested, not complete.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14332 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-27 14:18:35 +00:00
Giovanni Di Sirio
98261e2d9d
experiment
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14331 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-26 18:56:11 +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
9d617edee6
Restored SB functionality with RT7.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14327 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-25 15:16:41 +00:00
Giovanni Di Sirio
7baf0a5c41
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14323 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-25 13:50:17 +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
Giovanni Di Sirio
c31932ba49
Fixed bug #1157 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14307 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 19:14:25 +00:00
Giovanni Di Sirio
6ffbdecc93
Removed duplicated check.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14305 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 18:05:49 +00:00
Giovanni Di Sirio
129a26eb40
Cross-core halt message.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14303 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 15:01:02 +00:00
cinsights
58fba1644b
RP - Fix SPI DR reversed between TX & RX. Fix minor typo.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14302 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 14:41:12 +00:00
Giovanni Di Sirio
70f300b396
Added support for LSI prescaler.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14298 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 13:50:29 +00:00
Giovanni Di Sirio
dba2dd7996
Missing NO_INIT check.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14297 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 13:25:41 +00:00
Giovanni Di Sirio
7bfcf2b2ee
STM32L4+ clock initialization rework.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14295 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 12:07:00 +00:00
Giovanni Di Sirio
2eee33ec34
Removed duplicated checks.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14294 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 10:18:50 +00:00
Giovanni Di Sirio
401e35a30a
Removed duplicated check.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14293 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 10:16:22 +00:00
Giovanni Di Sirio
5708101a95
Formatting.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14292 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 10:05:44 +00:00
Giovanni Di Sirio
fe175c0c43
Missing inclusions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14291 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 10:01:36 +00:00
Giovanni Di Sirio
f9408a5f73
Formatting and doc fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14290 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 09:59:33 +00:00
Giovanni Di Sirio
5385b8cfdd
Added RCC attributes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14289 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 09:41:02 +00:00
Giovanni Di Sirio
5e18794045
Duplicated defs.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14288 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 09:40:26 +00:00
Giovanni Di Sirio
100acdc8e8
Added support for STM32L422.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14287 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 08:00:02 +00:00
Giovanni Di Sirio
b86ec467d0
Removed switch for "advanced" mode in PWM implementation.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14283 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 07:03:00 +00:00
Giovanni Di Sirio
6332cccc4b
Fixed bug #1155 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14281 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 05:59:38 +00:00
Giovanni Di Sirio
dc37843888
Fixed bug #1154 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14278 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 05:33:24 +00:00
Giovanni Di Sirio
86f4f2eef9
Fixed bug #1153 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14275 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 05:11:36 +00:00
Giovanni Di Sirio
85fc97ff31
Error introduced with reworking.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14274 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 05:01:14 +00:00
Giovanni Di Sirio
9d807eaab4
Improved comment.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14273 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-23 16:27:07 +00:00
Giovanni Di Sirio
00b903fa75
Fixed bug #1113 (again).
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14272 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-23 15:35:50 +00:00
Giovanni Di Sirio
bce09ed2de
More consistent naming.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14270 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-23 15:15:48 +00:00
Giovanni Di Sirio
65247ad693
Experiment, L4 initialization done like G4.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14269 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-23 14:41:21 +00:00
Giovanni Di Sirio
02d39d2a37
PLL minidrivers fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14268 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-23 13:41:36 +00:00
Giovanni Di Sirio
c6ad2f65c1
Fixed SIO template.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14267 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-23 07:52:22 +00:00
Giovanni Di Sirio
619a2e2e9a
Fixed bug #1152 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14266 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-23 07:28:54 +00:00
vrepetenko
588e9cbe6a
STM32WLxx port: deleted STM32WLxxC.ld.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14265 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-23 07:25:44 +00:00
vrepetenko
89e00b005c
STM32WLxx port: fixed RTC driver copilation problems, added IPCC, RTC attributes to registry file, fixed some naming mistakes in stm32_isr.c and stm32_rcc.h
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14264 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-23 07:14:45 +00:00
vrepetenko
b9c0908faf
STM32WLxx port: added pin count to NUCLEO board and demo name, merged stm32wl ld files.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14263 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-23 06:52:31 +00:00
Giovanni Di Sirio
5e1cfe86a2
Reverted to 4 timers.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14261 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-22 13:27:34 +00:00
Giovanni Di Sirio
570bc7b49b
Wrong DMA initializations.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14259 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-22 08:48:29 +00:00
Giovanni Di Sirio
a600cc9c36
Wrong conditions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14258 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-22 08:31:28 +00:00
Giovanni Di Sirio
776526b260
Fixed DMA offsets.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14257 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-22 07:18:25 +00:00
Giovanni Di Sirio
64415c7010
ADC4 improvements.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14256 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-22 04:37:48 +00:00
cinsights
18792fe675
RP - Fix padding in DMA_Debug_Typedef
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14255 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-21 21:43:36 +00:00
Giovanni Di Sirio
6db3f89722
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14254 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-21 11:07:21 +00:00
Giovanni Di Sirio
28a73195dc
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14253 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-21 08:19:52 +00:00
Giovanni Di Sirio
175437d88c
More details.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14252 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-21 07:20:43 +00:00
Giovanni Di Sirio
048127c248
No review.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14251 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-21 06:58:57 +00:00
Giovanni Di Sirio
c9162161cf
Trace API renamed for consistency with naming convention.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14250 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-21 06:43:57 +00:00
Giovanni Di Sirio
a83a328c79
Removed some dead code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14249 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-21 05:57:35 +00:00
Giovanni Di Sirio
a06d58837c
Moved architecture file in doxigen files.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14248 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-21 05:29:43 +00:00
cinsights
9a76ba1bad
RP - Change DMA macros for revised INTxn layout
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14247 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-20 22:22:00 +00:00
cinsights
368fa59d4e
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14244 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-20 15:25:37 +00:00
cinsights
9bb5c3825d
RP - more DMA INTx0/1 register block changes
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14243 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-20 15:20:59 +00:00
cinsights
151bbee808
RP - Fix typo in rp_dma.h function name, fix register bank offset in DMA
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14242 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-20 15:02:57 +00:00
Giovanni Di Sirio
8552c4ae33
Naming consistency.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14240 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-20 12:28:29 +00:00
cinsights
70a83c0d5c
RP remove ungated defines in spi header
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14239 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-20 00:18:25 +00:00
cinsights
75a1d87b6f
RP - Add guard around dmaInit()
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14238 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-19 22:46:08 +00:00
Giovanni Di Sirio
e15d7fe0f9
Missing DMA initialization.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14237 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-19 17:18:56 +00:00
Giovanni Di Sirio
4f8939fdc8
More adjustments for consistency.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14235 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-19 13:11:58 +00:00
Giovanni Di Sirio
09945f4cc8
Architecture-related improvements.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14234 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-19 12:38:45 +00:00
Giovanni Di Sirio
df5405f7cf
Scheduler optimizations.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14233 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-19 10:38:38 +00:00
Giovanni Di Sirio
d9b773679c
New OS instances module, architectural cleanup.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14232 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-19 09:56:16 +00:00
Giovanni Di Sirio
2ca81e8169
Changed it a bit.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14231 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-19 08:29:36 +00:00
Giovanni Di Sirio
15c7013ca7
It is meant to be called from RX interrupt only, not an error.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14229 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-19 08:23:13 +00:00
cinsights
2e8287a175
RP DMA IO in AHB, DMA TX IRQ handler fix, minor typo in SPI driver
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14228 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-18 22:52:05 +00:00
Giovanni Di Sirio
0353abddd1
DMA improvements.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14224 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-18 10:20:19 +00:00
Giovanni Di Sirio
8e0f307e75
Optimizations, documentation reformatting.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14223 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-18 09:59:41 +00:00
Giovanni Di Sirio
dc9b229679
More readable conditions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14222 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-18 09:09:54 +00:00
Giovanni Di Sirio
dfb98a1b5e
More readable conditions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14221 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-18 09:07:04 +00:00
Giovanni Di Sirio
8797e729b8
Improved register definitions for RP.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14220 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-18 08:24:52 +00:00
Giovanni Di Sirio
6d3cd1a3d5
white space fixes
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14219 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-18 06:18:24 +00:00
Giovanni Di Sirio
938c70bd27
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14218 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-18 06:15:59 +00:00
Giovanni Di Sirio
863dc35522
Fixed missing reschedule check.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14217 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-18 05:30:00 +00:00
cinsights
0a01e0956a
RP WDG typo fixes - not yet working
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14216 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-17 14:19:00 +00:00
Giovanni Di Sirio
84c28de8d2
Placement error.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14215 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-17 12:48:09 +00:00
Giovanni Di Sirio
0e61b9738d
Better IRQ handling (on average).
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14214 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-17 12:45:53 +00:00
Giovanni Di Sirio
6dd09e650e
SPI driver complete, to be tested.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14213 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-17 10:32:27 +00:00
Giovanni Di Sirio
70ed0001a2
More SPI code, not done yet.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14212 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-17 10:02:14 +00:00
Giovanni Di Sirio
f18ca24918
SIO drivers are now zero-indexed to match the RP2040 peripherals convention.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14211 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-17 08:21:02 +00:00
Giovanni Di Sirio
1e4eaf089e
More SPI code, DMA fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14210 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-17 08:16:37 +00:00
cinsights
43d0ad4075
Set STM32_HAS_SPIR FALSE in registry of MCUs using SPIv2 (except WLxx)
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14209 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-17 07:59:41 +00:00
Giovanni Di Sirio
a98dc3fcca
Some more refinement on registers, SPI and DMA.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14208 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-17 07:49:50 +00:00
Giovanni Di Sirio
e6135542e2
Fixed bad ordering of checks in STM32 SPIv2 driver.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14207 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-17 06:52:02 +00:00
Giovanni Di Sirio
8b3cf2087d
SPI driver preparations.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14206 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-16 19:15:26 +00:00
Giovanni Di Sirio
f89be6c961
More SPI definitions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14205 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-16 18:38:31 +00:00
Giovanni Di Sirio
e9e5ec0958
Some more bits definitions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14204 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-16 17:59:26 +00:00
cinsights
b23fe5dcfe
RP WDGv1 basic - to be tested
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14203 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-16 13:44:03 +00:00
cinsights
dc69895565
RP WDGv1 mk
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14202 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-16 13:42:48 +00:00
Giovanni Di Sirio
de062e140b
DMA code, to be tested.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14201 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-16 12:55:54 +00:00
Giovanni Di Sirio
876f46529a
Moe DMA code, not finished.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14200 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-16 12:24:59 +00:00
Giovanni Di Sirio
435572d59f
More DMA code, not complete.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14199 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-16 12:03:12 +00:00
Giovanni Di Sirio
5410f072cf
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14198 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-16 08:29:01 +00:00
Giovanni Di Sirio
8fa88b0b7d
RP2040 DMA-related code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14197 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-16 07:49:24 +00:00
cinsights
7d63fde1c3
Reduce STM32WLxxC.ld flash size to 128K (dual core flash arrangement)
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14196 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-16 01:56:39 +00:00
cinsights
6be40fd227
Fix assignment of currcore when PORT_CORES_NUMBER not defined
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14195 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-16 01:33:11 +00:00
cinsights
6d6e4e415c
Formatting fix
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14194 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 13:48:34 +00:00
cinsights
92e8aeb73c
Fix PORT_INFO define for non-SMP mode
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14193 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 13:46:49 +00:00
cinsights
6548dd4a56
RP WDGv1 WIP
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14192 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 13:30:03 +00:00
Giovanni Di Sirio
726aa34df0
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14191 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 13:19:25 +00:00
Giovanni Di Sirio
ecd271056a
Stub DMA driver.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14190 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 13:17:19 +00:00
Giovanni Di Sirio
bee30522c4
Code cleanup and simplification.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14189 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 11:59:04 +00:00
cinsights
519b4aa13c
Fix typo in WL55 hal_lld.c
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14188 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 11:53:01 +00:00
cinsights
1f4768da84
RP WDGv1 WIP
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14187 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 10:57:19 +00:00
Giovanni Di Sirio
66c2720a5b
Renamed the default instance from ch to ch0, found several errors in code accessing "ch" directly instead of using "currcore". This change breaks the debug plugin and changes are required.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14186 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 06:34:14 +00:00
Giovanni Di Sirio
c782a2d962
Core 1 start code moved in HAL.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14185 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 06:21:36 +00:00
cinsights
516af97f0a
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14184 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 04:41:46 +00:00
cinsights
5a74c1ceb7
Rename ST_NUCLEO_WL5JC to ST_NUCLEO_WL55JC
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14182 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 04:30:15 +00:00
cinsights
e36da1cc38
Change STM32WL demo/board to use LPUART1 vs USART2
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14181 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 03:47:33 +00:00
cinsights
31254eb459
Add WL missing startup folder
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14180 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 01:00:56 +00:00
cinsights
272eae6537
STM32WL missing folder
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14179 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 00:54:36 +00:00
cinsights
7a01e980a8
Add initial support for STM32WLx series (M4 core only)
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14178 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-14 22:57:53 +00:00
cinsights
8ef71e4289
Fix RP typos (PORT_HANDLE_FIFO_MESSAGE hook in chcore.c)
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14177 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-14 13:26:08 +00:00
Giovanni Di Sirio
0b626c16f8
Inter-core synchronization on initialization, to be tested.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14176 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-14 12:20:33 +00:00
Giovanni Di Sirio
261a59db50
Time calibration data moved in ch_system, it is now shared.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14175 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-14 11:59:59 +00:00
Giovanni Di Sirio
0738442a0c
Shared registry in SMP mode, to be tested.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14174 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-14 11:52:42 +00:00
Giovanni Di Sirio
e4401ac0c3
The variable ch_system is not available in all configurations, "owner" is always present in thread structures, shell enhanced to show the core id.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14173 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-14 10:15:37 +00:00
Giovanni Di Sirio
c93d99ee3a
Fixed regression from latest changes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14172 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-14 07:54:53 +00:00
cinsights
ccec3b72d6
Clear INTE at TIMER init.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14171 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-13 11:46:28 +00:00
Giovanni Di Sirio
42d5fca126
More registry-related changes, removed some complexity from asm port modules thanks to registry changes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14170 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-13 08:42:51 +00:00
Giovanni Di Sirio
0b1cc7db27
Changes to registry, preparation.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14169 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-13 08:18:46 +00:00
cinsights
6c4c84a0c2
Add WDGv1 template
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14168 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-13 02:54:04 +00:00
cinsights
07e1b5618d
Complete I2C bit definitions
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14167 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-13 02:24:16 +00:00
cinsights
52b225739c
Add more RP peripheral definitions
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14166 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-12 06:49:47 +00:00
cinsights
e4681c97c0
More peripheral definition and fix RTC DOTW masking.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14165 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-10 13:59:07 +00:00
Giovanni Di Sirio
923c98a2a1
Fixed some obvious regressions in AVR port.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14163 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-10 13:29:14 +00:00
Giovanni Di Sirio
af46126fa6
Small documentation fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14162 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-10 07:41:26 +00:00
Giovanni Di Sirio
65d78352b9
Improved port info.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14161 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-10 07:38:05 +00:00
Giovanni Di Sirio
76224772e2
Removed dedundant code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14160 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-10 07:35:42 +00:00
cinsights
4d673ef2c8
Add more peripheral definitions (bit defines WIP)
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14159 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-10 04:35:33 +00:00
cinsights
824722a181
RTC callback working
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14158 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-09 13:17:08 +00:00
cinsights
c0f61c3926
RTC typo fix
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14157 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-09 09:29:00 +00:00
Giovanni Di Sirio
4913569895
Cross-core signaling now apparently works.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14156 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-09 09:06:22 +00:00
Giovanni Di Sirio
c3a2ee2e35
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14155 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-09 09:02:40 +00:00
cinsights
e785bdc21f
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14154 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-09 07:14:20 +00:00
Giovanni Di Sirio
888af4c028
Added PSM block.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14153 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-09 07:08:39 +00:00
cinsights
730ac499bb
RP RTC add alarm macros
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14152 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-09 06:59:25 +00:00
cinsights
dfb451f438
RP RTC alarm matching update
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14151 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-09 02:17:44 +00:00
cinsights
c97e9fad20
Correct RTC bitpos
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14150 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-08 13:57:08 +00:00
cinsights
55e27e771d
RP RTC update
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14149 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-08 13:36:24 +00:00
cinsights
21c59fea5c
Add RP RTC bit definitions + driver WIP
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14148 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-08 05:50:22 +00:00
cinsights
2bb8aac319
WIP RP RTC alarm
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14147 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-07 21:30:20 +00:00
Giovanni Di Sirio
a1484110fa
Added DMA definitions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14146 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-07 12:26:38 +00:00
Giovanni Di Sirio
ba74711891
Removed MPU-related changes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14145 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-07 11:42:37 +00:00
cinsights
54e5352a0e
RP basic RTC functional
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14144 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-07 09:16:49 +00:00
cinsights
653da0da2e
More RTC WIP
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14143 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-07 04:00:07 +00:00
cinsights
c2fd099efc
RP2040 RTC driver WIP
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14142 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-06 20:58:04 +00:00
Giovanni Di Sirio
22c741835d
CM0+ MPU support, not finished.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14141 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-06 14:41:24 +00:00
Giovanni Di Sirio
daff5a6a69
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14140 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-05 18:05:36 +00:00
Giovanni Di Sirio
055983befd
Fixed wrong assertions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14139 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-05 13:55:04 +00:00
Giovanni Di Sirio
f0214c84a0
doc fix
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14138 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-05 13:51:24 +00:00
Giovanni Di Sirio
4a1c137eb5
Introduced "root" system variable.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14137 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-05 12:12:19 +00:00
Giovanni Di Sirio
c97d08b670
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14136 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-04 17:23:25 +00:00
Giovanni Di Sirio
4c61895918
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14135 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-04 16:39:19 +00:00
Giovanni Di Sirio
5ef2428650
Cross-cores threads creation support.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14134 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-04 09:55:52 +00:00
Giovanni Di Sirio
9195ca3563
Added RT counter support to RP2 port.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14133 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-04 08:26:20 +00:00
Giovanni Di Sirio
b420d1665e
Various fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14132 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-04 08:13:44 +00:00
Giovanni Di Sirio
4fa307658e
SMP done, to be validated.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14130 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-03 10:50:35 +00:00
Giovanni Di Sirio
c5b9581d72
Documentation fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14129 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-03 07:40:33 +00:00
Giovanni Di Sirio
3e50e220a7
More SMP-related changes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14128 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-03 07:29:44 +00:00
Giovanni Di Sirio
3eb2365dca
Split plain ARMv6-M and ARMv6-M-RP2 ports.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14127 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-03 07:15:48 +00:00
Giovanni Di Sirio
658077bd6e
More SMP-related enhancements.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14126 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-03 07:11:22 +00:00
Giovanni Di Sirio
3d9b1e9dd9
SMP-related changes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14125 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-02 17:45:42 +00:00
Giovanni Di Sirio
70065704fd
SMP-related changes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14124 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-02 17:45:06 +00:00
Giovanni Di Sirio
781b714fd3
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14122 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-02 10:52:23 +00:00
Giovanni Di Sirio
dbb6d05322
Fixes to the ST tick mode.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14120 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-02 09:33:13 +00:00
Giovanni Di Sirio
f09e1976b2
Dual core more working....
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14119 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-02 07:38:27 +00:00
Giovanni Di Sirio
0f5ce825b1
Fixed SIO structure.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14118 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-01 13:39:38 +00:00
Giovanni Di Sirio
0a7b3b9e88
ST driver enhancements related to multi core support.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14117 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-01 12:01:41 +00:00
Giovanni Di Sirio
6ca8874513
Fixed bug #1151 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14113 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-30 11:56:26 +00:00
Giovanni Di Sirio
ca416ea711
Added multicore-enabled port for RP2, not complete.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14112 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-30 10:36:26 +00:00
Giovanni Di Sirio
c0820cb467
Fixed a doxygen tag.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14111 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-30 10:18:24 +00:00
Giovanni Di Sirio
31be5c3934
It does have an MPU.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14110 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-30 09:20:31 +00:00
Giovanni Di Sirio
4701828270
RP2040 FIFO support.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14108 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-30 07:33:06 +00:00
Giovanni Di Sirio
8646bb3153
License update.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14105 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-29 15:24:45 +00:00
Giovanni Di Sirio
e612e95662
Temporary code for starting RP core 1.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14104 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-29 14:18:37 +00:00
Giovanni Di Sirio
f91d50a826
Tick-less mode support for RP.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14102 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-29 08:43:50 +00:00
Giovanni Di Sirio
8333cc054c
Added some missing checks.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14101 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-29 04:45:40 +00:00
Giovanni Di Sirio
b145dfbdbd
Fixes in the SIO and PAL drivers.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14100 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-28 19:36:32 +00:00
cinsights
f20f49bba5
Fixed bug #1150 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14096 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-28 10:09:19 +00:00
Giovanni Di Sirio
172a0a9a03
PAL done, LED flashing.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14095 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-28 08:42:53 +00:00
Giovanni Di Sirio
226bb595c3
Non complete.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14094 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-27 21:18:03 +00:00
Giovanni Di Sirio
e72906f68e
Formatting fixes, unused args fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14093 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-27 17:32:17 +00:00
Giovanni Di Sirio
557fe2bf0e
PAL driver template.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14092 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-27 15:31:09 +00:00
Giovanni Di Sirio
479653eee1
Fixed clock initialization.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14091 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-27 11:13:12 +00:00
Giovanni Di Sirio
fedede7989
RP UART IRQ support STM32-style.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14090 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-27 08:50:17 +00:00
Giovanni Di Sirio
d6c3fe0d46
More work on RP SIO driver. Support for peripheral resets.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14089 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-27 08:20:09 +00:00
Giovanni Di Sirio
525f89f0e3
RP2040 SIO driver stubs, other minor changes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14088 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-23 12:54:37 +00:00