diff --git a/.config b/.config index fa57059..0acd41b 100644 --- a/.config +++ b/.config @@ -177,7 +177,7 @@ CONFIG_RT_USING_ADC=y # CONFIG_RT_USING_MTD_NAND is not set # CONFIG_RT_USING_PM is not set CONFIG_RT_USING_RTC=y -# CONFIG_RT_USING_ALARM is not set +CONFIG_RT_USING_ALARM=y # CONFIG_RT_USING_SOFT_RTC is not set CONFIG_RT_USING_SDIO=y CONFIG_RT_SDIO_STACK_SIZE=512 @@ -846,7 +846,24 @@ CONFIG_PKG_MININI_VER="latest" # CONFIG_PKG_USING_KERNEL_SAMPLES is not set # CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set # CONFIG_PKG_USING_NETWORK_SAMPLES is not set -# CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set +CONFIG_PKG_USING_PERIPHERAL_SAMPLES=y +CONFIG_PKG_PERIPHERAL_SAMPLES_PATH="/packages/misc/samples/peripheral_samples" +# CONFIG_PKG_USING_PERIPHERAL_SAMPLES_V040 is not set +CONFIG_PKG_USING_PERIPHERAL_SAMPLES_LATEST_VERSION=y +CONFIG_PKG_PERIPHERAL_SAMPLES_VER="latest" +# CONFIG_PERIPHERAL_SAMPLES_USING_ADC is not set +# CONFIG_PERIPHERAL_SAMPLES_USING_HWTIMER is not set +# CONFIG_PERIPHERAL_SAMPLES_USING_I2C is not set +# CONFIG_PERIPHERAL_SAMPLES_USING_IWDG is not set +# CONFIG_PERIPHERAL_SAMPLES_USING_LED_BLINK is not set +# CONFIG_PERIPHERAL_SAMPLES_USING_PIN is not set +# CONFIG_PERIPHERAL_SAMPLES_USING_PWM is not set +# CONFIG_PERIPHERAL_SAMPLES_USING_RTC is not set +# CONFIG_PERIPHERAL_SAMPLES_USING_SD is not set +# CONFIG_PERIPHERAL_SAMPLES_USING_SERIAL is not set +# CONFIG_PERIPHERAL_SAMPLES_USING_SERIAL_DMA is not set +# CONFIG_PERIPHERAL_SAMPLES_USING_SPI is not set +# CONFIG_PERIPHERAL_SAMPLES_USING_CAN is not set # end of samples: kernel and components samples # diff --git a/applications/cfg.ini b/applications/cfg.ini index ef8dc7b..de68628 100644 --- a/applications/cfg.ini +++ b/applications/cfg.ini @@ -1,5 +1,5 @@ [config] -# V1.5 +# V1.6 #发送间隔(M),以零点为基准时刻 sendInterval=60 # 用于保存串口数据的单文件最大值(Byte) @@ -21,7 +21,7 @@ minTTPeriCnt=2 compressType=1 encrytType=1 # 开窗时间(UTC+8),持续时间(H)。支持多组,组与组之间采用【;】为分隔符 -openWindowTime=9,1;15;1 +openWindowTime=9,1;15,1 [stats] # 继电器开关次数,影响继电器寿命(<10W次) diff --git a/rtconfig.h b/rtconfig.h index 69ca530..7ef7409 100644 --- a/rtconfig.h +++ b/rtconfig.h @@ -111,6 +111,7 @@ #define RT_USING_PIN #define RT_USING_ADC #define RT_USING_RTC +#define RT_USING_ALARM #define RT_USING_SDIO #define RT_SDIO_STACK_SIZE 512 #define RT_SDIO_THREAD_PRIORITY 15 @@ -331,6 +332,8 @@ /* samples: kernel and components samples */ +#define PKG_USING_PERIPHERAL_SAMPLES +#define PKG_USING_PERIPHERAL_SAMPLES_LATEST_VERSION /* end of samples: kernel and components samples */ /* entertainment: terminal games and other interesting software packages */