728x90 PlatformIO C++ 라이브러리 사용하기 PlatformIO를 IDE로 사용하니 c++ 라이브러리를 추가할 수 없었다.. 아무리 구글링해도 나오지 않음..! 열심히 찾다가 생각난 해결책이 내가 쓰려고 하는 c++ 라이브러리를 직접 다운받아 내 프로젝트 폴더에 넣어주고 platformio.ini에 라이브러리 경로를 추가해주면 되겠다였다! 💡 라이브러리 다운로드 나는 밑에 링크에 있는 라이브러리를 다운받았다. c++에서 쓰는 기본적인 라이브러리들이 들어있다. 밑의 라이브러리는 이라고 내가 원하는 헤더를 선택해 추가하는 것이 아니라 로 헤더를 추가하면 모든 밑의 깃에 있는 모든 라이브러리가 한 번에 추가된다. https://github.com/mike-matera/ArduinoSTL GitHub - mike-matera/ArduinoSTL: An S.. 2022. 2. 9. PlatformIO 라이브러리 추가 라이브러리 종속성 변경 lib_deps = 경로 라이브러리 디렉토리 추가 lib_extra_dirs = 경로 https://docs.platformio.org/en/latest/librarymanager/quickstart.html Quick Start — PlatformIO latest documentation PlatformIO Library Manager allows one to specify project dependencies (lib_deps) that will be installed automatically per project before environment processing. You do not need to install libraries manually. The only one s.. 2022. 2. 9. PlatformIO Library 추가하기 VSCode - PlatformIO로 아두이노 프로젝트를 진행하는 중 CAN 통신과 OBD2 헤더가 없어서 에러가 났다!!! 보통은 Arduino IDE처럼 library에 들어가 헤더를 검색해 다운을 받으면 되지만 CAN를 검색해도 안 나옴! (Platform IDE - HOME - 왼쪽 Libraries로 들어가면 헤더 검색 가능) PlatformIO Registry에 들어가서 라이브러리를 다운받았다 https://registry.platformio.org/ PlatformIO Registry The world's first package and project dependency management solution for embedded development registry.platformio.org.. 2022. 1. 19. 이전 1 다음 728x90