| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fmt files, add changelog entry | Jomer.Dev | 2025-11-27 | 2 | -16/+22 |
| | | |||||
| * | Add error messages to calc_can_timings | Jomer.Dev | 2025-11-27 | 2 | -12/+52 |
| | | |||||
| * | Ability to control automatic bus off recovery #4816 | RichardWGNR | 2025-11-02 | 2 | -4/+24 |
| | | |||||
| * | Rustfmt for edition 2024. | Dario Nieuwenhuis | 2025-10-06 | 4 | -14/+14 |
| | | |||||
| * | stm32/afio: make af_num() unavailable in afio chips. | Dario Nieuwenhuis | 2025-09-06 | 2 | -8/+6 |
| | | |||||
| * | stm32/afio: make the A generic param only appear in chips with AFIO. | Dario Nieuwenhuis | 2025-09-05 | 1 | -3/+3 |
| | | |||||
| * | Add STM32F1 AFIO remap | Fabian Wolter | 2025-09-05 | 1 | -5/+7 |
| | | |||||
| * | Add mutable accessors for ID in Header and Frame structs | Malte Brieske | 2025-07-29 | 1 | -0/+10 |
| | | |||||
| * | Update Rust nightly, stable. | Dario Nieuwenhuis | 2025-07-04 | 3 | -17/+17 |
| | | |||||
| * | FDCAN/BXCAN: Finish implementation of RAII instance counters. | Corey Schuhen | 2025-06-21 | 4 | -221/+243 |
| | | | | | | | - Use DeRef in all types - Change Name of internal_operation and its enum - move into Info to avoid macro code dup | ||||
| * | Add TxGuard and RxGuard which impl RAII for the STM32 CAN reference counting | Tobias Naumann | 2025-06-21 | 2 | -74/+64 |
| | | |||||
| * | BXCAN: Put State inside a critical section mutex of RefCell. This removed ↵ | Corey Schuhen | 2025-06-21 | 1 | -127/+113 |
| | | | | | | | | unsound code that was giving out mut& to State This change is equiverlent to f5658d6833cb140296a0b6f25b7eb6d16f06c520 that was already done for the FDCAN driver. | ||||
| * | Remove duplicate calc_timestamp and move to 'Registers' struct. | Corey Schuhen | 2025-05-31 | 2 | -43/+23 |
| | | |||||
| * | Put State inside a critical section mutex of RefCell. This removes the ↵ | Corey Schuhen | 2025-05-31 | 1 | -138/+108 |
| | | | | | unsound code that was giving out mut&. to State | ||||
| * | Switch to SendDynamicSender for FDCAN. | Corey Schuhen | 2025-05-31 | 1 | -7/+7 |
| | | |||||
| * | Count all users of a given CAN instance and cleanup pins and RCC when the ↵ | Tobias Naumann | 2025-05-19 | 1 | -9/+62 |
| | | | | | last user gets dropped | ||||
| * | Make raw_data public. | Corey Schuhen | 2025-04-27 | 1 | -2/+2 |
| | | |||||
| * | STM32: Fix CAN transmit on bxcan targets | Adam Greig | 2025-04-18 | 3 | -3/+8 |
| | | |||||
| * | STM32: Change CAN data() to return slice with correct length | Adam Greig | 2025-04-18 | 2 | -11/+9 |
| | | |||||
| * | Fix rustfmt #4075 | RichardWGNR | 2025-04-11 | 1 | -4/+4 |
| | | |||||
| * | Capability to modify CAN frame data without copying. #4075 | RichardWGNR | 2025-04-11 | 1 | -0/+20 |
| | | |||||
| * | Fix #4062 | RichardWGNR | 2025-04-11 | 1 | -4/+8 |
| | | |||||
| * | Remove Peripheral trait, rename PeripheralRef->Peri. | Dario Nieuwenhuis | 2025-03-27 | 2 | -16/+13 |
| | | |||||
| * | Reference count senders and receivers so that we don't close down early. | Corey Schuhen | 2025-03-09 | 4 | -69/+199 |
| | | |||||
| * | fix wrong negation of fdcan set_transmit_pause function parameter | Andrii | 2025-01-17 | 1 | -1/+1 |
| | | |||||
| * | Allow split CAN Rx to modify the filters | Tamme Dittrich | 2025-01-07 | 1 | -3/+27 |
| | | |||||
| * | chore: fix build | elagil | 2025-01-03 | 1 | -4/+4 |
| | | |||||
| * | Merge pull request #3468 from korken89/fix-can-hang | Dario Nieuwenhuis | 2024-10-27 | 1 | -3/+7 |
| |\ | | | | | | | This fixes 2 issues where STM32 BXCAN would hang | ||||
| | * | This fixes 2 issues where STM32 BXCAN would hang | Emil Fresk | 2024-10-27 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. If one received frames under an `interrupt_free` section, in my case `init` in RTIC, the RX IRQ will fire and clear it's enable bit after `interrupt_free` is complete. There is no frame to read so RX is now unconditionally disabled forever. 2. On clearing of RX IRQ, TX stops silently. This happens due to the use of `write` instead of `modify` when modifying IRQ enable bits. Solution 1: Enable RX IRQs on every call to `try_read` that return no data. This solution also solves the issue of very delayed handling of the RX IRQ which would cause the same issue. Solution 2: Use `modify` instead of `write`. | ||||
| * | | add RTR flag if it is remote frame | Tu Nguyen | 2024-10-16 | 1 | -1/+4 |
| |/ | |||||
| * | Currently the return value of `write` is broken, it never returns the | Hans Josephsen | 2024-09-22 | 1 | -1/+1 |
| | | | | | | | | | | | previous frame even when present. This happens because a slice of length 64 is always passed to Frame::new from within the `abort_pending_mailbox` function, causing `Frame::new` to return None. The fix is to take a subslice of length `data_length`. | ||||
| * | stm32: Fix log storm when no CAN is connected | Emil Fresk | 2024-08-25 | 1 | -3/+1 |
| | | | | | | | | Running the bxcan driver without having it connected to a CAN bus causes the `info` logs to bombard. This removes the logging statements as they looked like remnants from the development of the driver. | ||||
| * | Swat some other occurrences of .unwrap() that pull in panicing infra | David Flemström | 2024-06-28 | 1 | -12/+8 |
| | | |||||
| * | stm32/gpio: refactor AfType | Jan Špaček | 2024-06-16 | 2 | -10/+10 |
| | | |||||
| * | Remove generic argument from CanBuilder. | Corey Schuhen | 2024-06-02 | 2 | -57/+46 |
| | | |||||
| * | Remove more BXCAN generics. | Corey Schuhen | 2024-06-02 | 3 | -71/+96 |
| | | |||||
| * | Emit cargo:rustc-check-cfg instructions from build.rs | Jan Špaček | 2024-05-30 | 1 | -2/+2 |
| | | |||||
| * | Merge pull request #3020 from cschuhen/feature/bxcan_no_generics | Dario Nieuwenhuis | 2024-05-30 | 2 | -110/+196 |
| |\ | | | | | | | Remove generics for BXCAN. | ||||
| | * | Use phantom for lifetime holder instead of not used pointer to pointer. | Corey Schuhen | 2024-05-30 | 1 | -9/+7 |
| | | | |||||
| | * | Remove generics for BXCAN. | Corey Schuhen | 2024-05-30 | 2 | -110/+198 |
| | | | |||||
| * | | Merge pull request #3002 from honzasp/rcc-info | Dario Nieuwenhuis | 2024-05-30 | 2 | -5/+5 |
| |\ \ | |/ |/| | | | stm32/rcc: replace generated enable/disable code with runtime info | ||||
| | * | stm32/rcc: replace generated enable/disable code with runtime info | Jan Špaček | 2024-05-25 | 2 | -5/+5 |
| | | | |||||
| * | | stm32: remove pointer-to-pointer-to-registers. | Dario Nieuwenhuis | 2024-05-30 | 2 | -12/+23 |
| | | | | | | | | | | | in chiptool pacs the register block struct is already a pointer, so using pointers to it is redundant. | ||||
| * | | Merge pull request #3012 from cschuhen/feature/fdcan_no_generics | Dario Nieuwenhuis | 2024-05-30 | 1 | -167/+246 |
| |\ \ | | | | | | | | | | Remove generic argument for STM32 FDCAN. | ||||
| | * | | Remove generic argument for STM32 FDCAN. | Corey Schuhen | 2024-05-29 | 1 | -167/+246 |
| | |/ | |||||
| * | | embassy_stm32: allow scheduling lower priority frames in bxcan driver | Maarten de Vries | 2024-05-27 | 2 | -8/+18 |
| | | | |||||
| * | | embassy_stm32: implement optional FIFO scheduling for outgoing frames | Maarten de Vries | 2024-05-27 | 2 | -15/+81 |
| |/ | |||||
| * | stm32: add support for STM32H7[RS] "bootflash line", add HIL tests. | Dario Nieuwenhuis | 2024-05-01 | 2 | -17/+17 |
| | | |||||
| * | Merge pull request #2840 from MaxiluxSystems/feature/fdcan-runtime-cfg | Dario Nieuwenhuis | 2024-04-23 | 2 | -28/+115 |
| |\ | | | | | | | stm32: can: fd: Properties for common runtime get/set operations | ||||
| | * | stm32: can: fd: Properties: simplify reg accesses | Torin Cooper-Bennun | 2024-04-23 | 1 | -2/+2 |
| | | | |||||
