-
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
nrfbsim: Provide a few updated to enable more apps #80145
nrfbsim: Provide a few updated to enable more apps #80145
Conversation
Align with native_simulator's upstream main 51b27b67addd0073dc86e3d83f492c5cac5c3361 Which includes: * 51b27b nsi_utils: Add macro for weak declarations Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
CC @ilhanates |
3ce40ae
to
7c95469
Compare
Update the HW models module to: aca798cf7cf0c5dc1fd89c66cf62670051feb8d0 Including the following: * aca798c IRQ controller: Add missing prototype * 4f108bc IRQ controller: Add API to check if int is pending * a514448 MDK: provide replacement for SystemCoreClock* Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Some apps use it, so let's provide it. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Add a substitute for NVIC_GetPendingIRQ() Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
7c95469
to
8815ba8
Compare
@@ -18,6 +18,7 @@ void nrfbsim_WFE_model(void); | |||
void nrfbsim_SEV_model(void); | |||
|
|||
#define IRQ_ZERO_LATENCY BIT(1) /* Unused in this board*/ | |||
#define IRQ_PRIO_LOWEST UINT8_MAX |
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.
#define IRQ_PRIO_LOWEST UINT8_MAX | |
#define IRQ_PRIO_LOWEST UINT8_MAX |
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.
you don't like the defines aligned? :)
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.
There is a tab, is it not? ... no. of spaces to align i can not make out in github, but definitely see a tab though.
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.
there is 2 tabs to align with the single tab in the line above
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.
Tab only allowed at the beginning of lines in Zephyr, atleast that is how compliance used to be.
authors descretion to fix tabs in between defines.
A few minor updates which enable more apps.
One commit provides a macro defined for ARM some apps need. The other 2 are minor updates to the native simulator and HW models.