修复kconfig保存错误的问题
This commit is contained in:
@@ -8,7 +8,7 @@ message(
|
||||
${CMAKE_SOURCE_DIR}/build/auto.conf "\n"
|
||||
${CMAKE_SOURCE_DIR}/build/autoconf.h "\n"
|
||||
${CMAKE_SOURCE_DIR}/build/log.txt "\n"
|
||||
${CMAKE_SOURCE_DIR}/build/.config "\n"
|
||||
${CMAKE_SOURCE_DIR}/.config "\n"
|
||||
)
|
||||
|
||||
execute_process(
|
||||
@@ -19,7 +19,7 @@ execute_process(
|
||||
${CMAKE_SOURCE_DIR}/build/auto.conf
|
||||
${CMAKE_SOURCE_DIR}/build/autoconf.h
|
||||
${CMAKE_SOURCE_DIR}/build/log.txt
|
||||
${CMAKE_SOURCE_DIR}/build/.config
|
||||
${CMAKE_SOURCE_DIR}/.config
|
||||
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
# The working directory is set to the app dir such that the user
|
||||
|
||||
@@ -5,8 +5,10 @@
|
||||
#include <assert.h>
|
||||
void dfs_test(void)
|
||||
{
|
||||
char data[5];
|
||||
int fd = open("/dev/uart2", O_RDWR, 0x777);
|
||||
assert(fd >= 0);
|
||||
write(fd, "1234\n", 5);
|
||||
read(fd, data, 5);
|
||||
close(fd);
|
||||
}
|
||||
Reference in New Issue
Block a user