-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Add support for Actinius Icarus SoM Development Kit #51790
Add support for Actinius Icarus SoM Development Kit #51790
Conversation
f9b9a8a
to
ed82c99
Compare
@gmarull @carlescufi can this make it into Zephyr before the upcoming release? |
boards/arm/actinius_icarus_som_dk/actinius_icarus_som_dk_common.dts
Outdated
Show resolved
Hide resolved
@alextsam please address review comments |
e813f62
to
a33ed6c
Compare
24abc20
to
90854f4
Compare
zephyr_library() | ||
|
||
add_subdirectory(${ZEPHYR_BASE}/boards/common/actinius actinius_common) |
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.
@tejlmand can you please review this?
90854f4
to
242b3fe
Compare
2efa27d
to
3415549
Compare
irq-gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>, | ||
<&gpio0 28 GPIO_ACTIVE_HIGH>; |
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.
align properly
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 improved the indentation, but these cannot align completely without either using spaces or by pushing the gpio of the first line further, which in my opinion looks weird
boards/arm/actinius_icarus_som_dk/actinius_icarus_som_dk_common.dts
Outdated
Show resolved
Hide resolved
cead00e
to
2b6c30b
Compare
2b6c30b
to
086b613
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.
Can you fix the commit logs? Looks like you have some extra signed-off-by lines due to some squashing. One question about error handling -- is this really what you mean?
Generally looks fine to me, thanks for your persistence!
#endif | ||
|
||
#if DT_HAS_COMPAT_STATUS_OKAY(actinius_charger_enable) | ||
result = actinius_board_set_charger_enable(); |
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.
Won't a success here overwrite an error on line 75?
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.
Fixed the commit log, thanks, I missed this earlier.
Regarding the error handling, basically it's relying on logging here; maybe we should even remove the return
as this function is only used with SYS_INIT and -please correct me if I am wrong- there is no way to get the return value from the kernel.
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.
maybe we should even remove the return
No objections from my side if it's OK to proceed despite errors on your hardware
This adds support for the nRF9160-based Icarus SoM DK (development kit) from Actinius and a common library for board init code that is common to multiple boards from Actinius. Signed-off-by: Alex Tsamakos <[email protected]>
This changes all Actinius boards to use the helper lib in `boards/common/actinius` for setting up common init values such as SIM Select and Charger Enable. Signed-off-by: Alex Tsamakos <[email protected]>
086b613
to
2565bcc
Compare
This adds support for the Actinius Icarus SoM DK (www.actinius.com/icarus-som-dk) and patches other Actinius boards for silencing a build-time warning.
Signed-off-by: Alex Tsamakos [email protected]