diff --git a/drivers/can/Kconfig.sccan b/drivers/can/Kconfig.sccan index bff3e812..083f0452 100644 --- a/drivers/can/Kconfig.sccan +++ b/drivers/can/Kconfig.sccan @@ -3,7 +3,7 @@ # Copyright (c) 2023 Space Cubics,LLC # SPDX-License-Identifier: Apache-2.0 -config CAN_SCCAN +menuconfig CAN_SCCAN bool "Space Cubics CAN Driver" default y depends on DT_HAS_SC_CAN_ENABLED diff --git a/drivers/i2c/Kconfig.sc b/drivers/i2c/Kconfig.sc index 046fb953..e3e65954 100644 --- a/drivers/i2c/Kconfig.sc +++ b/drivers/i2c/Kconfig.sc @@ -3,15 +3,19 @@ # Copyright (c) 2023 Space Cubics,LLC # SPDX-License-Identifier: Apache-2.0 -config I2C_SC +menuconfig I2C_SC bool "Space Cubics I2C Master Driver" default y depends on DT_HAS_SC_I2C_ENABLED help Enable Space Cubics I2C Master Driver. +if I2C_SC + config I2C_SC_TRANSFER_TIMEOUT_MS int "I2C Transfer timeout [ms]" default 100 help Timeout in milliseconds used for each I2C transfer. + +endif diff --git a/drivers/misc/dstrx3/Kconfig b/drivers/misc/dstrx3/Kconfig index ec992d20..94197255 100644 --- a/drivers/misc/dstrx3/Kconfig +++ b/drivers/misc/dstrx3/Kconfig @@ -16,4 +16,8 @@ config SC_DSTRX3_INIT_PRIORITY help DSTRX-3 Device driver initialization priority. +module = SC_DSTRX3 +module-str = Space Cubics DSTRX-3 (S-Band Transceiver) driver +source "subsys/logging/Kconfig.template.log_config" + endif diff --git a/drivers/misc/dstrx3/sc_dstrx3.c b/drivers/misc/dstrx3/sc_dstrx3.c index e789db38..58d9d997 100644 --- a/drivers/misc/dstrx3/sc_dstrx3.c +++ b/drivers/misc/dstrx3/sc_dstrx3.c @@ -7,7 +7,7 @@ #define DT_DRV_COMPAT sc_dstrx3 #include -LOG_MODULE_REGISTER(sc_dstrx3, LOG_LEVEL_INF); +LOG_MODULE_REGISTER(sc_dstrx3, CONFIG_SC_DSTRX3_LOG_LEVEL); #include #include diff --git a/drivers/misc/fpga/Kconfig b/drivers/misc/fpga/Kconfig index c1999ca4..7609af42 100644 --- a/drivers/misc/fpga/Kconfig +++ b/drivers/misc/fpga/Kconfig @@ -16,4 +16,8 @@ config SC_FPGASYS_INIT_PRIORITY help FPGA System Register driver initialization priority. +module = SC_FPGASYS +module-str = Space Cubics FPGA System Register driver +source "subsys/logging/Kconfig.template.log_config" + endif diff --git a/drivers/misc/fpga/sc_fpgasys.c b/drivers/misc/fpga/sc_fpgasys.c index 2bb7f882..b9bbcc57 100644 --- a/drivers/misc/fpga/sc_fpgasys.c +++ b/drivers/misc/fpga/sc_fpgasys.c @@ -9,7 +9,7 @@ #include "sc_fpgasys.h" #include -LOG_MODULE_REGISTER(sc_fpgasys, LOG_LEVEL_INF); +LOG_MODULE_REGISTER(sc_fpgasys, CONFIG_SC_FPGASYS_LOG_LEVEL); #include #include diff --git a/drivers/pwm/Kconfig.sc b/drivers/pwm/Kconfig.sc index 144ddcc8..07ab66c7 100644 --- a/drivers/pwm/Kconfig.sc +++ b/drivers/pwm/Kconfig.sc @@ -3,7 +3,7 @@ # Copyright (c) 2023 Space Cubics,LLC # SPDX-License-Identifier: Apache-2.0 -config PWM_SC +menuconfig PWM_SC bool "Space Cubics PWM Driver" default y depends on DT_HAS_SC_PWM_ENABLED diff --git a/drivers/spi/Kconfig.sc b/drivers/spi/Kconfig.sc index 934bb357..d2f9c476 100644 --- a/drivers/spi/Kconfig.sc +++ b/drivers/spi/Kconfig.sc @@ -8,8 +8,12 @@ menuconfig SPI_SC_QSPI help Enable Space Cubics QSPI driver. +if SPI_SC_QSPI + config SPI_SC_IDLE_TIMEOUT_MS int "Timeout duration for waiting until the SPI Bus becomes idle.[ms]" default 100 help Timeout duration for waiting until the SPI Bus becomes idle. [ms] + +endif diff --git a/drivers/spi/spi_sc.c b/drivers/spi/spi_sc.c index b9b4cfff..e11003d1 100644 --- a/drivers/spi/spi_sc.c +++ b/drivers/spi/spi_sc.c @@ -8,7 +8,7 @@ #define LOG_LEVEL CONFIG_SPI_LOG_LEVEL #include -LOG_MODULE_REGISTER(spi_sc); +LOG_MODULE_REGISTER(spi_sc, CONFIG_SPI_LOG_LEVEL); #include #include "spi_context.h" diff --git a/tests/hwtest/adcs/Kconfig b/tests/hwtest/adcs/Kconfig index b18f74b1..ab412a80 100644 --- a/tests/hwtest/adcs/Kconfig +++ b/tests/hwtest/adcs/Kconfig @@ -8,6 +8,10 @@ config SCSAT1_ADCS_AUTO_RUN_HWTEST help Enable auto run for HW test. +module = SCSAT1_ADCS +module-str = SC-Sat1 ADCS Board +source "subsys/logging/Kconfig.template.log_config" + endmenu menu "Zephyr" diff --git a/tests/hwtest/adcs/src/adcs_init.c b/tests/hwtest/adcs/src/adcs_init.c index b2c4d197..39528767 100644 --- a/tests/hwtest/adcs/src/adcs_init.c +++ b/tests/hwtest/adcs/src/adcs_init.c @@ -11,7 +11,7 @@ #include "imu.h" #include -LOG_MODULE_REGISTER(adcs_init); +LOG_MODULE_REGISTER(adcs_init, CONFIG_SCSAT1_ADCS_LOG_LEVEL); int adcs_init(uint32_t *err_cnt) { diff --git a/tests/hwtest/adcs/src/csp.c b/tests/hwtest/adcs/src/csp.c index e42eee0c..3b027e4f 100644 --- a/tests/hwtest/adcs/src/csp.c +++ b/tests/hwtest/adcs/src/csp.c @@ -19,7 +19,7 @@ #include "syshk.h" #include -LOG_MODULE_REGISTER(csp); +LOG_MODULE_REGISTER(csp, CONFIG_SCSAT1_ADCS_LOG_LEVEL); #define ROUTER_STACK_SIZE (256U) #define SERVER_STACK_SIZE (1024U) diff --git a/tests/hwtest/adcs/src/cv.c b/tests/hwtest/adcs/src/cv.c index 6858da49..1ea2f008 100644 --- a/tests/hwtest/adcs/src/cv.c +++ b/tests/hwtest/adcs/src/cv.c @@ -8,7 +8,7 @@ #include "cv.h" #include -LOG_MODULE_REGISTER(cv); +LOG_MODULE_REGISTER(cv, CONFIG_SCSAT1_ADCS_LOG_LEVEL); #define CV_ADCS_ADDR (0x42) #define CV_RW_ADDR (0x40) diff --git a/tests/hwtest/adcs/src/cv_test.c b/tests/hwtest/adcs/src/cv_test.c index 0f3d6eac..91c863d5 100644 --- a/tests/hwtest/adcs/src/cv_test.c +++ b/tests/hwtest/adcs/src/cv_test.c @@ -11,7 +11,7 @@ #include "sysmon.h" #include -LOG_MODULE_REGISTER(cv_test); +LOG_MODULE_REGISTER(cv_test, CONFIG_SCSAT1_ADCS_LOG_LEVEL); #define CV_INVALID_FLOAT (0.0f) #define CV_INVALID_UINT (0U) diff --git a/tests/hwtest/adcs/src/gnss.c b/tests/hwtest/adcs/src/gnss.c index e7064f5d..9a988419 100644 --- a/tests/hwtest/adcs/src/gnss.c +++ b/tests/hwtest/adcs/src/gnss.c @@ -10,7 +10,7 @@ #include "gnss.h" #include -LOG_MODULE_REGISTER(gnss); +LOG_MODULE_REGISTER(gnss, CONFIG_SCSAT1_ADCS_LOG_LEVEL); #define GNSS_WAKE_RETRY_COUNT (200U) #define GNSS_HWMON_RETRY_COUNT (2000U) diff --git a/tests/hwtest/adcs/src/imu.c b/tests/hwtest/adcs/src/imu.c index f93c29b3..2a16ce0f 100644 --- a/tests/hwtest/adcs/src/imu.c +++ b/tests/hwtest/adcs/src/imu.c @@ -10,7 +10,7 @@ #include "imu.h" #include -LOG_MODULE_REGISTER(imu); +LOG_MODULE_REGISTER(imu, CONFIG_SCSAT1_ADCS_LOG_LEVEL); #define IMU_STD_DATA_SIZE (19U) #define IMU_EXT_DATA_SIZE (26U) diff --git a/tests/hwtest/adcs/src/imu_test.c b/tests/hwtest/adcs/src/imu_test.c index 7aaab104..3f5c8da7 100644 --- a/tests/hwtest/adcs/src/imu_test.c +++ b/tests/hwtest/adcs/src/imu_test.c @@ -7,7 +7,7 @@ #include "imu_test.h" #include -LOG_MODULE_REGISTER(imu_test); +LOG_MODULE_REGISTER(imu_test, CONFIG_SCSAT1_ADCS_LOG_LEVEL); static void imu_print_imu_data(struct imu_data *data) { diff --git a/tests/hwtest/adcs/src/loop_test.c b/tests/hwtest/adcs/src/loop_test.c index 7412f86a..32fa10e9 100644 --- a/tests/hwtest/adcs/src/loop_test.c +++ b/tests/hwtest/adcs/src/loop_test.c @@ -16,7 +16,7 @@ #include "rw.h" #include -LOG_MODULE_REGISTER(loop_test); +LOG_MODULE_REGISTER(loop_test, CONFIG_SCSAT1_ADCS_LOG_LEVEL); struct k_event loop_event; diff --git a/tests/hwtest/adcs/src/main.c b/tests/hwtest/adcs/src/main.c index 55170490..5fc457f6 100644 --- a/tests/hwtest/adcs/src/main.c +++ b/tests/hwtest/adcs/src/main.c @@ -7,7 +7,6 @@ #include #include #include -#include #include "common.h" #include "csp.h" #include "wdog.h" @@ -21,6 +20,9 @@ #include "loop_test.h" #include "syshk_test.h" +#include +LOG_MODULE_REGISTER(adcs_main, CONFIG_SCSAT1_ADCS_LOG_LEVEL); + #define CMD_HANDLER_PRIO (0U) #define CMD_EXEC_EVENT (1U) @@ -31,8 +33,6 @@ static struct k_thread cmd_thread; static struct k_event exec_event; extern struct k_event loop_event; -LOG_MODULE_REGISTER(adcs_main); - static void cmd_handler(void *p1, void *p2, void *p3) { int ret = 0; diff --git a/tests/hwtest/adcs/src/rw.c b/tests/hwtest/adcs/src/rw.c index c805f62e..ff01073e 100644 --- a/tests/hwtest/adcs/src/rw.c +++ b/tests/hwtest/adcs/src/rw.c @@ -9,7 +9,7 @@ #include "cv.h" #include -LOG_MODULE_REGISTER(rw); +LOG_MODULE_REGISTER(rw, CONFIG_SCSAT1_ADCS_LOG_LEVEL); #define SC_RWM_BASE_ADDR (0x50030000) #define SC_RWM_MENR_OFFSET (0x0000) diff --git a/tests/hwtest/adcs/src/rw_test.c b/tests/hwtest/adcs/src/rw_test.c index 1ead8518..47f3c27f 100644 --- a/tests/hwtest/adcs/src/rw_test.c +++ b/tests/hwtest/adcs/src/rw_test.c @@ -8,7 +8,7 @@ #include "rw_test.h" #include -LOG_MODULE_REGISTER(rw_test); +LOG_MODULE_REGISTER(rw_test, CONFIG_SCSAT1_ADCS_LOG_LEVEL); static void print_rw_status(enum rw_pos pos, uint32_t sec) { diff --git a/tests/hwtest/adcs/src/syshk.c b/tests/hwtest/adcs/src/syshk.c index 8899fcba..3ec9e425 100644 --- a/tests/hwtest/adcs/src/syshk.c +++ b/tests/hwtest/adcs/src/syshk.c @@ -10,7 +10,7 @@ #include "syshk.h" #include -LOG_MODULE_REGISTER(syshk); +LOG_MODULE_REGISTER(syshk, CONFIG_SCSAT1_ADCS_LOG_LEVEL); #define CSP_TIMEOUT_MSEC (100U) #define SYSHK_PORT (10U) diff --git a/tests/hwtest/adcs/src/syshk_test.c b/tests/hwtest/adcs/src/syshk_test.c index 76a5d44d..72e5f02b 100644 --- a/tests/hwtest/adcs/src/syshk_test.c +++ b/tests/hwtest/adcs/src/syshk_test.c @@ -16,7 +16,7 @@ #include "version.h" #include -LOG_MODULE_REGISTER(syshk_test); +LOG_MODULE_REGISTER(syshk_test, CONFIG_SCSAT1_ADCS_LOG_LEVEL); static uint8_t syshk_head = 0; uint8_t syshk_tail = 0; diff --git a/tests/hwtest/adcs/src/sysmon.c b/tests/hwtest/adcs/src/sysmon.c index 19677d1b..95489a37 100644 --- a/tests/hwtest/adcs/src/sysmon.c +++ b/tests/hwtest/adcs/src/sysmon.c @@ -9,7 +9,7 @@ #include "version.h" #include -LOG_MODULE_REGISTER(sysmon); +LOG_MODULE_REGISTER(sysmon, CONFIG_SCSAT1_ADCS_LOG_LEVEL); /* Registers */ #define SC_ADCS_SYSREG_BASE_ADDR (0x4F000000) /* System Register */ diff --git a/tests/hwtest/adcs/src/temp.c b/tests/hwtest/adcs/src/temp.c index b9869765..4957f68a 100644 --- a/tests/hwtest/adcs/src/temp.c +++ b/tests/hwtest/adcs/src/temp.c @@ -8,7 +8,7 @@ #include "temp.h" #include -LOG_MODULE_REGISTER(temp); +LOG_MODULE_REGISTER(temp, CONFIG_SCSAT1_ADCS_LOG_LEVEL); #define ADCS_TEMP_REG (0x00) diff --git a/tests/hwtest/adcs/src/temp_test.c b/tests/hwtest/adcs/src/temp_test.c index bf64987c..1ec813b8 100644 --- a/tests/hwtest/adcs/src/temp_test.c +++ b/tests/hwtest/adcs/src/temp_test.c @@ -11,7 +11,7 @@ #include "sysmon.h" #include -LOG_MODULE_REGISTER(temp_test); +LOG_MODULE_REGISTER(temp_test, CONFIG_SCSAT1_ADCS_LOG_LEVEL); #define TEMP_INVLAID_FLOAT (0.0f) diff --git a/tests/hwtest/main/Kconfig b/tests/hwtest/main/Kconfig index 6aee4a53..34fa5561 100644 --- a/tests/hwtest/main/Kconfig +++ b/tests/hwtest/main/Kconfig @@ -14,6 +14,10 @@ config SCSAT1_MAIN_CAP_INTERVAL_SEC help Interval (seconds) of capture frame command +module = SCSAT1_MAIN +module-str = SC-Sat1 Main Board +source "subsys/logging/Kconfig.template.log_config" + endmenu menu "Zephyr" diff --git a/tests/hwtest/main/src/csp.c b/tests/hwtest/main/src/csp.c index 74c4f3e7..a1df02d8 100644 --- a/tests/hwtest/main/src/csp.c +++ b/tests/hwtest/main/src/csp.c @@ -13,7 +13,7 @@ #include "csp.h" #include -LOG_MODULE_REGISTER(csp); +LOG_MODULE_REGISTER(csp, CONFIG_SCSAT1_MAIN_LOG_LEVEL); #define ROUTER_STACK_SIZE 256 #define SERVER_STACK_SIZE 1024 diff --git a/tests/hwtest/main/src/csp_test.c b/tests/hwtest/main/src/csp_test.c index 50d42673..352ba2ca 100644 --- a/tests/hwtest/main/src/csp_test.c +++ b/tests/hwtest/main/src/csp_test.c @@ -14,7 +14,7 @@ #include "csp_test.h" #include -LOG_MODULE_REGISTER(csp_test); +LOG_MODULE_REGISTER(csp_test, CONFIG_SCSAT1_MAIN_LOG_LEVEL); #define CSP_TIMEOUT_MSEC (100U) #define CSP_GET_TEMP_ZERO (11U) diff --git a/tests/hwtest/main/src/cv.c b/tests/hwtest/main/src/cv.c index 8d950d99..3d6b5e96 100644 --- a/tests/hwtest/main/src/cv.c +++ b/tests/hwtest/main/src/cv.c @@ -9,7 +9,7 @@ #include "cv.h" #include -LOG_MODULE_REGISTER(cv); +LOG_MODULE_REGISTER(cv, CONFIG_SCSAT1_MAIN_LOG_LEVEL); #define CV_ADDR (0x42) diff --git a/tests/hwtest/main/src/cv_test.c b/tests/hwtest/main/src/cv_test.c index 0dadadf8..95ce0be7 100644 --- a/tests/hwtest/main/src/cv_test.c +++ b/tests/hwtest/main/src/cv_test.c @@ -11,7 +11,7 @@ #include "cv_test.h" #include -LOG_MODULE_REGISTER(cv_test); +LOG_MODULE_REGISTER(cv_test, CONFIG_SCSAT1_MAIN_LOG_LEVEL); #define CV_INVALID_FLOAT (0.0f) #define CV_INVALID_UINT (0U) diff --git a/tests/hwtest/main/src/dstrx3_test.c b/tests/hwtest/main/src/dstrx3_test.c index 9342ffb1..1d83f805 100644 --- a/tests/hwtest/main/src/dstrx3_test.c +++ b/tests/hwtest/main/src/dstrx3_test.c @@ -9,7 +9,7 @@ #include "dstrx3_test.h" #include -LOG_MODULE_REGISTER(dstrx3_test); +LOG_MODULE_REGISTER(dstrx3_test, CONFIG_SCSAT1_MAIN_LOG_LEVEL); static void dstrx3_print_hk(struct sc_dstrx3_hk *hk) { diff --git a/tests/hwtest/main/src/loop_test.c b/tests/hwtest/main/src/loop_test.c index ecf795a6..e286d20c 100644 --- a/tests/hwtest/main/src/loop_test.c +++ b/tests/hwtest/main/src/loop_test.c @@ -17,7 +17,7 @@ #include "mtq.h" #include -LOG_MODULE_REGISTER(loop_test); +LOG_MODULE_REGISTER(loop_test, CONFIG_SCSAT1_MAIN_LOG_LEVEL); struct k_event loop_event; extern enum hwtest_mode test_mode; diff --git a/tests/hwtest/main/src/main.c b/tests/hwtest/main/src/main.c index 51a45ae0..5d58ef9d 100644 --- a/tests/hwtest/main/src/main.c +++ b/tests/hwtest/main/src/main.c @@ -24,7 +24,7 @@ #include "syshk_test.h" #include -LOG_MODULE_REGISTER(main); +LOG_MODULE_REGISTER(main, CONFIG_SCSAT1_MAIN_LOG_LEVEL); #define CMD_HANDLER_PRIO (0U) #define CMD_EXEC_EVENT (1U) diff --git a/tests/hwtest/main/src/main_init.c b/tests/hwtest/main/src/main_init.c index 201ede1a..0f096b81 100644 --- a/tests/hwtest/main/src/main_init.c +++ b/tests/hwtest/main/src/main_init.c @@ -10,7 +10,7 @@ #include "sysmon.h" #include -LOG_MODULE_REGISTER(main_init); +LOG_MODULE_REGISTER(main_init, CONFIG_SCSAT1_MAIN_LOG_LEVEL); enum hwtest_mode test_mode; diff --git a/tests/hwtest/main/src/mgnm.c b/tests/hwtest/main/src/mgnm.c index 8b12fa9e..247b515e 100644 --- a/tests/hwtest/main/src/mgnm.c +++ b/tests/hwtest/main/src/mgnm.c @@ -9,7 +9,7 @@ #include "mgnm.h" #include -LOG_MODULE_REGISTER(mgnm); +LOG_MODULE_REGISTER(mgnm, CONFIG_SCSAT1_MAIN_LOG_LEVEL); #define MGNM_SLAVE_ADDR (0x30) #define MGNM_XOUTL_REG (0x00) diff --git a/tests/hwtest/main/src/mgnm_test.c b/tests/hwtest/main/src/mgnm_test.c index a63a3975..2dfd3fce 100644 --- a/tests/hwtest/main/src/mgnm_test.c +++ b/tests/hwtest/main/src/mgnm_test.c @@ -10,7 +10,7 @@ #include "mgnm_test.h" #include -LOG_MODULE_REGISTER(mgnm_test); +LOG_MODULE_REGISTER(mgnm_test, CONFIG_SCSAT1_MAIN_LOG_LEVEL); #define MGNM_INVALID_TEMP (0.0f) #define MGNM_INVALID_DATA (0U) diff --git a/tests/hwtest/main/src/mtq.c b/tests/hwtest/main/src/mtq.c index 1d9e6f18..8bacbeee 100644 --- a/tests/hwtest/main/src/mtq.c +++ b/tests/hwtest/main/src/mtq.c @@ -8,7 +8,7 @@ #include "mtq.h" #include -LOG_MODULE_REGISTER(mtq); +LOG_MODULE_REGISTER(mtq, CONFIG_SCSAT1_MAIN_LOG_LEVEL); struct mtq_pwm_config { uint8_t channel; diff --git a/tests/hwtest/main/src/mtq_test.c b/tests/hwtest/main/src/mtq_test.c index 7ee3f42c..eca03935 100644 --- a/tests/hwtest/main/src/mtq_test.c +++ b/tests/hwtest/main/src/mtq_test.c @@ -8,9 +8,6 @@ #include "mtq.h" #include "mgnm.h" -#include -LOG_MODULE_REGISTER(mtq_test); - static int print_mgnm(uint32_t sec) { for (int i = 0; i < sec; i++) { diff --git a/tests/hwtest/main/src/scbus.c b/tests/hwtest/main/src/scbus.c index 505feba6..945e2068 100644 --- a/tests/hwtest/main/src/scbus.c +++ b/tests/hwtest/main/src/scbus.c @@ -7,7 +7,7 @@ #include #include -LOG_MODULE_REGISTER(scbus); +LOG_MODULE_REGISTER(scbus, CONFIG_SCSAT1_MAIN_LOG_LEVEL); /* Registers */ #define SC_MAIN_SCBUS_BASE_ADDR (0x40300000) /* SC Bus Control */ diff --git a/tests/hwtest/main/src/sunsens.c b/tests/hwtest/main/src/sunsens.c index 21c70625..fcc0e055 100644 --- a/tests/hwtest/main/src/sunsens.c +++ b/tests/hwtest/main/src/sunsens.c @@ -9,7 +9,7 @@ #include "sunsens.h" #include -LOG_MODULE_REGISTER(sunsens); +LOG_MODULE_REGISTER(sunsens, CONFIG_SCSAT1_MAIN_LOG_LEVEL); #define SUNSENS_SLAVE_ADDR (0x05) #define SUNSENS_SAMPLE_SUN_CMD (0x00) diff --git a/tests/hwtest/main/src/sunsens_test.c b/tests/hwtest/main/src/sunsens_test.c index 2593e5e5..c9843ace 100644 --- a/tests/hwtest/main/src/sunsens_test.c +++ b/tests/hwtest/main/src/sunsens_test.c @@ -11,7 +11,7 @@ #include "sunsens_test.h" #include -LOG_MODULE_REGISTER(sunsens_test); +LOG_MODULE_REGISTER(sunsens_test, CONFIG_SCSAT1_MAIN_LOG_LEVEL); #define SUNSENS_INVALID_TMEP (0.0f) #define SUNSENS_INVALID_DATA (0U) diff --git a/tests/hwtest/main/src/syshk.c b/tests/hwtest/main/src/syshk.c index 2d72cd21..9364556e 100644 --- a/tests/hwtest/main/src/syshk.c +++ b/tests/hwtest/main/src/syshk.c @@ -14,7 +14,7 @@ #include "syshk.h" #include -LOG_MODULE_REGISTER(syshk); +LOG_MODULE_REGISTER(syshk, CONFIG_SCSAT1_MAIN_LOG_LEVEL); static uint32_t seq_counters[TLM_TYPE_NUM] = {0}; diff --git a/tests/hwtest/main/src/syshk_test.c b/tests/hwtest/main/src/syshk_test.c index 4864a478..66bdf307 100644 --- a/tests/hwtest/main/src/syshk_test.c +++ b/tests/hwtest/main/src/syshk_test.c @@ -20,7 +20,7 @@ #include "version.h" #include -LOG_MODULE_REGISTER(syshk_test); +LOG_MODULE_REGISTER(syshk_test, CONFIG_SCSAT1_MAIN_LOG_LEVEL); extern struct k_event loop_event; extern enum hwtest_mode test_mode; diff --git a/tests/hwtest/main/src/sysmon.c b/tests/hwtest/main/src/sysmon.c index 15eda4ef..993b35c9 100644 --- a/tests/hwtest/main/src/sysmon.c +++ b/tests/hwtest/main/src/sysmon.c @@ -9,7 +9,7 @@ #include "version.h" #include -LOG_MODULE_REGISTER(sysmon); +LOG_MODULE_REGISTER(sysmon, CONFIG_SCSAT1_MAIN_LOG_LEVEL); /* Registers */ #define SC_MAIN_SYSREG_BASE_ADDR (0x4F000000) /* System Register */ diff --git a/tests/hwtest/main/src/temp.c b/tests/hwtest/main/src/temp.c index f1c00bd6..67912922 100644 --- a/tests/hwtest/main/src/temp.c +++ b/tests/hwtest/main/src/temp.c @@ -8,7 +8,7 @@ #include "temp.h" #include -LOG_MODULE_REGISTER(temp); +LOG_MODULE_REGISTER(temp, CONFIG_SCSAT1_MAIN_LOG_LEVEL); #define IO_TEMP_REG (0x00) diff --git a/tests/hwtest/main/src/temp_test.c b/tests/hwtest/main/src/temp_test.c index 9ab37797..b1fc8bd1 100644 --- a/tests/hwtest/main/src/temp_test.c +++ b/tests/hwtest/main/src/temp_test.c @@ -11,7 +11,7 @@ #include "sysmon.h" #include -LOG_MODULE_REGISTER(temp_test); +LOG_MODULE_REGISTER(temp_test, CONFIG_SCSAT1_MAIN_LOG_LEVEL); #define TEMP_INVLAID_FLOAT (0.0f) #define TEMP_INVALI_UINT (0U)