-
Notifications
You must be signed in to change notification settings - Fork 8.2k
boards: m5stack: cores3: Add CoreS3 SE variant #79765
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: m5stack: cores3: Add CoreS3 SE variant #79765
Conversation
83b4d2b to
a3d11e3
Compare
a3d11e3 to
26c02e3
Compare
I split and simplified this PR. |
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.
Is this really a board "revision" and not a board "variant"?
fcb28b5 to
e816e64
Compare
e816e64 to
4c278b4
Compare
That's right. I fixed it. |
4c278b4 to
b9c7a58
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.
Any reason to let gpio and pinmux in ignore_tags?
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.
@sylvioalves
I added a commit to add a connector definition and enable the required peripherals.
I also updated the yaml definition accordingly. Could you confirm it?
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 think it would be much better to amend the commit by moving this part and squash it with the last commit where you do the other changes.
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 am done squashing commits.
And according to this #78718 (comment)
discussion, I removed the ignore_tags: section.
|
@sylvioalves @marekmatej |
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.
The file rename part I leave up to you to decide. The yaml changes should be unified.
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.
any reason for renaming this file? IMO it does not need to follow the SoC structure as when addressing the build target. The same applies to all renamed files.
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.
The "Board Porting Guide"
https://docs.zephyrproject.org/latest/hardware/porting/board_porting.html
says, the filename should be,
As described in the Write your devicetree and Write Kconfig files sections the board default configuration is created from the files <board>.dts / <board>_<qualifiers>.dts and <board>defconfig / <board><qualifiers>_defconfig. When building for a specific board revision, the above files are used as a starting point and the following board files will be used in addition:
and here, the <qualifiers> is,
Board qualifiers of the form <soc>/<cpucluster>/<variant> are normalized so that / is replaced with _ when used for filenames, for example: soc1/foo becomes soc1_foo when used in filenames.
So, my understanding is that the original file name is no problem for it is worked but does not follow the specs.
If following the spec requires the SoC name, "esp32s3" in this case, it is needed.
I am fixing it to comply with the specifications, but I know this is not a convention in the esp32 domain, so I will revert it if that is better.
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 changed the file name back to the original.
Complying with the spec may be necessary in the long term, but it would be better to do this together with the other boards at that time.
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 got your point! I too think that it would be better to address the file name format for a group of boards. Thanks for clarifying your intention and bringing up the documentation bits.
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 think it would be much better to amend the commit by moving this part and squash it with the last commit where you do the other changes.
Add `se` variant to support the low-cost CoreS3 SE. - Add configuration files Add `m5stack_cores3_procpu_se(.dts|.yaml|defconfig)` files. Reorganize dts files to split common parts. - Update .yaml file Add gpio, can, counter, entropy, pwm, and pinmux to the supported feature group. Remove the `ignore_tags:` section. - Update documents Add and modify information about CoreS3 SE. Add more description about sysbuild. Signed-off-by: TOKITA Hiroshi <[email protected]>
Adding M-Bus and Grove connector and also add configuration for related peripherals. Signed-off-by: TOKITA Hiroshi <[email protected]>
62c62d5 to
7011fa3
Compare
Add
sevariant to support the low-cost CoreS3 SE.Also add grove and mbus definitions and enable the peripherals.