Skip to content
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 m_can peripheral #46

Merged
merged 1 commit into from
Aug 1, 2024
Merged

add m_can peripheral #46

merged 1 commit into from
Aug 1, 2024

Conversation

Meik152
Copy link
Contributor

@Meik152 Meik152 commented Jul 31, 2024

No description provided.

Copy link
Collaborator

@nbosb nbosb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the moment, the style workflow is failing. There is a <avp64>/utils/format script you can run to check if your files are formatted accordingly to the clang-format file.

Run

  • <avp64>/utils/format -n to check if the files are formatted correctly
  • <avp64>/utils/format -i to automatically format the files

Once you're done with those small changes, just amend the commit and force push it to your branch. The pull request will update automatically.

@@ -108,13 +121,17 @@ system::system(const sc_core::sc_module_name& nm):
addr_hwrng("addr_hwrng", { HWRNG_LO, HWRNG_HI }),
addr_spi("addr_spi", { SPI_LO, SPI_HI }),
addr_gpio("addr_gpio", { GPIO_LO, GPIO_HI }),
addr_can("addr_can", { CAN_LO, CAN_HI }),
addr_can_messageram("addr_can_messageram", { CAN_MESSAGERAM_LO, CAN_MESSAGERAM_HI }),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is to long (the clang-format file allows 79 characters per column). To keep it in one line, i suggest to rename CAN_MESSAGERAM_* to CAN_MSGRAM_*.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just noticed that addr_can_messageram needs to be shortened to addr_can_msgram, too.

@nbosb nbosb self-assigned this Aug 1, 2024
@nbosb nbosb merged commit 12a2507 into aut0:master Aug 1, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants