WIP: px4log

This commit is contained in:
Daniel Agar
2023-03-16 21:20:58 -04:00
parent 0ae296bfe2
commit b4555db0e7
245 changed files with 573 additions and 1185 deletions
+2
View File
@@ -72,6 +72,8 @@ CONFIG_SYSTEMCMDS_MTD=y
CONFIG_SYSTEMCMDS_NSHTERM=y
CONFIG_SYSTEMCMDS_PARAM=y
CONFIG_SYSTEMCMDS_PERF=y
CONFIG_SYSTEMCMDS_PX4LOG=y
CONFIG_SYSTEMCMDS_PX4LOG_TAIL=y
CONFIG_SYSTEMCMDS_REBOOT=y
CONFIG_SYSTEMCMDS_REFLECT=y
CONFIG_SYSTEMCMDS_SD_BENCH=y
@@ -132,6 +132,7 @@ CONFIG_NSH_MAXARGUMENTS=15
CONFIG_NSH_NESTDEPTH=8
CONFIG_NSH_QUOTE=y
CONFIG_NSH_ROMFSETC=y
CONFIG_NSH_ROMFSRC=y
CONFIG_NSH_ROMFSSECTSIZE=128
CONFIG_NSH_STRERROR=y
CONFIG_NSH_VARS=y
+1 -2
View File
@@ -179,8 +179,7 @@
#define BOARD_HAS_ON_RESET 1
#define BOARD_ENABLE_CONSOLE_BUFFER
#define BOARD_CONSOLE_BUFFER_SIZE (1024*3)
__BEGIN_DECLS
+1 -1
View File
@@ -121,7 +121,7 @@ __EXPORT void board_peripheral_reset(int ms)
// Wait for the peripheral rail to reach GND.
usleep(ms * 1000);
syslog(LOG_DEBUG, "reset done, %d ms\n", ms);
PX4_DEBUG("reset done, %d ms\n", ms);
// Re-enable power.
// Switch the peripheral rail back on.