kopia lustrzana https://github.com/espressif/esp-idf
19 wiersze
493 B
C
19 wiersze
493 B
C
/* Monitor-IDE integration test
|
|
|
|
This example code is in the Public Domain (or CC0 licensed, at your option.)
|
|
|
|
Unless required by applicable law or agreed to in writing, this
|
|
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
CONDITIONS OF ANY KIND, either express or implied.
|
|
*/
|
|
#include "freertos/FreeRTOS.h"
|
|
#include "freertos/task.h"
|
|
#include "esp_system.h"
|
|
|
|
void app_main(void)
|
|
{
|
|
int *p = (int *)4;
|
|
vTaskDelay(1000 / portTICK_PERIOD_MS);
|
|
*p = 0;
|
|
}
|