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

Stm32 f2 cube sdk update to v1.6.0 #4402

Merged
merged 3 commits into from
May 31, 2017

Conversation

LMESTM
Copy link
Contributor

@LMESTM LMESTM commented May 29, 2017

Description

This is an update to the latest STM32 Cube SDK for F2 family.

Status

READY

Tests reports

MBED OS2 ['NOT_SUPPORTED: 4/124 (3.2%) ', 'OK: 120/124 (96.8%) ']
MBED OS5 ['OK: 552 /552 (100.0%) ']
MBED CI ['OK: 104/104 (100.0%) ']

This PR updates STM32 Cube SDK to
- HAL V1.2.1
- LL V1.2.1
- CMSIS 2.2.0
When we want to activate USE_FULL_ASSERT macro in STM32 CUBE, there is a
need to have the assert map to MBED.

The easiest way to have this definition in a single place for all STM32
HAL and LL files using it, is to add a specific header file where the
porting to MBED is done.
F2 family also require that TIM_AUTORELOAD_PRELOAD_DISABLE is set,
otherwise the field could have undefined value from the stacj and may
lead to undefined behavior.

The error was found using USE_FULL_ASSERT HAL option.

Rather than adding F2 to the list of family, let's set this parameter for
any family where TIM_AUTORELOAD_PRELOAD_DISABLE applies.
@0xc0170
Copy link
Contributor

0xc0170 commented May 30, 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: 371

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.

5 participants