Commit Graph

833 Commits

Author SHA1 Message Date
Giovanni Di Sirio b81214fbc4 Added likely/unlikely infrastructure in RT, implementation details in the port layer. Added an __CH_USED() macro for voiding expression results.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14527 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-11 06:49:23 +00:00
Giovanni Di Sirio ec949c90a7 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14495 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-06-05 13:37:03 +00:00
Giovanni Di Sirio 002f7a9920 CMSIS RTOS alignment to new timers.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14490 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-05 10:34:21 +00:00
Giovanni Di Sirio 73bd4a0892 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14479 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-06-05 07:09:15 +00:00
Giovanni Di Sirio cba1776dbb naming problem
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14476 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-05 05:43:14 +00:00
Giovanni Di Sirio ec1d2e9e55 Removed unused option.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14475 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-05 03:52:17 +00:00
Giovanni Di Sirio 9e59fb4e72 Removed duplicated files for ARM ports: chtypes.h.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14472 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-04 18:14:54 +00:00
Giovanni Di Sirio 3602cb0656 Removed duplicated files, simplified port layer.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14471 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-04 17:33:41 +00:00
Giovanni Di Sirio f3b1bd3859 Fixed documentation tags.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14469 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-04 14:50:58 +00:00
Giovanni Di Sirio be70523cc5 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14467 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-06-04 14:10:54 +00:00
Giovanni Di Sirio 16c999235d git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14466 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-06-04 13:07:21 +00:00
Giovanni Di Sirio 9f30e149ba git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14465 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-06-04 12:11:22 +00:00
Giovanni Di Sirio e0d5638a2b Simplified ports interface, used by just ARMv7-M so far. Integration of ccportab.h into port layers ongoing too.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14464 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-04 11:59:01 +00:00
Giovanni Di Sirio 67e27c9902 Updated compiler support headers.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14463 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-06-04 10:16:01 +00:00
vrepetenko 524aed7a85 Broken Keil projects fixed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14448 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-30 20:09:55 +00:00
Giovanni Di Sirio fc914d7c6b Dynamic support implemented for STM32G0, updated G0 CMSIS files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14419 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-23 09:43:10 +00:00
Giovanni Di Sirio 38e27cdbb4 Timers-related changes in various projects.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14350 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-07 12:35:39 +00:00
Giovanni Di Sirio 3be977634b More consistency changes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14348 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-07 09:52:47 +00:00
cinsights d0784d3454 RP - Update rp2040.h. More peripherals with XOR, SET & CLR.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14336 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-29 06:02:05 +00:00
Giovanni Di Sirio 9d617edee6 Restored SB functionality with RT7.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14327 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-25 15:16:41 +00:00
Giovanni Di Sirio 7baf0a5c41 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14323 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-04-25 13:50:17 +00:00
Giovanni Di Sirio 129a26eb40 Cross-core halt message.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14303 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-24 15:01:02 +00:00
vrepetenko 588e9cbe6a STM32WLxx port: deleted STM32WLxxC.ld.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14265 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-23 07:25:44 +00:00
vrepetenko b9c0908faf STM32WLxx port: added pin count to NUCLEO board and demo name, merged stm32wl ld files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14263 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-23 06:52:31 +00:00
Giovanni Di Sirio 5e1cfe86a2 Reverted to 4 timers.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14261 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-22 13:27:34 +00:00
Giovanni Di Sirio 776526b260 Fixed DMA offsets.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14257 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-22 07:18:25 +00:00
cinsights 18792fe675 RP - Fix padding in DMA_Debug_Typedef
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14255 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-21 21:43:36 +00:00
cinsights 368fa59d4e git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14244 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-04-20 15:25:37 +00:00
cinsights 9bb5c3825d RP - more DMA INTx0/1 register block changes
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14243 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-20 15:20:59 +00:00
cinsights 151bbee808 RP - Fix typo in rp_dma.h function name, fix register bank offset in DMA
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14242 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-20 15:02:57 +00:00
cinsights 2e8287a175 RP DMA IO in AHB, DMA TX IRQ handler fix, minor typo in SPI driver
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14228 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-18 22:52:05 +00:00
Giovanni Di Sirio 8e0f307e75 Optimizations, documentation reformatting.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14223 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-18 09:59:41 +00:00
Giovanni Di Sirio dc9b229679 More readable conditions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14222 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-18 09:09:54 +00:00
Giovanni Di Sirio dfb98a1b5e More readable conditions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14221 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-18 09:07:04 +00:00
Giovanni Di Sirio 8797e729b8 Improved register definitions for RP.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14220 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-18 08:24:52 +00:00
cinsights 0a01e0956a RP WDG typo fixes - not yet working
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14216 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-17 14:19:00 +00:00
Giovanni Di Sirio a98dc3fcca Some more refinement on registers, SPI and DMA.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14208 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-17 07:49:50 +00:00
Giovanni Di Sirio f89be6c961 More SPI definitions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14205 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-16 18:38:31 +00:00
Giovanni Di Sirio e9e5ec0958 Some more bits definitions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14204 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-16 17:59:26 +00:00
Giovanni Di Sirio 8fa88b0b7d RP2040 DMA-related code.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14197 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-16 07:49:24 +00:00
cinsights 7d63fde1c3 Reduce STM32WLxxC.ld flash size to 128K (dual core flash arrangement)
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14196 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-16 01:56:39 +00:00
cinsights 6d6e4e415c Formatting fix
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14194 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 13:48:34 +00:00
cinsights 92e8aeb73c Fix PORT_INFO define for non-SMP mode
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14193 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 13:46:49 +00:00
cinsights 1f4768da84 RP WDGv1 WIP
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14187 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 10:57:19 +00:00
cinsights 31254eb459 Add WL missing startup folder
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14180 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-15 01:00:56 +00:00
cinsights 7a01e980a8 Add initial support for STM32WLx series (M4 core only)
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14178 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-14 22:57:53 +00:00
cinsights 8ef71e4289 Fix RP typos (PORT_HANDLE_FIFO_MESSAGE hook in chcore.c)
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14177 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-14 13:26:08 +00:00
Giovanni Di Sirio e4401ac0c3 The variable ch_system is not available in all configurations, "owner" is always present in thread structures, shell enhanced to show the core id.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14173 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-14 10:15:37 +00:00
Giovanni Di Sirio c93d99ee3a Fixed regression from latest changes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14172 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-14 07:54:53 +00:00
Giovanni Di Sirio 42d5fca126 More registry-related changes, removed some complexity from asm port modules thanks to registry changes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14170 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-13 08:42:51 +00:00