接入温湿度风扇产品固件(仲裁/条件/定时/显示),并补齐规格书与外设驱动
新增 usr_app 产品逻辑:手动>定时>条件仲裁、条件控温湿、定时任务、数码管显示、 按键/LED、风扇档位、NVM 掉电恢复、配对与开关机,上电按规格恢复上次状态。 新增 usr_periph:AHT20、CT1642、板级引脚与硬件封装;见宝协议 cond_config 改为 7 字节编解码,并接入产品 DP。 补充《温湿度风扇_固件需求规格书》,工程加入对应源文件。 .gitignore 忽略 WorkBuddy/Cursor 本地会话
This commit is contained in:
+82
@@ -177,6 +177,7 @@
|
||||
<Add directory="apps/usr_jb_proto/Protocol" />
|
||||
<Add directory="apps/usr_jb_proto/Utils" />
|
||||
<Add directory="apps/usr_periph" />
|
||||
<Add directory="apps/usr_app" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-flto" />
|
||||
@@ -782,6 +783,87 @@
|
||||
<Unit filename="apps/usr_periph/usr_rtc.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_periph/board_pin.h" />
|
||||
<Unit filename="apps/usr_periph/bsp_hw.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_periph/bsp_hw.h" />
|
||||
<Unit filename="apps/usr_periph/bsp_ct1642.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_periph/bsp_ct1642.h" />
|
||||
<Unit filename="apps/usr_periph/bsp_aht20.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_periph/bsp_aht20.h" />
|
||||
<Unit filename="apps/usr_app/app_boot.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_app/app_boot.h" />
|
||||
<Unit filename="apps/usr_app/app_cond.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_app/app_cond.h" />
|
||||
<Unit filename="apps/usr_app/app_disp.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_app/app_disp.h" />
|
||||
<Unit filename="apps/usr_app/app_fan.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_app/app_fan.h" />
|
||||
<Unit filename="apps/usr_app/app_function.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_app/app_function.h" />
|
||||
<Unit filename="apps/usr_app/app_led.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_app/app_led.h" />
|
||||
<Unit filename="apps/usr_app/app_mode.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_app/app_mode.h" />
|
||||
<Unit filename="apps/usr_app/app_arbiter.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_app/app_arbiter.h" />
|
||||
<Unit filename="apps/usr_app/app_nvm.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_app/app_nvm.h" />
|
||||
<Unit filename="apps/usr_app/app_pair.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_app/app_pair.h" />
|
||||
<Unit filename="apps/usr_app/app_power.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_app/app_power.h" />
|
||||
<Unit filename="apps/usr_app/app_th.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_app/app_th.h" />
|
||||
<Unit filename="apps/usr_app/app_timer_task.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_app/app_timer_task.h" />
|
||||
<Unit filename="apps/usr_app/key.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_app/key.h" />
|
||||
<Unit filename="apps/usr_app/key_manager.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_app/key_manager.h" />
|
||||
<Unit filename="apps/usr_app/led.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_app/led.h" />
|
||||
<Unit filename="apps/usr_app/led_manager.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="apps/usr_app/led_manager.h" />
|
||||
<Unit filename="apps/usr_periph/usr_rtc.h" />
|
||||
<Unit filename="apps/usr_le_code/ble_proto.h" />
|
||||
<Unit filename="apps/usr_le_code/bleproto.h" />
|
||||
|
||||
Reference in New Issue
Block a user