rp20404 RP2040-FreeRTOS Part 1 - 프로젝트 설정 Learn Embedded Systems 유튜브 따라하기원본영상(링크는 게시물 하단에): FreeRTOS on the Raspberry Pi Pico (RP2040) Part 1: VSCode Setup and Blinky Test! [UPDATED] FreeRTOS(Free Realtime Operating System): 오픈 소스 실시간 운영 체제RTOS를 사용하지 않는 일반적인 펌웨어 개발 방식을 Bare Metal Programming이라고함.베어메탈 방식은 최상위 무한 루프내에 필요한 태스크 코드들이 순서대로 실행됨. 센서 데이터를 수집하여 서버로 값을 전송하는 펌웨어를 개발한다면 아래와 같이 작성하게됨.#define HTTP_RETRY_COUNT 5int main(){ int n_temp .. 2025. 9. 9. 라즈베리파이 피코 디버그 프로브로 펌웨어 업로드하기 https://youtu.be/4RCZBZsfsek?si=qLC21VyzBPIHQ3DE 1. OpenOCD 설치$ brew install open-ocd 2. 디버그 프로브를 맥 컴퓨터 USB포트에 연결 3. 펌웨어 파일 업로드sudo openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c "program 파일명.elf verify reset exit" * Photo by Nubelson Fernandes on Unsplash 2025. 1. 13. macOS에 Pico 툴체인과 Pico SDK 설치하기 Toolchain$ brew install cmake$ brew tap ArmMbed/homebrew-formulae$ brew install arm-none-eabi-gcc SDK$ git clone https://github.com/raspberrypi/pico-sdk.git --branch master$ cd pico-sdk$ git submodule update --init$ cd ..$ git clone https://github.com/raspberrypi/pico-examples.git --branch master$ export PICO_SDK_PATH="$HOME/.../pico-sdk" https://datasheets.raspberrypi.com/pico/getting-started.. 2025. 1. 13. [RP2040 라즈베리파이 피코] C언어로 개발하기 - 프로젝트 생성 사전준비 - SDK 설치: https://github.com/raspberrypi/pico-sdk?tab=readme-ov-file GitHub - raspberrypi/pico-sdkContribute to raspberrypi/pico-sdk development by creating an account on GitHub.github.com 1. 프로젝트 폴더 생성 후 PICO SDK에서 제공하는 pico_sdk_import.cmake 파일을 프로젝트 폴더로 복사$ mkdir ProjectName$ cd ProjectName$ cp $PICO_SDK_PATH/external/pico_sdk_import.cmake . 2. CMakeLists.txt 파일 생성하기$ touch CMakeLists.tx.. 2025. 1. 13. 이전 1 다음 반응형