-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Add SensorTile.box board support and sample to test it #18182
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
|
All checks are passing now. Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages. |
db08e9c to
7830d1e
Compare
7830d1e to
ee949d6
Compare
|
@dbkinder |
ee949d6 to
1d5d77e
Compare
1d5d77e to
433b307
Compare
dbkinder
left a comment
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.
one typo, otherwise LGTM
433b307 to
cdda1b4
Compare
|
@dbkinder |
cdda1b4 to
261f2bf
Compare
|
I rebased this PR on top of #19068. @dbkinder is now the doc fine? @erwango @MaureenHelm |
261f2bf to
7810a7e
Compare
7810a7e to
b0596c9
Compare
erwango
left a comment
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.
Few comments otherwise is good and clean
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.
STM32FL4Rx
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.
Since you provided the dfu-runner info, I guess that usual west flash command will work.
It would be good adding and example of west flash/debug commands for zephyr beginners.
boards/arm/sensortile_box/pinmux.c
Outdated
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.
boards/arm/sensortile_box/pinmux.c
Outdated
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.
Ditto
boards/arm/sensortile_box/pinmux.c
Outdated
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.
ditto
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.
Comment not in line with configuration, or misleading.
dbkinder
left a comment
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.
LGTM, thanks for the doc updates!
|
@erwango |
|
@avisconti, no issue with adding STM32L4R9. It could actually be done in the current PR, which will be used as validation. From what I see STM32L4R9 is a direct superset of STM32L4R5, so addition should be minor:
|
b0596c9 to
5ad66ff
Compare
5ad66ff to
4110d97
Compare
@erwango |
3c34e36 to
21dcf98
Compare
I re-pushed it. |
21dcf98 to
7dd04f1
Compare
|
@erwango Concerning flash size, is it same as stm32l4r5? I didn't check it to be honest... |
|
@avisconti, You're using "zi" ("Xi") variant so, it should be the same. |
The correct suffix name for selecting the GPIO for SPI Chip Select is _CS_GPIOS_CONTROLLER and not _CS_GPIO_CONTROLLER. Signed-off-by: Armando Visconti <[email protected]>
Add support for ST stm32l4r9xx System-on-Chip. See http://www.st.com/en/microcontrollers/stm32l4r9-s9.html for more details. Signed-off-by: Armando Visconti <[email protected]>
This commit adds: 1. pin definitions for SPI1 on PE12-15 on STM32L4 devices 2. SPI3 on PA15_SPI3_NSS Signed-off-by: Armando Visconti <[email protected]>
The SensorTile.box is a board designed for IoT applications embedding a wide range of intelligent low power MEMS sensors, a STM32L4 microcontroller to manage sensor configuration and process sensor output data, a micro-USB battery charging interface and an ST Bluetooth Low Energy module for wireless communication with a BLE-enabled smartphone. Signed-off-by: Armando Visconti <[email protected]>
Add sample to test SensorTile.box board. Signed-off-by: Armando Visconti <[email protected]>
7dd04f1 to
d407693
Compare
|
Since IIS3DHHC driver has been recently merged (#19042) I decided to add to sample code also the test for it. And I have changed the sample documentation. While testing IIS3DHHC for this board (is on SPI bus) I realize that there was some typos on CS_GPIO DT name. So I fixed it and put the fix in this PR (ebbdc8a) |
Add the BSP for SensorTile.box board with documentation.
And a sample code to test it out.