-
Notifications
You must be signed in to change notification settings - Fork 290
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
Add support for the STM32Gxx chipset and add CANFD functionality to the driver #126
base: master
Are you sure you want to change the base?
Commits on Nov 16, 2022
-
Change the can_data_t to use the CAN_HandleTypedef
This change moves the init structure into the can_data_t which will help with simplifying the addition of CANFD. All of the bittiming is now embedded into the HAL structure.
Configuration menu - View commit details
-
Copy full SHA for ace1dcf - Browse repository at this point
Copy the full SHA ace1dcfView commit details -
Add the code to support CANFD to the code which does not touch the existing bxCAN implementation. CANFD works in normal mode.
Configuration menu - View commit details
-
Copy full SHA for 005e0ae - Browse repository at this point
Copy the full SHA 005e0aeView commit details -
Add the USB defines for the SMTG0
Added these to fix build issues (missed in another commit)
Configuration menu - View commit details
-
Copy full SHA for b529ef8 - Browse repository at this point
Copy the full SHA b529ef8View commit details -
Change budgetcan channels back to default and fix sleep pin
Budgetcan was breaking the build due to num channels being redefined. Since one one channels works for now default to one.
Configuration menu - View commit details
-
Copy full SHA for ed2982b - Browse repository at this point
Copy the full SHA ed2982bView commit details -
Fix the standby pin set/reset to use the active high/low define
Was previously ignoring the active flag, budgetcan needed it to be active low.
Configuration menu - View commit details
-
Copy full SHA for 052bdec - Browse repository at this point
Copy the full SHA 052bdecView commit details -
Change gs_host_frame to a compiler directive
Allows for flexible use of the frame type. CANFD frames are larger than non-CANFD and devices without FD should not need to utilize the larger struct.
Configuration menu - View commit details
-
Copy full SHA for 6cd5fb4 - Browse repository at this point
Copy the full SHA 6cd5fb4View commit details -
Add timestamp back into the CANFD frame
Unsure why removed, is present in the linux kernel
Configuration menu - View commit details
-
Copy full SHA for 6e5b893 - Browse repository at this point
Copy the full SHA 6e5b893View commit details -
Add minimal changes to get ip link "canfd on" to execute
All of the code changes to allow CANFD to initialize via the driver.
Configuration menu - View commit details
-
Copy full SHA for a0b1d0f - Browse repository at this point
Copy the full SHA a0b1d0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25bc304 - Browse repository at this point
Copy the full SHA 25bc304View commit details -
Changes to fully support CANFD frames on the bus
Add all the rest of the hooks for CANFD. - Needed to move the zeroing of the channel and flags into can.c as CANFD uses the flags (not zero) - Still only supports a single channel - Tested RX and TX CANFD frames at 2Mbps
Configuration menu - View commit details
-
Copy full SHA for a809d4c - Browse repository at this point
Copy the full SHA a809d4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ad9177 - Browse repository at this point
Copy the full SHA 9ad9177View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6682ebf - Browse repository at this point
Copy the full SHA 6682ebfView commit details
Commits on Nov 17, 2022
-
Removed unneeded rx and tx can buffers
This was a carryover from some HAL code. Easier to pass the pointer to the data structure within the frame.
Configuration menu - View commit details
-
Copy full SHA for d7bace8 - Browse repository at this point
Copy the full SHA d7bace8View commit details -
Apply recommended change to storage of bit timing values
Implementing recommendation to store the bit timing values as unshifted whole numbers. This ensures for debugging that the values in the struct are readable. Return the shifting to the write of the BTR as was previously done.
Configuration menu - View commit details
-
Copy full SHA for 1efa7eb - Browse repository at this point
Copy the full SHA 1efa7ebView commit details