Commit Graph

98 Commits

Author SHA1 Message Date
Giovanni Di Sirio 9d34e55d21 Improved interrupts processing in ARMv7-M-ALT and ARMv8-M-ML-ALT ports. Specifically, saved few cycles on the context switch code path.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16986 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2025-03-27 09:53:36 +00:00
edolomb 45f105e043 Added I2C slave support for ST low level drivers.
Added I2C-MASTER_SLAVE multi demo.
Updated halconf.h 

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16984 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2025-03-25 14:34:20 +00:00
edolomb 2b22261a52 Added TDCR to FDCANv1 and FDCANv2 configuration.
Handled BUS_OFF event in FDCANv1 and FDCANv2.
Changed STM32_CAN_FDCAN_CKDIV to STM32_CAN_FDCAN_PRESC in FDCANv1 driver.
Updated CAN demos 

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16935 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2025-01-28 15:28:03 +00:00
Giovanni Di Sirio a996aba258 Fixed bug #1295.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16930 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2025-01-26 08:54:22 +00:00
Giovanni Di Sirio ba3247842a Fixed more issues with FPU on the v7-M alternate port, v8-M to be updated too.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16775 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-12-08 09:12:00 +00:00
Giovanni Di Sirio 2b1e6bb520 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16754 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2024-11-13 13:27:47 +00:00
Giovanni Di Sirio f60e636660 Renamed stkalign_t in stkline_t, the type is no more related to stack alignment enforcement. Reviewed TCB alignment in working areas for legacy thread creation functions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16720 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-11-04 12:27:06 +00:00
Giovanni Di Sirio 9b02079c73 Added shell priority parameter.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16571 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-09-16 10:45:03 +00:00
Giovanni Di Sirio a1f5802814 Bun in xshell, replaced shell with xshell in RT-STM32-SHELL demo.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16569 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-09-13 13:30:37 +00:00
Giovanni Di Sirio c627599bfc git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16568 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2024-09-13 12:30:57 +00:00
Giovanni Di Sirio 8c91458cd5 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16567 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2024-09-13 12:29:26 +00:00
Giovanni Di Sirio d7cdb40b12 New XShell specific for the new RT, it leverages the new thread dispose feature.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16566 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-09-13 10:03:39 +00:00
Giovanni Di Sirio 0eddf2cdc3 Small changes to the new thread "spawn" API. Added one use example to be extended to all demos in the future.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16558 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-09-10 12:50:19 +00:00
Giovanni Di Sirio 32acaa3bbc Merged RT8 with SMP-related improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16549 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-08-26 15:42:51 +00:00
Giovanni Di Sirio 1b4ade267a git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16478 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2024-03-27 13:03:58 +00:00
Giovanni Di Sirio 04fa064f96 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16477 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2024-03-27 13:02:29 +00:00
Giovanni Di Sirio 3e5164d0dc git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16476 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2024-03-27 12:05:23 +00:00
Giovanni Di Sirio 2f86208836 Experimental support for ARMC6.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16475 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-03-27 11:09:42 +00:00
Giovanni Di Sirio d2f43cfddb git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16454 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2024-01-08 10:12:48 +00:00
Giovanni Di Sirio c08a1f59b4 More clock points in G4 support, improved G4 demo with shell.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16395 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2023-09-14 09:01:44 +00:00
Giovanni Di Sirio fa854a079b Mass update... again.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15923 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-12-26 10:47:54 +00:00
Giovanni Di Sirio cb09158dc9 Mass update.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15917 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-12-25 13:58:53 +00:00
Giovanni Di Sirio f84032701c Mass EOL change to Unix mode.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15872 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-12-11 14:52:30 +00:00
Giovanni Di Sirio bff25edf36 Removed obsolete sandbox code from ARMv7-M port.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15805 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-28 12:18:29 +00:00
Giovanni Di Sirio 9f6754540b Fixed some regressions caused by SIO differences.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15728 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-21 13:24:20 +00:00
Giovanni Di Sirio c01e5a7c22 Added a new CH_CFG_HARDENING_LEVEL option to RT.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15242 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-13 15:44:12 +00:00
Giovanni Di Sirio a75670b399 Fixed bug #1205.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15172 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-02 09:44:27 +00:00
Giovanni Di Sirio f476d11ed9 Typo in chconf.h.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15111 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-18 15:42:21 +00:00
Giovanni Di Sirio d3892df86d RT and NIL upgraded to support the enhanced OSLIB. Mass update of chconf.h files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15085 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-16 09:02:52 +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 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 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 bcfb0e2e77 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14880 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-10-08 07:42:59 +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
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
Giovanni Di Sirio c958ab1ea3 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14565 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-06-20 07:31:00 +00:00
Giovanni Di Sirio c26d770f26 Modified all makefiles to include the new test library.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14564 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-20 07:18:57 +00:00
Giovanni Di Sirio 2033af9d94 Added corebmk experiment.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14521 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-09 10:15:13 +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 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 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 5e4e9b45cf git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14416 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-05-22 04:15:22 +00:00
Giovanni Di Sirio 5f520f321f Mass update.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14402 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-20 12:10:35 +00:00
Giovanni Di Sirio a3c9ef9628 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14386 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-05-17 12:02:30 +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 0143cbad4b Mass update of mcucon.h files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14383 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-17 07:33:22 +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 cf3a72bdd5 Reverted temporary changes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14334 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-28 08:12:38 +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 e82a29e7c6 Files mcuconf.h for STM32F746, F767, L432, L452, L476, L496 received the missing setting STM32_WSPI_QUADSPI1_PRESCALER_VALUE.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14286 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 07:46:58 +00:00