본문 바로가기
728x90
PlatformIO version 확인 PlatformIO 버전을 확인하려고 했는데, PlatformIO Home이라는 애의 버전과 PlatformIO Core라는 애의 버전 두 가지가 존재했다. PlatformIO Home과 PlatformIO Core의 차이점에 대해 찾아봤다! PlatformIO Home은 간단하게 User Interface다. PlatformIO의 여러 가지 기능을 편하게 사용할 수 있게 해주는 프로그램이다. PlatformIO Core와 PlatformIO IDE는 PlatformIO Home에 빌트인 되어 있는 기능들이다. 결론적으로 PlatformIO Home은 PlatformIO Core와 PlatformIO IDE을 포함하고 있다. https://docs.platformio.org/en/latest/home/i.. 2022. 3. 11.
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.
ESP8266 PlatformIO 프로젝트 설정하기 platformio.ini에 아래 코드로 바꿔주면 업로드 성공! [env:myenv] platform = espressif8266 board = nodemcuv2 framework = arduino Reference https://docs.platformio.org/en/latest/platforms/espressif8266.html Espressif 8266 — PlatformIO latest documentation © Copyright 2014-present, PlatformIO. docs.platformio.org 2022. 1. 26.
Mac에서 Arduino VSCode 개발환경 세팅 아두이노를 개발할 때 Arduino IDE를 쓸 수 있지만, 간단한 테스트가 아닌 프로젝트를 개발하기는 힘들다고 느꼈다. 그래서 vscode로 아두이노 프로젝트를 개발하기로 결정! vscode에서 개발해서 바로 아두이노로 업로드할 수 있도록 여러 extension를 설치해줘야 된다 왼쪽 5번째 버튼을 클릭하면 extension 마켓으로 들어갈 수 있다 아두이노는 cpp를 쓰기에 C/C++ extension를 설치해준다 빌드와 실행을 간단하게 실행하게 해주는 Code runner 설치해준다 VSCode에서 Arduino 프로젝트를 생성, 빌드하게 해주는 PlatformIO IDE를 설치해준다 설치를 완료하고 나면, 왼쪽 밑에 PlatformIO로 들어가는 버튼이 생긴다 프로젝트를 만들기 위해 Platfor.. 2022. 1. 9.
728x90