Skip to content

Conversation

@bespsm
Copy link
Contributor

@bespsm bespsm commented Aug 1, 2025

  • The field name is 'sys_fentries' (it's borrowed from sysconfig)
  • The field value is different across chips and peripherals.
  • The field is relevant for I2C, SPI, UART peripherals, for the rest it has 'None' value
  • The filed type is usize

@bespsm
Copy link
Contributor Author

bespsm commented Aug 1, 2025

@i509VCB please check, this one is related to embassy-rs/embassy#4435

@bespsm bespsm force-pushed the peripheral-add-sys-fentries-field branch from f21a2e2 to c876463 Compare August 1, 2025 12:53
Copy link
Member

@i509VCB i509VCB left a comment

Choose a reason for hiding this comment

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

Looks good. Although I wonder if we should add a validation check to ensure all uart/spi/i2c instances have the attribute.

- The field name is 'sys_fentries' (it's borrowed from sysconfig)
- The field value is different across chips and peripherals.
- The field is relevant for I2C, SPI, UART peripherals, for the rest it has 'None' value
- The filed type is usize
@bespsm bespsm force-pushed the peripheral-add-sys-fentries-field branch from c876463 to 8925251 Compare August 1, 2025 15:30
@bespsm
Copy link
Contributor Author

bespsm commented Aug 1, 2025

Looks good. Although I wonder if we should add a validation check to ensure all uart/spi/i2c instances have the attribute.

@i509VCB added validation check for SPI, UART and I2C

@i509VCB i509VCB merged commit df572e2 into mspm0-rs:master Aug 1, 2025
1 check 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