Use shared UMP protocol core and document DAC SPI review
This commit is contained in:
@@ -11,7 +11,8 @@ unsigned int ADC_table[4];
|
||||
/* Возвращаем номер строки при ошибке, ноль при успехе; CRT не требуется. */
|
||||
__declspec(dllexport) int run_tests(void)
|
||||
{
|
||||
unsigned int i, generation, archived, reply[UMP_CAN_MAX_WORDS], error, length;
|
||||
unsigned int i, generation, archived, error, length;
|
||||
uint16_t reply[UMP_CAN_MAX_WORDS];
|
||||
unsigned long sequence;
|
||||
CHECK(!ump_log_write(UMP_LOG_BASE+1, 0));
|
||||
CHECK(!ump_log_write(UMP_LOG_BASE+1, 1001));
|
||||
|
||||
@@ -16,7 +16,7 @@ with tempfile.TemporaryDirectory(prefix='ump-recorder-') as directory:
|
||||
'clang', '-shared', '-nostdlib', '-fuse-ld=lld',
|
||||
'-Wl,/noentry,/nodefaultlib', '-Wno-unknown-pragmas', '-Wno-int-to-pointer-cast',
|
||||
'-Itests/ump_logger/stubs', '-ISource/Internal/Include',
|
||||
'tests/ump_logger/recorder_test.c', '-o', str(library),
|
||||
'tests/ump_logger/recorder_test.c', 'Source/Internal/shared_ump.c', '-o', str(library),
|
||||
], cwd=root, check=True)
|
||||
# Отдельный процесс освобождает DLL до удаления временной папки Windows.
|
||||
subprocess.run([
|
||||
|
||||
Reference in New Issue
Block a user