-
Notifications
You must be signed in to change notification settings - Fork 2.1k
stm32l1/vendor: update vendor files to v2.3.0 #11489
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
Conversation
cb179dc
to
c43091b
Compare
@aabadie split in two commits following your offline comments! |
I ran
Here is the gdb output:
|
I get the following failing tests which I think are all to be expected. Doesn't have the driver so expected to fail Needs sudo: Needs SD-Card: Timeouts Early: Also fails in master:
This is fixed if removing #8518 changes or adding more NOP... (I don't trust removing it though without more arguments). The tests/applications work fine if node is connected and disconnected after flashing.... weird.. The ones you mention is passing for me, what are your toolchains? mine are:
|
@aabadie replicating with different toolchain I get your described behavior.
But If I remove optimization the problem is fixed too, so there is clearly an optimization problem that depends on gcc version, in #8518 it indicated that some optimization was going on an causing the fault, although the fact that |
c43091b
to
1d54621
Compare
The issues should be fixed with #11830. |
3804f69
to
c92af33
Compare
- remove old header files - fix new DMA header file macro definitions - remove old cpu type groups (STM32L1XX_MD, STM32L1XX_MDP, STM32L1XX_HD, STM32L1XX_XL)
c92af33
to
e4a49f0
Compare
rebased |
I launched the tests again, building in docker:
|
This tests fails because of a timeout, when timeout=12s:
I'll open a separate PR for this.
I think this is OK with the test results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirm the test results reported by @fjmolinas. Let's merge this.
ACK
Contribution description
This PR updates stm32l1xx CMSIS header files to v2.3.0.
The following changes here made to the original Header files:
system_stm32l1xx.h
https://github.com/modm-io/cmsis-header-stm32/blob/b319e58b1442a77e79812d8bf9063b7221ba4f64/stm32l1xx/Include/stm32l151xca.h#L77
Testing procedure
Run all tests for nucleo-l152re or other stm32l1 based boards.
python dist/tools/compile_and_test_for_board/compile_and_test_for_board.py --jobs 0 . nucleo-l152re
Issues/PRs references
Depends on
#11830.