Skip to content

STM32 : Clock source selection in json config file (PR2) #4740

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

Merged
merged 8 commits into from
Jul 24, 2017

Conversation

jeromecoutant
Copy link
Collaborator

Description

This was started in #4421 but only in STM32F4 familiy.
This PR is updating all the other families: F0/F1/F2/F3/F7/L0/L1/L4

Reminder:

  • default value is the same as before patch
  • system_stm32f4xx.c file is copied from target level to family level (easier to maintain at each cube update)
  • specific clock configuration is now in a new file: system_clock.c (target level)
  • nvic_addr.h file is now in TARGET_STM level

Status

READY

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 18, 2017

Can you please rebase, we will trigger CI.

Changes looks good to me.

- default value is the same as before patch
- system_stm32f0xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
- default value is the same as before patch
- system_stm32f1xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
- default value is the same as before patch
- system_stm32f2xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
- default value is the same as before patch
- system_stm32f3xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
- default value is the same as before patch
- system_stm32f7xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
- default value is the same as before patch
- system_stm32l0xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
- default value is the same as before patch
- system_stm32l1xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
- default value is the same as before patch
- system_stm32l4xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
- nvic_addr.h file is now in TARGET_STM level
@jeromecoutant
Copy link
Collaborator Author

Can you please rebase, we will trigger CI.

Done

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 21, 2017

/morph test

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 862

All builds and test passed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants