Commit Graph

1684 Commits

Author SHA1 Message Date
edolomb 1dce070233 Revisited I2Cv4 driver.
Fixed bugs in H5 rcc driver.
Mass update STM32H5 mcuconf.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@17002 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2025-05-15 11:01:15 +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
fxcoder c656a99d89 Correct the .ld used in STM32G071 ADC testhal project
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16970 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2025-02-23 12:02:26 +00:00
Giovanni Di Sirio 6b422d68a8 H5 builder added to STM32 DAC demo.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16952 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2025-02-02 14:41:39 +00:00
Giovanni Di Sirio 09b06b9d81 Mass edito to add DAC settings.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16950 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2025-02-02 09:44:59 +00:00
Giovanni Di Sirio 433df93403 Fixed some comments.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16947 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2025-02-02 08:02:37 +00:00
Giovanni Di Sirio a338ffa587 Enabled RNG and SDMMC on H5, not tested.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16946 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2025-02-02 07:57:57 +00:00
Giovanni Di Sirio 0583b1ebba Updated H5/H7 tools and mcuconf files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16937 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2025-02-01 08:06:55 +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 cf341f0f13 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16929 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2025-01-25 16:12:22 +00:00
Giovanni Di Sirio c7e04a8161 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16928 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2025-01-25 13:46:53 +00:00
Theodore Ateba 6cddca01aa Fix variable name used to exclude the generic flash driver from AVR build.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16813 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-12-15 09:19:32 +00:00
Theodore Ateba ae272109bf Exclude the generic flash driver from AVR build.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16774 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-12-07 15:44:43 +00:00
Theodore Ateba c6b75738b0 Change the AVR testhal structuture by adding the cfg directory.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16773 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-12-06 18:44:20 +00:00
Theodore Ateba 7111c25d95 Fix AVR testhal buid error due to linker extra options for remining files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16772 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-12-06 17:41:12 +00:00
Theodore Ateba 4b10efb5f6 Fix AVR testhal buid error due to linker extra options.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16771 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-12-06 17:16:01 +00:00
Theodore Ateba 127fa444e9 Fix AVR testhal/MEGA/ADC build error due to undefined __main_thread_stack_base__ and __main_thread_stack_base__
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16770 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-12-06 17:04:20 +00:00
edolomb 879cf757d4 Review of FDCANv1 and FDCANv2: now IRQ triggers on non empty rx FIFO
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16769 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-12-04 17:51:11 +00:00
Giovanni Di Sirio cecbc9c13c Improved USB_RAW demo.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16760 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-11-30 09:25:58 +00:00
Giovanni Di Sirio a410e56a20 Fixed wrong number of bytes returned by usbReceive() and similar.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16758 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-11-18 12:31:44 +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 746d4861b3 Some renaming.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16685 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-10-28 07:45:54 +00:00
Giovanni Di Sirio 9d2244d7f3 USB_RAW multi application added.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16684 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-10-27 10:18:32 +00:00
Giovanni Di Sirio 310c37fbe5 Missing files, wrong makefile, some renaming.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16683 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-10-27 10:11:33 +00:00
Giovanni Di Sirio 57427aec4d Improved LFS support, not it is possible to make an LFS file system at arbitrary positions in flash.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16630 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-10-09 13:41:46 +00:00
Giovanni Di Sirio 6feb1a794d LFS bindings improved with a base parameter.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16629 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-10-09 13:24:17 +00:00
Giovanni Di Sirio 758e77c09f New XSNOR framework replacing the old serial_nor. It allows multiple device types on multiple interfaces and devices auto-detection. STM32-WSPI-MFS demo modified to showcase the new capabilities.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16627 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-10-09 10:29:53 +00:00
edolomb 4963301a69 Added Demo CAN for G4
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16582 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-09-23 10:59:23 +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 155d3f3ed5 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16542 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2024-08-17 07:34:02 +00:00
Giovanni Di Sirio 8aa4c34ac1 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16541 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2024-08-17 07:31:47 +00:00
Giovanni Di Sirio 6ac915f6bf Preparation changes in H7 mcuconf.h files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16539 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-08-16 11:57:41 +00:00
Giovanni Di Sirio 2edb8fc302 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16528 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2024-08-14 08:40:46 +00:00
edolomb 1631f29333 Fixed bug #1286
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16525 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-06-27 17:04:55 +00:00
Giovanni Di Sirio 31372f03f5 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16519 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2024-05-16 15:07:44 +00:00
edolomb 07d96cb203 Fixed bug #1285 and added CAN demo for STM32H7xx
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16517 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-05-13 11:20:52 +00:00
Giovanni Di Sirio 2531c1e4b9 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16489 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2024-04-10 08:34:28 +00:00
Giovanni Di Sirio e2eb3966fa Fixed some regressions caused by latest changes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16488 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-04-10 08:05:01 +00:00
Giovanni Di Sirio 6764201e4c USB working on H5. Preparing for VT testing on H5.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16481 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-04-06 10:16:04 +00:00
Giovanni Di Sirio df2850508e git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16479 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2024-03-28 07:16:25 +00:00
Giovanni Di Sirio 16ef426292 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16472 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2024-03-10 15:35:02 +00:00
Giovanni Di Sirio d791bd1515 Added builder for STM32H563ZI-Nucleo144.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16471 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-03-09 09:00:00 +00:00
Giovanni Di Sirio cd4b45da04 Configuration files alignment.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16458 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2024-01-21 17:04:16 +00:00
Giovanni Di Sirio f173aae0e4 Fixed SPIv4 not releasing DMAs.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16434 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2023-12-22 08:08:39 +00:00
Giovanni Di Sirio a3f96faea0 SPI apparently working after finding some kind of errata, implemented a workaround in spi_lld_polled_exchange(), see notes into the SPIv4 LLD.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16427 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2023-12-02 11:56:05 +00:00
Giovanni Di Sirio 636183896c git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16426 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2023-12-02 10:40:07 +00:00
Giovanni Di Sirio bf2a4bc9a8 Function spiPolledExchange() failing on H5, added assertions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16422 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2023-11-26 09:56:04 +00:00
Giovanni Di Sirio 58a1054302 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16421 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2023-11-24 13:45:31 +00:00
Giovanni Di Sirio 11437a4cb6 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16420 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2023-11-22 13:23:10 +00:00
Giovanni Di Sirio 95cba9b89c Apparently SPIv4 working.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16419 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2023-11-22 10:06:22 +00:00