修复kconfig保存错误的问题

This commit is contained in:
zhangzheng
2023-11-22 22:14:25 +08:00
parent ba53429b12
commit 1fde5f0e1d
2 changed files with 4 additions and 2 deletions

View File

@@ -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

View File

@@ -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);
}