f9micro / f9-kernel

An efficient and secure microkernel built for ARM Cortex-M cores, inspired by L4
Other
679 stars 145 forks source link

Add user apps Kconfig for settings #121

Closed louisom closed 4 years ago

louisom commented 7 years ago

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:

louisom commented 7 years ago

It seems that travis CI broke by new settings....

$ build/host/conf --silentoldconfig build/host/Config.in
*
* Restart config...
*
*
* User Space
*
Compile with user apps (USER_APPS_INCLUDE) [N/y/?] (NEW) 
jserv commented 7 years ago

Cc. @georgekang

jserv commented 7 years ago

user/apps is not a folder. It is a "directory" instead.

jserv commented 7 years ago

@grapherd, You have to update Travis-CI configurations right after new options are introduced.

louisom commented 7 years ago

I found that there have still some problem need to be clear.

I can only success to see kdb when first make defconfig then disable USER_APPS_ENABLED.

If I first disable USER_APPS_ENABLED then make flash, it won't appear kdb, but only == on screen.

jserv commented 7 years ago

I expect there are only two commis: one is Kconfig changes, and another is Travis-CI specific update.

louisom commented 7 years ago

@jserv fixed, commit change to Add user apps kconfig and update board defconfig