master/lib/hello.cpp
2022-07-27 08:44:06 +07:00

10 lines
276 B
C++

#include "hello.h"
int add(int x, int y) {
return x + y;
}
// C:\Users\user\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\bin
// xtensa-esp32-elf-gcc.exe -c hello.cpp -o hello.o
// xtensa-esp32-elf-ar.exe crf hello.a hello.o