cpu/arm: fixes necessary for toolchain upgrade#13456
cpu/arm: fixes necessary for toolchain upgrade#13456kaspar030 merged 3 commits intoRIOT-OS:masterfrom
Conversation
|
I whish there was a "high priority" option in Murdock... |
| */ | ||
| #define CALIB_T_P_BASE (BMX280_DIG_T1_LSB_REG) | ||
| #define CALIB_T_P_LEN (17U) | ||
| #define CALIB_T_P_LEN (32U) /* might be larger than neeeded */ |
There was a problem hiding this comment.
previous value was "17". The highest accessed index that popped up int the warning was "23". I chose 32 as the next highest power of two, on stack it would probably have chosen "24".
There was a problem hiding this comment.
The 8-bit registers are named calib00...calib41 and are stored at memory addresses 0x88...0xA1 and 0xE1...0xE7.
so 26 should do
There was a problem hiding this comment.
If I'm correct this should be 0x17 or 0d22. But we can change that in a follow-up with some more thorough testing. 32U should definitely be enough.
There was a problem hiding this comment.
Since those are turned into register reads, I'd rather not read additional random registers without knowing if there might be some effect on-read.
There was a problem hiding this comment.
Ok, let's merge as is then I open a PR for the correct value?
There was a problem hiding this comment.
Why not use the right value right away?
There was a problem hiding this comment.
Why not use the right value right away?
Because it will block all PRs for another 20 minutes :|
There was a problem hiding this comment.
Ok, let's merge as is then I open a PR for the correct value?
Yes please!
a4adf7e to
8a909b1
Compare
|
@RIOT-OS/ci @RIOT-OS/maintainers pls ACK. :) |
|
This will also fix #13434 |
There it is, didn't find the issue. |
|
There's still this: ... when compiling the unittests for saml11-xpro... I propose blacklisting until we have a fix. |
tests/unittests/Makefile
Outdated
| include ../Makefile.tests_common | ||
|
|
||
| # temporarily disable building, see #13456. | ||
| BOARD_BLACKLIST := saml11-xpro |
There was a problem hiding this comment.
| BOARD_BLACKLIST := saml11-xpro | |
| BOARD_BLACKLIST := saml10-xpro saml11-xpro |
tests/unittests/Makefile
Outdated
| include ../Makefile.tests_common | ||
|
|
||
| # temporarily disable building, see #13456. | ||
| BOARD_BLACKLIST := saml11-xpro |
There was a problem hiding this comment.
Or better yet
| BOARD_BLACKLIST := saml11-xpro | |
| FEATURES_BLACKLIST += cortex-m23 |
9315972 to
13a6cfb
Compare
not exposed as arch feature :( |
Sometimes I wonder, if RIOT's cute little compile test exposes something like this, what's gcc's or ARM's CI compiling? |
|
Thanks everyone! |
|
Looks like this also needs a backport, otherwise other packports are failing CI. |
@kaspar030 @benpicco are there other toolchain changes since the last release? I do not like the fact that whatever we are backporting will be tested with a different toolchain. |
|
Backport provided in #13536 |
Contribution description
The ARM toolchain upgrade (RIOT-OS/riotdocker#78) slipped through some new compiler warnings (which turn into errors now).
This PR tries to fix them.
Testing procedure
Issues/PRs references
Fixes #13434.