diff --git a/Tools/ardupilotwaf/chibios.py b/Tools/ardupilotwaf/chibios.py index 23f79b8fbd..cfe6f463ed 100644 --- a/Tools/ardupilotwaf/chibios.py +++ b/Tools/ardupilotwaf/chibios.py @@ -704,6 +704,7 @@ def build(bld): 'fiprintf','printf', 'fopen', 'fflush', 'fwrite', 'fread', 'fputs', 'fgets', 'clearerr', 'fseek', 'ferror', 'fclose', 'tmpfile', 'getc', 'ungetc', 'feof', - 'ftell', 'freopen', 'remove', 'vfprintf', 'fscanf' ] + 'ftell', 'freopen', 'remove', 'vfprintf', 'fscanf', + '_gettimeofday', '_times', '_times_r', '_gettimeofday_r', 'time', 'clock' ] for w in wraplist: bld.env.LINKFLAGS += ['-Wl,--wrap,%s' % w]