diff options
-rw-r--r-- | upload/Component.cdef | 1 | ||||
-rw-r--r-- | upload/init.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/upload/Component.cdef b/upload/Component.cdef index e44ad45..1253a5d 100644 --- a/upload/Component.cdef +++ b/upload/Component.cdef @@ -16,6 +16,7 @@ requires: sources: { + init.c upload.c xmodem.c crc16.c diff --git a/upload/init.c b/upload/init.c new file mode 100644 index 0000000..a416ebf --- /dev/null +++ b/upload/init.c @@ -0,0 +1,5 @@ +#include "upload.h" + +COMPONENT_INIT { + mtk_init(); +} |