-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backport all CAN-related changes from upstream NuttX #186
base: px4_firmware_nuttx-10.1.0+
Are you sure you want to change the base?
Backport all CAN-related changes from upstream NuttX #186
Commits on Jul 28, 2022
-
[BACKPORT] arch/stm32h7: Add FDCAN SocketCAN driver
Adds an FDCAN driver for STM32H7 MCUs using the SocketCAN interface
Configuration menu - View commit details
-
Copy full SHA for eaab3a2 - Browse repository at this point
Copy the full SHA eaab3a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c29b742 - Browse repository at this point
Copy the full SHA c29b742View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4b9542 - Browse repository at this point
Copy the full SHA b4b9542View commit details -
Configuration menu - View commit details
-
Copy full SHA for 101663f - Browse repository at this point
Copy the full SHA 101663fView commit details -
[BACKPORT] stm32h7: Add FDCAN3_BASE to memorymap.h
Note that pinmap.h, irq.h, fdcan.h still need to be updated with proper register definitions for the FDCAN3 peripheral present in STM32H7[2|3][3|5] MCUs
Configuration menu - View commit details
-
Copy full SHA for 6d7fea1 - Browse repository at this point
Copy the full SHA 6d7fea1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7406377 - Browse repository at this point
Copy the full SHA 7406377View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7d4b23 - Browse repository at this point
Copy the full SHA c7d4b23View commit details -
[BACKPORT] include: can: move error.h to apps/canutils
This file is used by the libcanutils and can be isolated in apps Signed-off-by: Alin Jerpelea <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for de18616 - Browse repository at this point
Copy the full SHA de18616View commit details -
[BACKPORT] arch/arm/src/imxrt/imxrt_flexcan.c: use SW control to chec…
…k free MBs CAN_ESR2 register was having problems of havng the correct values when the bus was busy (with 3 and more nods). The register bit fields were incorrectly indicating that there is no free MB and would not updated itself from this state which was causing the applications to freeze on write. This change relies only on a software control which should avoid the problems described above. Signed-off-by: Michal Lenc <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c4ceffb - Browse repository at this point
Copy the full SHA c4ceffbView commit details -
[BACKPORT] boards/arm/imxrt/teensy-4.x: add option to have CAN3 as can0
This commit adds option for Teensy 4.x board to initialize CAN3 as can0. The reason of this is the CAN FD capability of CAN3. This commit also disables tickless mode support for pikron-bb configuration as this option started causing hard faults which are yet to be solved. Signed-off-by: Michal Lenc <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e0c61b - Browse repository at this point
Copy the full SHA 9e0c61bView commit details -
[BACKPORT] Fixed imxrt flexcan driver compilation error due to incorr…
…ect scope of variable
Configuration menu - View commit details
-
Copy full SHA for 6cd67d6 - Browse repository at this point
Copy the full SHA 6cd67d6View commit details -
[BACKPORT] net/can,icmp,icmpv6,tcp,tcp_timer,udp: device should poll …
…only those connections that are bound to the device. tcp_timer: eliminated false decrements of conn->timer in case of multiple network adapters. The false timer decrements sometimes provoked TCP spurious retransmissions due to premature timeouts.
Configuration menu - View commit details
-
Copy full SHA for d3f889f - Browse repository at this point
Copy the full SHA d3f889fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 323cc48 - Browse repository at this point
Copy the full SHA 323cc48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42f912f - Browse repository at this point
Copy the full SHA 42f912fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 334e7ca - Browse repository at this point
Copy the full SHA 334e7caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 248efed - Browse repository at this point
Copy the full SHA 248efedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ef0905 - Browse repository at this point
Copy the full SHA 6ef0905View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dea2bd - Browse repository at this point
Copy the full SHA 3dea2bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0b5f3e - Browse repository at this point
Copy the full SHA c0b5f3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5950e63 - Browse repository at this point
Copy the full SHA 5950e63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e41aff - Browse repository at this point
Copy the full SHA 5e41affView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3086179 - Browse repository at this point
Copy the full SHA 3086179View commit details -
[BACKPORT] stm32: add FDCAN support
based on PR #2987
Configuration menu - View commit details
-
Copy full SHA for 3a8a220 - Browse repository at this point
Copy the full SHA 3a8a220View commit details -
Configuration menu - View commit details
-
Copy full SHA for a406270 - Browse repository at this point
Copy the full SHA a406270View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1b5c76 - Browse repository at this point
Copy the full SHA f1b5c76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39f09f1 - Browse repository at this point
Copy the full SHA 39f09f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for de03f43 - Browse repository at this point
Copy the full SHA de03f43View commit details -
[BACKPORT] include/nuttx/can.h: rename CAN_ERR_CTRL to CAN_ERR_CRTL f…
…or compatibility with libcanutils
Configuration menu - View commit details
-
Copy full SHA for e263e0e - Browse repository at this point
Copy the full SHA e263e0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb88aa8 - Browse repository at this point
Copy the full SHA fb88aa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0889493 - Browse repository at this point
Copy the full SHA 0889493View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57b627f - Browse repository at this point
Copy the full SHA 57b627fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c625824 - Browse repository at this point
Copy the full SHA c625824View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1aa879c - Browse repository at this point
Copy the full SHA 1aa879cView commit details -
[BACKPORT] net/can: remove psock reference from can connect
remove the psock back reference since timestamp has been migrated to can_conn_s Signed-off-by: chao.an <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e12b3c - Browse repository at this point
Copy the full SHA 0e12b3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bf174d - Browse repository at this point
Copy the full SHA 1bf174dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e21e4f9 - Browse repository at this point
Copy the full SHA e21e4f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79a623a - Browse repository at this point
Copy the full SHA 79a623aView commit details -
[BACKPORT] arch/arm/src/stm32f7/stm32_can.c: fix CAN3 receiving
by fixing filter initialization. STM32F7 CAN3 works in single peripheral configuration and there is only 14 filter banks: 0-13. Previously not available 14 indexed filter (CAN_NFILTERS/2) was wrongly used for for receiving to FIFO. Now zero indexed filter is correctly used instead.
Configuration menu - View commit details
-
Copy full SHA for a0c05c2 - Browse repository at this point
Copy the full SHA a0c05c2View commit details -
[BACKPORT] drivers/can: optimize can driver reader side
Signed-off-by: Petro Karashchenko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e596450 - Browse repository at this point
Copy the full SHA e596450View commit details -
Revert "[BACKPORT] net/can: remove psock reference from can connect"
This reverts commit 9ce3fab. PR reference: apache/nuttx#5467 In order for this commit to be valid, the following other PRs must also be back-ported first: - apache/nuttx#5434 Additional PRs that fix related bugs: - apache/nuttx#5462 - apache/nuttx#5466
Configuration menu - View commit details
-
Copy full SHA for 74f1170 - Browse repository at this point
Copy the full SHA 74f1170View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98a3962 - Browse repository at this point
Copy the full SHA 98a3962View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67ad6ab - Browse repository at this point
Copy the full SHA 67ad6abView commit details
Commits on Aug 1, 2022
-
SocketCAN: add non-blocking write
Co-authored-by: Peter van der Perk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 601722d - Browse repository at this point
Copy the full SHA 601722dView commit details