-
Notifications
You must be signed in to change notification settings - Fork 7.6k
error compiling libbase64 #313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
base64 library has a bug on Xtensa, because it assumes that |
Hi @igrr C:/msys32/home/Stefanof/esp-idf/examples/get-started/hello_world/components/arduino/cores/esp32/esp32-hal-misc.c: In function 'initArduino':C:/msys32/home/Stefanof/esp-idf/examples/get-started/hello_world/components/arduino/cores/esp32/esp32-hal-misc.c:84:15: error: 'ESP_ERR_NVS_NO_FREE_PAGES' undeclared (first use in this function) Stefano |
|
Hi @igrr, |
Could you please check if this suggestion helps? |
Hello @igrr, |
@sfranchin63 while 2.0 is the latest released version, github actually has more changes and this is one of them. I currently sync Arduino with github IDF and should maybe start adding releases together with IDF, so things like that do not happen from now on (or at least there will be a way to compile against older code). |
Implements: esp8266/Arduino#2883 Fixes: espressif/arduino-esp32#313 Fixes: espressif/arduino-esp32#344
Implements: esp8266/Arduino#2883 Fixes: espressif/arduino-esp32#313 Fixes: espressif/arduino-esp32#344
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);
}
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
The text was updated successfully, but these errors were encountered: