Andrey Gusakov
0ce1cbd649
CANv1: fix for GD32 devices
...
On GD32 CAN_TSTAT bits [25:24] has another meaning vs STM32:
"These bits are the number of the Tx FIFO mailbox in which the
frame will be transmitted if at least one mailbox is empty."
While on STM32:
"In case at least one transmit mailbox is free, the code value
is equal to the number of the next transmit mailbox free."
So to determine free mailbox we need to check TMEx bits on GD32.
2022-07-20 01:00:50 +03:00
Andrey G
e2fbbb98f7
Merge pull request #20 from dron0gus/chibios-for-wideband
...
stm32f103/gd32f103: ADC: do not switch off clocking after init
2022-05-03 00:04:28 +03:00
Andrey Gusakov
1e83a1b1b1
stm32f103/gd32f103: ADC: do not switch off clocking after init
2022-05-02 23:52:05 +03:00
rusefillc
6e4b068f71
Merge pull request #19 from dron0gus/chibios-for-wideband
...
Chibios for wideband on stm32f103
2022-03-21 15:44:11 -04:00
Andrey Gusakov
f7d1374b9b
stm32f103: ADC: useless math
2022-03-21 22:35:57 +03:00
Andrey Gusakov
8aae3f1db3
stm32f103: workaround sporious DMA transfer from ADC runnig on high rates
2022-03-21 22:35:57 +03:00
Giovanni Di Sirio
d659db7440
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13858 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-17 16:21:38 +00:00
Giovanni Di Sirio
67cf80fa2a
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13857 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-17 16:16:50 +00:00
Giovanni Di Sirio
705c632ed5
Fixed bug #1122 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13854 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-12 08:08:20 +00:00
Giovanni Di Sirio
a4675488a9
Fixed bug #1121 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13853 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-12 08:01:24 +00:00
Giovanni Di Sirio
c52076ad35
Updated some mcuconf.h files with new templates.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13851 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-10 07:27:57 +00:00
Giovanni Di Sirio
3a5984f10a
Improved G4 clock initialization.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13850 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-09 08:55:57 +00:00
Giovanni Di Sirio
3b53c60a49
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13849 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-09 08:36:24 +00:00
Giovanni Di Sirio
dc0302e867
More updaters for F4.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13848 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-08 09:17:41 +00:00
Giovanni Di Sirio
8fc602dc53
Improved checks.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13847 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-07 17:43:56 +00:00
Giovanni Di Sirio
b9fe88fcb7
Updater for F469.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13846 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-07 17:37:56 +00:00
Giovanni Di Sirio
d0a0459bdb
Updater for STM32F446.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13845 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-07 16:28:44 +00:00
Giovanni Di Sirio
7d2963f545
Updated STM32F4xx platform with new IRQ handling, enabled the missing timers.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13844 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-07 08:38:35 +00:00
Giovanni Di Sirio
2eb09bcd8d
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13843 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-07 08:37:22 +00:00
Giovanni Di Sirio
b1069891d2
Updater tool for STM32F401.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13842 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-07 08:07:27 +00:00
Giovanni Di Sirio
b18ce2f1ca
Added ISR suppression macros, preparation for new IRQ handling.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13841 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-07 06:50:10 +00:00
Giovanni Di Sirio
8d97d5f7ef
More updates for SIO.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13840 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-05 10:50:04 +00:00
Giovanni Di Sirio
e794ecdbe0
L4xx mcuconf.h mass update.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13839 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-05 09:53:33 +00:00
Giovanni Di Sirio
1f668767de
Addressed device header differences.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13838 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-05 09:34:39 +00:00
Giovanni Di Sirio
5d3bc6003b
Defaulted the STM32G474 demo to use SIO.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13837 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-05 06:56:13 +00:00
Giovanni Di Sirio
69dfb71f3e
More mass mcuconf.h mass update.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13836 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-05 06:41:05 +00:00
Giovanni Di Sirio
7c2c8de3ae
Fixed wrong names.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13835 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-05 06:29:59 +00:00
Giovanni Di Sirio
f873b7b469
Configuration files mass update.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13834 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-05 06:26:10 +00:00
Giovanni Di Sirio
328c7e9aec
More startup fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13833 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-04 10:09:56 +00:00
Giovanni Di Sirio
62bbb92055
Fixed name conflict impacting Cortex-M that caused cache to not be enabled.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13832 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-04 08:54:04 +00:00
Giovanni Di Sirio
b8d8869c9a
About SIO.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13831 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-03 10:58:09 +00:00
Giovanni Di Sirio
dbbc93f7df
SIO STM32 implementation for USARTs without FIFO in USARTv2, with FIFO in USARTv3.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13830 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-03 10:54:54 +00:00
Giovanni Di Sirio
5f9d6389e7
SIO improvements, it is almost final.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13829 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-03 07:42:53 +00:00
Giovanni Di Sirio
281f23ea19
Removed some dead code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13828 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-01 13:53:51 +00:00
Giovanni Di Sirio
af500bf5ac
Finished errors handling, to be tested.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13827 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-01 13:38:43 +00:00
Giovanni Di Sirio
8a03162059
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13826 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-01 12:58:25 +00:00
Giovanni Di Sirio
4ccbff905a
Improved code organization and errors handling.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13825 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-01 12:44:04 +00:00
Giovanni Di Sirio
9215d18459
At least TX is working now.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13824 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-09-01 11:44:45 +00:00
edolomb
fec3aeb51c
Fixed bugs (ticket #1120 )
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13823 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-08-31 19:18:39 +00:00
Giovanni Di Sirio
22272cab97
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13822 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-08-31 14:29:47 +00:00
Giovanni Di Sirio
c159b43880
Fixed some bugs, now it appears to work, more test needed.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13821 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-08-31 14:13:28 +00:00
Giovanni Di Sirio
83b31c07de
Missing initialization.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13820 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-08-31 13:22:17 +00:00
Giovanni Di Sirio
510da52979
More SIO changes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13819 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-08-31 09:32:24 +00:00
cinsights
f87d680ab7
Fixed bug #1119
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13818 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-08-31 08:33:35 +00:00
Giovanni Di Sirio
61b839a7c6
Given optional stream interface to SIO driver.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13817 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-08-30 14:03:57 +00:00
Giovanni Di Sirio
6e72cb497c
More SIO support.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13816 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-08-30 09:58:30 +00:00
Giovanni Di Sirio
cbcc485f35
More SIO code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13815 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-08-29 16:52:47 +00:00
Giovanni Di Sirio
3ae922fc32
More work on SIO driver.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13814 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-08-29 14:41:43 +00:00
Giovanni Di Sirio
56e58bfc59
More work on SIO.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13813 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-08-29 06:57:22 +00:00
Giovanni Di Sirio
84119d5d52
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13812 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-08-28 14:27:43 +00:00