오류 증상
STM32CubeIDE 에서 프로젝트 메뉴 : Run - Debug 클릭하면 아래 화면 처럼 보이고 디버깅 불가 상태

해결책
메뉴 : Run - Debug Configurations... 클릭하여 뜬 창(아래 그림)에서 버튼 Searach Project... 클릭하여 경로 Debug/ 에 있는 것을 선택한다.

포럼 관련글.
- 아래 답글 중에 프로젝트 옵티마제이션 설정으로 해결했다는 내용도 있는데, 옵티마이제이션 수정 할 필요없이 위의 설정만으로도 해결됨.
Debug: "No source available for main()"
I am trying to debug my code, but it just ain't working the way it's working in e.g. the STM32CubeIDE intro-video on Youtube; I'm getting "No source available for main()", instead of Eclipse displaying where in the code it's actually at. I haven't changed
community.st.com
연관
상위정리1.
STM32CubeIDE.
STM32CubeIDE - 이클립스기반 STM32 C/C++ 개발 플랫폼. STM32 칩 제조사가 직접 관리, 배포 주체. - 무료. features Integration of services from STM32CubeMX: STM32 microcontroller, microprocessor, development platform and example projec
igotit.tistory.com
상위정리2.
https://igotit.tistory.com/244 의 STM32
STM32. nRF52. ESP32. EFM8. EFM32. PSoC 활용 정리.
STM32. nRF52. ESP32. EFM8. EFM32. PSoC 총정리 제조사 칩 주요특징 실리콘랩 8bit MCU EFM8 시리즈 32bit EFM32 시리즈 EFM8 싸다. STM STM32 . 최고 항상 만족. Cypress pSoC pSoC6 은 기대해볼만. NORDIC nRF52 블투 무선솔루
igotit.tistory.com
첫 등록 : 2023.07.14
최종 수정 :
단축 주소 : https://igotit.tistory.com/4706
'임베디드.일렉트로닉스 > STM32' 카테고리의 다른 글
STM32 USB DFU . STM32CubeProgrammer 이용 가능 (0) | 2023.07.15 |
---|---|
STM32CubeIDE . Debug . SWV 활성화 . 데이터 그래프로 보기 (0) | 2023.07.14 |
STM32CubeIDE . 프로젝트 생성 방법 (0) | 2023.07.13 |
STM32CubeIDE. (0) | 2023.07.04 |
STM32L4R/S. I2C (0) | 2021.03.12 |
댓글