Skip to content

error compiling libbase64 #313

Closed
Closed
@igrr

Description

@igrr

From @sfranchin63 on April 14, 2017 11:58

Hi,
I follow the step indicate in :
https://github.com/espressif/arduino-esp32
but the compiling stopped with error. I attached the error.
The code is:

#include "Arduino.h"
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_system.h"
#include "driver/gpio.h"
// test led
#include "WS2812.h"

#define LED1 0 // R_IO0
#define LED2 2 // R_IO2
#define LED_BLU 4 // R_IO4

void hello_task(void pvParameter)
{
theaterChaseRainbow (20);
gpio_pad_select_gpio(LED1);
gpio_pad_select_gpio(LED2);
gpio_pad_select_gpio(LED_BLU);
/
Set the GPIO as a push/pull output /
gpio_set_direction(LED1, GPIO_MODE_OUTPUT);
gpio_set_direction(LED2, GPIO_MODE_OUTPUT);
gpio_set_direction(LED_BLU, GPIO_MODE_OUTPUT);
gpio_set_level(LED1, 0);
gpio_set_level(LED2, 0);
gpio_set_level(LED_BLU, 0);
while (1) {
for (int i = 10; i >= 0; i--) {
gpio_set_level(LED_BLU, 1);
printf("Restarting in %d seconds...\n", i);
vTaskDelay(1000 / portTICK_PERIOD_MS);
gpio_set_level(LED_BLU, 0);
vTaskDelay(1000 / portTICK_PERIOD_MS);
}
/
printf("Restarting now.\n");
fflush(stdout);
esp_restart();
*/
}
}

void extern "C" void app_main()
{
initArduino();
hornbillLights_begin((rmt_channel_t) 0, (gpio_num_t)16, (uint16_t)150);
xTaskCreate(&hello_task, "hello_task", 2048, NULL, 5, NULL);
}
error arduino compiling

This is what I am using :
-a uname
MSYS_NT-6.1-WOW Stefanof-PC 2.5.2 (0.297 / 5/3) 2016-07-15 09:04 i686 Msys
$ rendere -v
GNU Make 4.2.1
$ Xtensa-ESP32-elf-cc - versione
Xtensa-ESP32-elf-cc.exe (CrossTool-NG 8d95cad) 4.8.5
$ Python -V
Python 2.7.11

Can somuone help me?
Thanks you in advance
Stefano

Copied from original issue: espressif/esp-idf#524

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions