Search found 1 match

by premium
Mon Jul 22, 2024 3:36 pm
Forum: ESP-IDF 中文讨论版
Topic: 求助:ESP32-C3 使用命令行 GDB 调试
Replies: 0
Views: 850

求助:ESP32-C3 使用命令行 GDB 调试

修改例程 hello_world 代码如下 // hello_world_main.c #include <stdio.h> #include "driver/gpio.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #define LED 10 int led_status = 0; void led_init() { gpio_reset_pin(LED); gpio_set_direction(LED, GPIO_MODE_OUTPUT); } void led_blink() { led_status = (le...