본문 바로가기
  • 경제적 자유를 얻는 그날까지
728x90
반응형

엔지니어링/임베디드40

728x90
반응형
[ STM32 ] VS Code로 Nuttx OS 빌드 및 디버깅 환경설정하기 arm-none- eabi-gdb가 없을 때 해결방법 참고 사이트 https://askubuntu.com/questions/1243252/how-to-install-arm-none-eabi-gdb-on-ubuntu-20-04-lts-focal-fossa How to install arm-none-eabi-gdb on Ubuntu 20.04 LTS (Focal Fossa) I tried to install arm-none-eabi-gdb as a part of gcc-arm-embedded. I added PPA: sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa and executed: sudo apt install gcc-arm-embedded It res.. 2023. 5. 7.
[ STM32 ] STM32F4보드에 NuttxOS 설치하기 이전에 STM32보드에 CubeIDE를 이용하여 드론개발을 진행하였다. 편리한 GUI 인터페이스와 자동화 코드로 쉽게 구현할수 있어 장점이 많았다. 요즘 PX4 또는 github에서 오픈소스코드를 살펴보면 Nuttx OS 기반으로 비행제어 프로그램이 개발되어 있는 경우가 많아서 확장성을 고려하여 Nuittx OS 기반으로 프로그래밍을 개발하는 방법을 스터디해보고자 한다. 1. 하드웨어 준비 사용한 보드는 예전에 자작드론 개발시 사용했던 STM32F405RGxx 보드이다. 해당 보드는 omibus F4와 호환되는 보드로 LED, 자이로, PWM등을 온보드 형태로 사용할 수 있다. 보드에 대한 내용은 아래 포스팅을 참고하면 된다. 에뮬레이터는 J-Link를 사용한다. https://swiftcam.tisto.. 2023. 5. 7.
NuttX OS 알아보기 개발 환경 장비: 노트북 OS: Ubuntu 20.04 타겟보드: STM32F407 에뮬레이터: SEGGER J-Link 1. 개발 환경설정 필수 패키지 설치 sudo apt-get install automake bison build-essential flex gcc-arm-none-eabi gperf git libncurses5-dev libtool libusb-dev libusb-1.0.0-dev pkg-config -y OpenOCD 설치 설치 configure 에는 다양한 에뮬레이터를 활성화하는 옵션이 포함되어 있다. 본인은 J-link를 사용하는데 configure 실행시 아래와 같은 에러가 나면 J-link용 libjaylink-0.2 패키지를 별도로 설치해야 한다. $ mkdir nuttxs.. 2023. 3. 16.
Docker로 Ubuntu 18.04 + ROS melodic 개발환경 구축 1. docker hub에서 ubuntu 이미지 다운로드 osrf 재단에서 배포하는 이미지는 ROS와 함께 그 버전에 적합한 ubuntu를 함께 배포 swift@swift-MacBookPro:~/workspace$ docker pull osrf/ros:melodic-desktop-full-bionic melodic-desktop-full-bionic: Pulling from osrf/ros Digest: sha256:f9268872571969d1fa20a64d1a9225dd592451862b21c34d66e7b6be3541b8dd Status: Image is up to date for osrf/ros:melodic-desktop-full-bionic docker.io/osrf/ros:melodic-de.. 2022. 1. 8.
[ ROS ] ROS CPP 패키지 생성하기 1. ROS 패키지 생성(CPP 의존성) swift@swift-MacBookPro:~/Desktop$ cd ~/workspace/catkin_ws/src/ swift@swift-MacBookPro:~/workspace/catkin_ws/src$ catkin_create_pkg roscpp_test roscpp Created file roscpp_test/package.xml Created file roscpp_test/CMakeLists.txt Created folder roscpp_test/include/roscpp_test Created folder roscpp_test/src Successfully created files in /home/swift/workspace/catkin_ws/src/ros.. 2021. 9. 25.
catkin 빌드 시스템 https://adioshun.gitbooks.io/ros_autoware/content/Fundamentals/catkin-make.html 빌드 시스템 · ROS adioshun.gitbooks.io 2021. 9. 25.
Ubuntu 20.04에 ROS Noetic 설치하기 설치에 참고할 문서 http://wiki.ros.org/noetic/Installation/Ubuntu noetic/Installation/Ubuntu - ROS Wiki If you rely on these packages, please support OSRF. These packages are built and hosted on infrastructure maintained and paid for by the Open Source Robotics Foundation, a 501(c)(3) non-profit organization. If OSRF were to receive one penny for each downlo wiki.ros.org Ubuntu 18.04에서 ROS Melodic 설치하는 .. 2021. 8. 16.
[ OpenCV ] CMakefile 빌드 에러시 해결방법 만약 cmake로 빌드시 아래와 같은 에러메시지가 날 경우opencv의 라이브러리 경로를 찾지 못하여 발생하는 문제이다. yocto:~/opencv/examples/face_detect$ cmake CMakeLists.txt -- The C compiler identification is GNU 4.9.3 -- The CXX compiler identification is GNU 4.9.3 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Det.. 2021. 6. 9.
OPKG 사용법 Package management with OPKG Configuration opkg configuration file resides here: /etc/opkg.conf default file content is: root@OpenWrt:/# cat /etc/opkg.conf src/gz snapshots http://downloads.openwrt.org/snapshots/trunk/ramips/packages dest root / dest ram /tmp lists_dir ext /var/opkg-lists option overlay_root /overlay Get fresh package list When you start up carambola you must update package list.. 2021. 5. 29.
우분투 리눅스에서 Could not get lock /var/lib/dpkg/lock-frontend 에러 해결방법 우분투를 사용하다가 apt명령어를 사용하는데 아래와 같은 에러메시지가 계속 나타난다면? swift@swift-HP-Pavilion-dv6-Notebook-PC:~$ sudo apt install android-tools-adb android-tools-fastboot E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? 정기적인 SW업데이트를 할경우 apt를 사용하고 있어서 apt 또는 데몬 패키지 설치 .. 2021. 3. 14.