Commit Graph

4885 Commits

Author SHA1 Message Date
Giovanni Di Sirio d62102117e Removed cache handling in the driver, buffers must be non-cacheable.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15816 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-10-09 15:53:03 +00:00
Giovanni Di Sirio e3429720bc Minor optimization and some reformatting.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15815 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-10-09 13:40:37 +00:00
Giovanni Di Sirio becfb8ae06 Fixed bug #1238.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15814 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-10-09 12:37:59 +00:00
Giovanni Di Sirio 42e6cc9836 Fixed some GPIO settings.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15811 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-10-09 07:14:47 +00:00
Giovanni Di Sirio 6720ecf7ad git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15810 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-10-09 06:52:50 +00:00
Giovanni Di Sirio 5026c28dee git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15808 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-10-02 14:24:38 +00:00
Giovanni Di Sirio 782aaee906 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15802 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-09-27 07:07:22 +00:00
Giovanni Di Sirio 80a5f29892 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15800 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-09-22 14:55:22 +00:00
Giovanni Di Sirio 4535cdc472 MAC rework, probably not the final thing.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15798 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-21 12:25:23 +00:00
Giovanni Di Sirio c9b55d6e72 MAC driver rework, not complete.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15797 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-20 14:25:09 +00:00
Giovanni Di Sirio cff78c9410 Fixed documentation error.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15795 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-20 12:30:02 +00:00
Giovanni Di Sirio 9f164cada3 Removed obsolete declaration.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15794 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-20 12:07:32 +00:00
Giovanni Di Sirio c522aead9f Fixed bug #1237.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15790 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-18 10:01:17 +00:00
Giovanni Di Sirio b68efdf003 Fixed bug #1236.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15789 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-18 09:48:47 +00:00
Giovanni Di Sirio 6766d79364 Fixed bug #1234.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15788 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-18 08:04:39 +00:00
Giovanni Di Sirio 7e258336ad Reorganized system call numbers, another small optimization.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15782 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-11 08:25:28 +00:00
Giovanni Di Sirio c7940e6614 Added STM32H730 missing definitions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15776 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-09 08:45:44 +00:00
Giovanni Di Sirio 750d88c7b8 Moved most of VUART to fastcalls.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15775 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-08 18:02:55 +00:00
Giovanni Di Sirio 280eff4554 Reclassified SIO elementary functions from I to X.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15774 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-08 14:33:30 +00:00
Giovanni Di Sirio 0c16eb68db Remapped VGPIO on fastcalls for efficiency.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15773 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-08 12:09:42 +00:00
Giovanni Di Sirio 325a92945f Fixed bug #1233.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15770 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-08 06:32:12 +00:00
Giovanni Di Sirio b2c24de257 Fixed a couple problems, running fine now.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15763 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-05 13:23:48 +00:00
vrepetenko b21dea2d72 Fixed RTC_PRER initialization
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15758 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-04 07:11:14 +00:00
Giovanni Di Sirio 29093a6e94 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15757 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-09-04 06:46:40 +00:00
Giovanni Di Sirio e922e31a74 It kinda works but still problems with VUART, hangs randomly while writing.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15755 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-03 10:37:14 +00:00
Giovanni Di Sirio fae48a7fc7 STM32-specific SIO optimization.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15754 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-03 08:15:37 +00:00
Giovanni Di Sirio 8edeca1379 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15753 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-09-02 17:56:24 +00:00
Giovanni Di Sirio cc6fdedf79 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15752 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-09-02 12:32:01 +00:00
Giovanni Di Sirio c35225ea9b git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15751 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-09-02 12:20:15 +00:00
Giovanni Di Sirio 9973422f43 Fixed comment.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15750 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-02 12:02:32 +00:00
Giovanni Di Sirio 11c7c2bf2a Tentative SIO optimization (STM32 USARTv3-only so far).
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15749 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-02 12:01:53 +00:00
Giovanni Di Sirio 30c98c85b7 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15748 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-09-02 04:14:12 +00:00
Giovanni Di Sirio ef58591f48 SIO simplified even more, removed redundant types, removed STM32ness in the HLD, removed distinction between event masks and enable masks. Reworked SIO demo.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15747 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-01 10:12:08 +00:00
Giovanni Di Sirio 8e7bdc79b5 More SIO-related changes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15746 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-31 12:29:47 +00:00
cinsights dc085a9adf Fixed setting of SYSCLK when derived from divided HSI16
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15744 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-31 11:45:39 +00:00
Giovanni Di Sirio 0b506373ea git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15743 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-08-30 12:51:54 +00:00
Giovanni Di Sirio 7690f84348 Mass change: Source code convention changed from CRLF to just CR (Unix).
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15741 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-29 15:54:32 +00:00
Giovanni Di Sirio b374f18f71 More ADCv5 fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15740 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-28 13:31:15 +00:00
Giovanni Di Sirio e0f250edcf git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15739 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-08-28 07:20:45 +00:00
Giovanni Di Sirio bd87eae0cf git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15738 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-08-26 12:20:46 +00:00
Giovanni Di Sirio bb4ca5e19c VUART and virtualized SIO tentative implementations, untested.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15736 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-24 14:04:21 +00:00
Giovanni Di Sirio fe01e7759f Fixed some redundant code.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15735 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-24 08:38:02 +00:00
Giovanni Di Sirio 69e0b44070 Updated SIO template.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15734 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-22 11:16:12 +00:00
Giovanni Di Sirio 1edca64954 Fixed ADC-related regressions and some harmless errors in F4/F7 RCC macros. Fixed some warning in F4 DMA_STORM test application.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15732 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-21 16:53:55 +00:00
Giovanni Di Sirio 1d89914815 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15731 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-08-21 15:40:08 +00:00
Giovanni Di Sirio aa83a40f20 Fixed some corned cases in ADC5, added ADC reset on start().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15729 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-21 13:40:55 +00:00
Giovanni Di Sirio 8c025f78c0 SIO simplified. Added a "BufferedSIODriver" class that implements the behavior of the legacy Serial driver on top of a SIO implementation (buffering, events and all).
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15727 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-21 06:10:28 +00:00
Giovanni Di Sirio 4fddf58480 Buffered SIO complete, to be tested.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15725 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-15 07:12:38 +00:00
Giovanni Di Sirio a92a57457b Now hal.h includes cc_portab.h by default making it mandatory.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15723 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-14 14:20:50 +00:00
Giovanni Di Sirio 3aab763f73 More SIO work.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15722 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-14 12:14:29 +00:00