INLINE static void__
این دستور یعنی چی؟
این دستور یعنی چی؟
file main.c: void main(void) { func1_in_test_c(); wait_for_response(); } file test.c void func1_in_test_c(void) { } file uart.c static void wait_for_response(void) { } -------- a part of project map file .text 0x000000a4 0xa main.o 0x000000a4 main .text 0x000000ae 0x2 test.o 0x000000ae func1_in_test_c .text 0x000000b0 0x0 uart.o .text 0x000000b0 0x0 c:/winavr/bin/../lib/gcc/avr/4.3.3/avr5\libgcc.a(_exit.o) 0x000000b0 . = ALIGN (0x2) -------- compile error Z:\Projects\test\test\default/../main.c:8: undefined reference to `wait_for_response'
دیدگاه