-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
boards: lilygo: ttgo_lora32: enable SDHC support #79247
base: main
Are you sure you want to change the base?
Conversation
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.
Can you add the sdhc
tag to the list of features this board supports so the SDHC tests run on it?
- sdhc |
Also, we should update the documentation page for this board to indicate SDHC support
c4568d0
to
91b86a0
Compare
Thanks for you feedback!
|
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.
Now, add ' sdhc' to the ignore list in ttgo_lora32_esp32_appcpu.yaml
.
91b86a0
to
0d2ad00
Compare
Added it. |
This fails during linking, undefined symbols are ctime_r and asctime_r. |
0d2ad00
to
ee92484
Compare
Indeed. Fix in #79455. |
@lfelten please rebase. |
ee92484
to
1e38289
Compare
@lfelten Is this completed? |
enable support for the SDHC controller to use the micro SD card slot documentation: added instructions for SD card and OLED samples Signed-off-by: Lothar Felten <[email protected]>
0af3237
1e38289
to
0af3237
Compare
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.
A nit and an actual request for change. Thanks for rebasing, too!
@@ -8,3 +8,4 @@ CONFIG_UART_CONSOLE=y | |||
|
|||
CONFIG_GPIO=y | |||
CONFIG_I2C=y | |||
CONFIG_ESP32_USE_UNSUPPORTED_REVISION=y |
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.
Can you add a comment on why this is needed (if this is needed?). This way it's not only clearer to the user but also helps knowing when we might be able to remove it in the future
The following sample application lists the contents of the SD card: | ||
|
||
.. zephyr-app-commands:: | ||
:tool: west | ||
:zephyr-app: samples/subsys/fs/fs_sample | ||
:board: ttgo_lora32/esp32/procpu | ||
:goals: build | ||
:west-args: --sysbuild | ||
:compact: | ||
|
||
The following sample application displays numbers on the OLED display: | ||
|
||
.. zephyr-app-commands:: | ||
:tool: west | ||
:zephyr-app: samples/subsys/display/cfb | ||
:board: ttgo_lora32/esp32/procpu | ||
:goals: build | ||
:west-args: --sysbuild | ||
:compact: |
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.
Not blocking but I'd rather you link to the samples instead. I understand that this is useful to give ready to copy-paste build instructions but it's also content that might be left behind should something change in the way these samples should be built (arguably unlikely, but still)
I would simply say something like "You may also run :zephyr:code-sample:XXX
to blah blah or ... to ...".
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.
Hi @kartben
Yes, I can change them to be links.
Since I usually compare with documentation files from other boards, is there a reference documentation you'd recommend? Especially how to make the links.
The copy-paste build instructions did actually change not so long ago, and I had to update them. So, removing those would be good.
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.
Should I add links like this?
- :zephyr:code-sample:
lora-send
- :zephyr:code-sample:
lora-receive
- :zephyr:code-sample:
fs-fs-sample
- :zephyr:code-sample:
display-cfb
(how do subdirectories/catgories get handled?)
enable support for the SDHC controller to use the micro SD card slot