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 support for stm32g0 #3135

Merged
merged 7 commits into from
Mar 5, 2024
Merged

Add support for stm32g0 #3135

merged 7 commits into from
Mar 5, 2024

Conversation

kasjer
Copy link
Contributor

@kasjer kasjer commented Feb 1, 2024

This PR:

  • adds mcu files for STM32G0 family
  • adds bsp nucleo-g0b1re
  • modifies hal to accommodate for new family hardware specifica
  • adds support for TinyUSB in STM32G0/4

@kasjer kasjer force-pushed the kasjer/stm32g0 branch 2 times, most recently from 960d09a to 3676034 Compare March 4, 2024 13:28
kasjer added 4 commits March 4, 2024 15:12
Code was using IRQ number for selecting peripheral to configure.
For some MCUs when IRQ is shared it was impossible to configured
some USARTs. Compiler would complain about same case being handled
twice.

Signed-off-by: Jerzy Kasenberg <[email protected]>
This add code for STM32G0 family.
Existing HAL was modified to accommodate to G0
hardware specifics.

MCU uses autogenerated linker script

Signed-off-by: Jerzy Kasenberg <[email protected]>
Code adds hardware specific initialization for STM32G0 and
STM32G4 to be used in TinyUSB stack.

Signed-off-by: Jerzy Kasenberg <[email protected]>
This adds BSP for STM32G0 based nucleo-g0b1re board.

Signed-off-by: Jerzy Kasenberg <[email protected]>
kasjer added 2 commits March 4, 2024 15:54
This package adds content of .image_header section
When this section is present and correct linker script is used
generated elf file can be directly downloaded by debugger

Signed-off-by: Jerzy Kasenberg <[email protected]>
generate_linker_script.sh was created with missing x attribute for
linux.
@kasjer kasjer merged commit a2ee892 into apache:master Mar 5, 2024
17 checks passed
@kasjer kasjer deleted the kasjer/stm32g0 branch March 5, 2024 08:38
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