Skip to content

STM32F103 Small APIS and changes#639

Merged
mattnite merged 16 commits intoZigEmbeddedGroup:mainfrom
RecursiveError:small-apis
Aug 26, 2025
Merged

STM32F103 Small APIS and changes#639
mattnite merged 16 commits intoZigEmbeddedGroup:mainfrom
RecursiveError:small-apis

Conversation

@RecursiveError
Copy link
Copy Markdown
Collaborator

@RecursiveError RecursiveError commented Aug 5, 2025

Add support for small APIs such as:

  • DMA
  • POWER
  • BACKUP
  • RTC
  • CRC
  • AFIO (REMAP)
  • EXTI

And small bug fixes and typo corrections:

  • Fix: config_RTC on rcc.clock_init: The backup domain was not activated, resulting in configuration failure
  • rename: master/slave Primary/Secondary on ADC dualmode
  • rename: "slave mode" to "sync mode" in the timer synchronization config
  • add ssd1306 i2c example, It was supposed to be added right after I did the I2C but I forgot :P
  • get_regs() modified to only accept comptime
  • removed implicit pointer types: I2CRegs, SpiRegs and UartRegs -> *volatile__bus__ _t
  • Remove unused RCC imports from I2C, SPI, UART Echo, and UART Log examples
  • fixed: USB PID and I/O status had small bugs due to not handling correctly the toggle bits, now all access to EPR (Endpoint register) write "0" to these bits to avoid accidental toggle inside "modify"

Copy link
Copy Markdown
Collaborator

@Grazfather Grazfather left a comment

Choose a reason for hiding this comment

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

quick skim

@Grazfather
Copy link
Copy Markdown
Collaborator

Grazfather commented Aug 6, 2025 via email

@RecursiveError
Copy link
Copy Markdown
Collaborator Author

RecursiveError commented Aug 6, 2025 via email

@RecursiveError RecursiveError marked this pull request as ready for review August 17, 2025 02:36
@mattnite mattnite merged commit d138762 into ZigEmbeddedGroup:main Aug 26, 2025
49 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.

3 participants