-
Notifications
You must be signed in to change notification settings - Fork 145
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 user apps Kconfig for settings #121
Conversation
It seems that travis CI broke by new settings....
|
Cc. @georgekang |
|
bool "EXTI interrupt test case" | ||
menu "User Space" | ||
|
||
config USER_APPS_INCLUDE |
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 dislike the use of USER_APPS_INCLUDE
. The mnemonic alternative can be USER_APPS_ENABLED
.
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.
That is true, I'll change it to USER_APPS_ENABLED
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.
Hint: use git rebase -i
to squash the changes.
@grapherd, You have to update Travis-CI configurations right after new options are introduced. |
I found that there have still some problem need to be clear. I can only success to see kdb when first If I first disable |
I expect there are only two commis: one is Kconfig changes, and another is Travis-CI specific update. |
@jserv fixed, commit change to |
menu "User Space" | ||
|
||
config USER_APPS_ENABLED | ||
bool "enabled user apps for f9-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.
Simply. Use "build user applications".
In this moment, build system will build all program in folder user/apps, but this may cause unexpected effect, for example, let kdb unusable in UART. So, we can add a new kconfig file for apps like test cases or real user program like pingpong, and thus rename menu title from "Test Case" to "User Space". And add submenu "Apps" and "Test Cases" for now. The structure look like this: - User Space - [ ] enabled user apps for f9-kernel - Apps - Test Cases
In this moment, build system will build all program in
folder user/apps, but this may cause unexpected effect,
for example, let kdb unusable in UART.
So, we can add a new kconfig file for apps like test cases
or real user program like pingpong, and thus rename menu
title from "Test Case" to "User Space".
And add submenu "Apps" and "Test Cases" for now.
The structure look like this: