Commit Graph

721 Commits

Author SHA1 Message Date
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 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 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 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 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 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
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 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
Giovanni Di Sirio 44417d95c3 Added I-class variants to some SIO functions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15720 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-13 07:21:37 +00:00
Giovanni Di Sirio 533213a41d Preliminar work for buffered SIO and new serial driver infrastructure.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15719 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-13 06:58:21 +00:00
Giovanni Di Sirio 54b22281ef Moved HAL serial error flags into asynchronous channels interface definitions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15716 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-09 08:26:25 +00:00
Giovanni Di Sirio 3348f11f2c git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15715 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-08-08 18:42:30 +00:00
Giovanni Di Sirio 57f853674c Reworked HAL SIO driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15713 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-08 06:43:28 +00:00
Giovanni Di Sirio ad2385e83f Removed unused sioGetFlagsX().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15679 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-07-08 07:22:09 +00:00
Giovanni Di Sirio a5fd0476a9 Host-side VPAL driver. Added palReadGroupLatch() to PAL driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15663 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-06-28 09:00:43 +00:00
Giovanni Di Sirio dcbf6c535a Deprecated 2 functions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15587 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-04-15 11:55:48 +00:00
Giovanni Di Sirio 4a6ea63068 Fixed bug #1213.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15390 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-22 06:53:58 +00:00
Giovanni Di Sirio e9c826005e Improved HAL flash interface with mutual exclusion methods, improved EFL and SNOR drivers to use it.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15286 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-30 06:40:05 +00:00
Giovanni Di Sirio 90d97089df Small documentation fix.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15178 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-02 14:13:45 +00:00
Giovanni Di Sirio 8be0e6d9ae White space fix.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15126 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-22 13:18:49 +00:00
Giovanni Di Sirio 1566238b27 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15112 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-11-19 14:32:00 +00:00
Giovanni Di Sirio b8a1794141 Increased HAL version number to 8.1.0.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15108 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-18 12:25:05 +00:00
Giovanni Di Sirio 655ea2923c Added elfAcquireBus()/eflReleaseBus() functions to EFL driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15070 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-13 12:40:02 +00:00
Giovanni Di Sirio 0d3d4c695f Documentation fix.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15026 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-07 08:22:48 +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 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 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 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 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 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 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