Добавить идентификацию прошивки и чтение EEPROM Бальзам-167

This commit is contained in:
2026-10-05 17:48:23 +03:00
parent 0e3d89e1ee
commit 90046de7fd
28 changed files with 924 additions and 22 deletions

View File

@@ -149,6 +149,14 @@ if(SETP_BUILD_TESTS)
add_executable(test_periph28335 tests/test_periph28335.c)
target_link_libraries(test_periph28335 PRIVATE setprotocol_static)
add_test(NAME shared_periph28335 COMMAND test_periph28335)
add_executable(test_periph28335_eeprom tests/test_periph28335_eeprom.c)
target_link_libraries(test_periph28335_eeprom PRIVATE setprotocol_static)
if(MSVC)
target_compile_options(test_periph28335_eeprom PRIVATE /UNDEBUG)
else()
target_compile_options(test_periph28335_eeprom PRIVATE -UNDEBUG)
endif()
add_test(NAME periph28335_eeprom COMMAND test_periph28335_eeprom)
add_executable(test_tms2812 tests/test_tms2812.c)
target_link_libraries(test_tms2812 PRIVATE setprotocol_static)
add_test(NAME shared_tms2812 COMMAND test_tms2812)