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

Cleanup 003 with thing noticed when making 00x #575

Merged
merged 3 commits into from
Mar 27, 2025
Merged

Conversation

dwillmore
Copy link
Collaborator

Removed INFO_BASE
Removed CRC_TypeDef
Removed DEBUGMCU_STOP
Fixed ESIG_TypeDef to match RM and 00x correct names
Fixed USART_TypeDef to match RM and 00x convert from 16bit to 32bit and remove reserved padding.
Fixed WWDG_TypeDef to match RM and 00x convert from 32bit to 16bit and add reserved padding.
Removed EXTEND_TypeDef
Remove all GPIO_ defines for bits 8 and higher. We only have 8 bit registers 0-7
Fixed GPIO_ defines to be 32 bit fields to match RM and 00x
Fixed AFIO_PCFR1register to properly name remapping fields (comments mostly) and remove unused defines for things we don't have
Removed dualmod defines from ADC_CTLR1
removed ADC_TSVREFE from ADC_CTLR2
Changed ADC_STATR to 32 bit from 8 bit
Changed ADC_IOFRx to 32 bit from 16 bit and corrected mask from 0x0fff to 0x02ff
Changed ADC_WDHTR and ADC_WDLTR to 32 bit from 16 bit and corrected mask from 0x0fff to 0x02ff
Changed ADC_IDATARx to 32 bit from 16 bit
Changed ADC_DLYR values to 32bit from 8 bit
Changed FLASH_STATR to 32 bit from a mixture of 8 and 16 bit
Changed FLASH_CTLR to 32 bits from nothing
Removed FLASH_OBR defines not in RM
Changed FLASH_OBR to 32 bit from 16 bit
Changed FLASH_WPR defines to match RM
Removed GPIO_CFGHR defines as we don't have 16 bit gpio
Cleanup AFIO_EXTI to add missing defines and make 32 bit.
Remving I2C_CTLR1 defines for features not in RM
Removed I2C_STARx defines for SMbus.
Changed PWR_* to remove unsued defines and convert to 32 bit from 16 bit Enhance RCC_CFGR0 with all the ADC divider values
Removed RCC_CFGR0 PLL divisors that are unused
Removed RCC_CFGR2 as there is none
Removed RCC_INTR defines that don't exist in the RM Changed TIM_SWEVGR to 16 bit from 8 bit
Changed TIM_CHxCVR to 32 bits from 16 bits and added LEVEL bits

Removed CRC_TypeDef
Removed DEBUGMCU_STOP
Fixed ESIG_TypeDef to match RM and 00x correct names
Fixed USART_TypeDef to match RM and 00x convert from 16bit to 32bit and remove reserved padding.
Fixed WWDG_TypeDef to match RM and 00x convert from 32bit to 16bit and add reserved padding.
Removed EXTEND_TypeDef
Remove all GPIO_ defines for bits 8 and higher. We only have 8 bit registers 0-7
Fixed GPIO_ defines to be 32 bit fields to match RM and 00x
Fixed AFIO_PCFR1register to properly name remapping fields (comments mostly) and remove unused defines for things we don't have
Removed dualmod defines from ADC_CTLR1
removed ADC_TSVREFE from ADC_CTLR2
Changed ADC_STATR to 32 bit from 8 bit
Changed ADC_IOFRx to 32 bit from 16 bit and corrected mask from 0x0fff to 0x02ff
Changed ADC_WDHTR and ADC_WDLTR to 32 bit from 16 bit and corrected mask from 0x0fff to 0x02ff
Changed ADC_IDATARx to 32 bit from 16 bit
Changed ADC_DLYR values to 32bit from 8 bit
Changed FLASH_STATR to 32 bit from a mixture of 8 and 16 bit
Changed FLASH_CTLR to 32 bits from *nothing*
Removed FLASH_OBR defines not in RM
Changed FLASH_OBR to 32 bit from 16 bit
Changed FLASH_WPR defines to match RM
Removed GPIO_CFGHR defines as we don't have 16 bit gpio
Cleanup AFIO_EXTI to add missing defines and make 32 bit.
Remving I2C_CTLR1 defines for features not in RM
Removed I2C_STARx defines for SMbus.
Changed PWR_* to remove unsued defines and convert to 32 bit from 16 bit
Enhance RCC_CFGR0 with *all* the ADC divider values
Removed RCC_CFGR0 PLL divisors that are unused
Removed RCC_CFGR2 as there is none
Removed RCC_INTR defines that don't exist in the RM
Changed TIM_SWEVGR to 16 bit from 8 bit
Changed TIM_CHxCVR to 32 bits from 16 bits and added LEVEL bits
@cnlohr
Copy link
Owner

cnlohr commented Mar 25, 2025

I mean so far this looks really good.

@dwillmore dwillmore marked this pull request as ready for review March 26, 2025 12:30
@cnlohr cnlohr merged commit 53a4654 into master Mar 27, 2025
180 checks passed
@cnlohr cnlohr deleted the x00x_003_cleanup branch March 27, 2025 20:22
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