5 'src/common/lib.rs', # Must be listed first (see below).
6 'src/common/register.rs',
9 'src/common/systick.rs',
14 'src/common/watchdog.rs',
15 'src/common/crc32.rs',
16 'src/common/ringbuf.rs',
17 'src/common/buffer.rs',
18 'src/common/usb_serial.rs',
19 'src/common/display.rs',
20 'src/common/screen.rs',
25 'src/common/startup.c',
26 'src/common/asm_helpers.c',
27 'src/common/systick.c',
28 'src/common/ringbuf.c',
31 'src/common/usb_device_ch9.c',
32 'src/common/usb_device_dci.c',
33 'src/common/usb_device_descriptor.c',
34 'src/common/usb_device_khci.c',
35 'src/common/usb_osa_bm.c',
36 'src/common/virtual_com.c',
39 libcommon_rlib = env.Rustc('libcommon.rlib', source_files_rs[0])
41 for f in source_files_rs:
42 Depends(libcommon_rlib, f)
44 libcommon_a = env.Library('libcommon.a', source_files_c)
46 for f in source_files_c:
47 Depends(libcommon_a, f)