Git Product home page Git Product logo

esp32-micropython-lora's People

Contributors

aizukanne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp32-micropython-lora's Issues

Try to compile

Please include the following information when submitting a bug report:

  • The Pycom board you are using (e.g. WiPy 2.0, LoPy).
  • The firmware version you are using. You can get it by executing the following Python code at the REPL:
import os
os.uname()

The output will look similar to this:

(sysname='LoPy', nodename='LoPy', release='0.9.4.b1', version='bc42ea7 on 2016-11-14', machine='LoPy with ESP32')
  • Exact steps to cause this issue
    1. First I did this...
    2. Then, I did that...
  • What you expected
    • e.g. I expected abc to xyz
  • What happened instead
    • e.g. Instead, I got zyx

Thank you!

Try to compile for ESP32 with error ๐Ÿ‘

root@jazmin:/opt/PYCOM/ESP32-micropython-lora/esp32#make V=1 BOARD=LOPY -j5 TARGET=boot
CC bootloader/bootloader.c
xtensa-esp32-elf-gcc -DESP_PLATFORM -g3 -Wpointer-arith -Werror -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wl,-EL -mlongcalls -Wall -ffunction-sections -fdata-sections -fno-common -Og -nostdlib -std=gnu99 -g3 -fstrict-volatile-bitfields -Iboards/LOPY -I. -I.. -Ihal -Iutil -Imods -Itelnet -Iftp -Ilora -Ibootloader -Ifatfs/src/drivers -Ibuild/LOPY_868/release -Ibuild/LOPY_868/release/genhdr -I/root/pycom-esp-idf/components/bootloader_support/include -I/root/pycom-esp-idf/components/bootloader_support/include_priv -I/root/pycom-esp-idf/components/mbedtls/include -I/root/pycom-esp-idf/components/mbedtls/port/include -I/root/pycom-esp-idf/components/driver/include -I/root/pycom-esp-idf/components/driver/include/driver -I/root/pycom-esp-idf/components/heap/include -I/root/pycom-esp-idf/components/esp32 -I/root/pycom-esp-idf/components/esp32/include -I/root/pycom-esp-idf/components/soc/esp32/include -I/root/pycom-esp-idf/components/expat/include -I/root/pycom-esp-idf/components/freertos/include -I/root/pycom-esp-idf/components/json/include -I/root/pycom-esp-idf/components/expat/include -I/root/pycom-esp-idf/components/lwip/include/lwip -I/root/pycom-esp-idf/components/lwip/include/lwip/port -I/root/pycom-esp-idf/components/newlib/include -I/root/pycom-esp-idf/components/nvs_flash/include -I/root/pycom-esp-idf/components/spi_flash/include -I/root/pycom-esp-idf/components/tcpip_adapter/include -I/root/pycom-esp-idf/components/log/include -I/root/pycom-esp-idf/components/sdmmc/include -I/root/pycom-esp-idf/components/bt/include -I/root/pycom-esp-idf/components/bt/bluedroid/include -I/root/pycom-esp-idf/components/bt/bluedroid/device/include -I/root/pycom-esp-idf/components/bt/bluedroid/bta/dm -I/root/pycom-esp-idf/components/bt/bluedroid/bta/hh -I/root/pycom-esp-idf/components/bt/bluedroid/bta/include -I/root/pycom-esp-idf/components/bt/bluedroid/bta/sys/include -I/root/pycom-esp-idf/components/bt/bluedroid/stack/include -I/root/pycom-esp-idf/components/bt/bluedroid/stack/gatt/include -I/root/pycom-esp-idf/components/bt/bluedroid/stack/gap/include -I/root/pycom-esp-idf/components/bt/bluedroid/stack/l2cap/include -I/root/pycom-esp-idf/components/bt/bluedroid/btcore/include -I/root/pycom-esp-idf/components/bt/bluedroid/osi/include -I/root/pycom-esp-idf/components/bt/bluedroid/hci/include -I/root/pycom-esp-idf/components/bt/bluedroid/gki/include -I/root/pycom-esp-idf/components/bt/bluedroid/api/include -I/root/pycom-esp-idf/components/bt/bluedroid/btc/include -I../lib/mp-readline -I../lib/netutils -I../lib/fatfs -I../lib -I../drivers/sx127x -I../stmhal -DMICROPY_NLR_SETJMP=1 -DUSE_BAND_868 -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"' -DHAVE_CONFIG_H -DESP_PLATFORM -DNDEBUG -DBOOTLOADER_BUILD -c -MD -o build/LOPY_868/release/bootloader/bootloader.o bootloader/bootloader.c
CC bootloader/gpio.c
xtensa-esp32-elf-gcc -DESP_PLATFORM -g3 -Wpointer-arith -Werror -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wl,-EL -mlongcalls -Wall -ffunction-sections -fdata-sections -fno-common -Og -nostdlib -std=gnu99 -g3 -fstrict-volatile-bitfields -Iboards/LOPY -I. -I.. -Ihal -Iutil -Imods -Itelnet -Iftp -Ilora -Ibootloader -Ifatfs/src/drivers -Ibuild/LOPY_868/release -Ibuild/LOPY_868/release/genhdr -I/root/pycom-esp-idf/components/bootloader_support/include -I/root/pycom-esp-idf/components/bootloader_support/include_priv -I/root/pycom-esp-idf/components/mbedtls/include -I/root/pycom-esp-idf/components/mbedtls/port/include -I/root/pycom-esp-idf/components/driver/include -I/root/pycom-esp-idf/components/driver/include/driver -I/root/pycom-esp-idf/components/heap/include -I/root/pycom-esp-idf/components/esp32 -I/root/pycom-esp-idf/components/esp32/include -I/root/pycom-esp-idf/components/soc/esp32/include -I/root/pycom-esp-idf/components/expat/include -I/root/pycom-esp-idf/components/freertos/include -I/root/pycom-esp-idf/components/json/include -I/root/pycom-esp-idf/components/expat/include -I/root/pycom-esp-idf/components/lwip/include/lwip -I/root/pycom-esp-idf/components/lwip/include/lwip/port -I/root/pycom-esp-idf/components/newlib/include -I/root/pycom-esp-idf/components/nvs_flash/include -I/root/pycom-esp-idf/components/spi_flash/include -I/root/pycom-esp-idf/components/tcpip_adapter/include -I/root/pycom-esp-idf/components/log/include -I/root/pycom-esp-idf/components/sdmmc/include -I/root/pycom-esp-idf/components/bt/include -I/root/pycom-esp-idf/components/bt/bluedroid/include -I/root/pycom-esp-idf/components/bt/bluedroid/device/include -I/root/pycom-esp-idf/components/bt/bluedroid/bta/dm -I/root/pycom-esp-idf/components/bt/bluedroid/bta/hh -I/root/pycom-esp-idf/components/bt/bluedroid/bta/include -I/root/pycom-esp-idf/components/bt/bluedroid/bta/sys/include -I/root/pycom-esp-idf/components/bt/bluedroid/stack/include -I/root/pycom-esp-idf/components/bt/bluedroid/stack/gatt/include -I/root/pycom-esp-idf/components/bt/bluedroid/stack/gap/include -I/root/pycom-esp-idf/components/bt/bluedroid/stack/l2cap/include -I/root/pycom-esp-idf/components/bt/bluedroid/btcore/include -I/root/pycom-esp-idf/components/bt/bluedroid/osi/include -I/root/pycom-esp-idf/components/bt/bluedroid/hci/include -I/root/pycom-esp-idf/components/bt/bluedroid/gki/include -I/root/pycom-esp-idf/components/bt/bluedroid/api/include -I/root/pycom-esp-idf/components/bt/bluedroid/btc/include -I../lib/mp-readline -I../lib/netutils -I../lib/fatfs -I../lib -I../drivers/sx127x -I../stmhal -DMICROPY_NLR_SETJMP=1 -DUSE_BAND_868 -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"' -DHAVE_CONFIG_H -DESP_PLATFORM -DNDEBUG -DBOOTLOADER_BUILD -c -MD -o build/LOPY_868/release/bootloader/gpio.o bootloader/gpio.c
bootloader/gpio.c:238:11: error: conflicting types for 'gpio_config'
esp_err_t gpio_config(gpio_config_t *pGPIOConfig)
^
In file included from /root/pycom-esp-idf/components/esp32/include/esp_sleep.h:19:0,
from /root/pycom-esp-idf/components/esp32/include/esp_system.h:21,
from /root/pycom-esp-idf/components/freertos/include/freertos/portable.h:126,
from /root/pycom-esp-idf/components/freertos/include/freertos/FreeRTOS.h:105,
from bootloader/gpio.c:18:
/root/pycom-esp-idf/components/driver/include/driver/gpio.h:249:11: note: previous declaration of 'gpio_config' was here
esp_err_t gpio_config(const gpio_config_t *pGPIOConfig);
^
bootloader/bootloader.c: In function 'bootloader_main':
bootloader/bootloader.c:390:5: error: implicit declaration of function 'esp_image_load_header' [-Werror=implicit-function-declaration]
if(esp_image_load_header(0x1000, true, &fhdr) != ESP_OK) {
^
bootloader/bootloader.c: In function 'unpack_load_app':
bootloader/bootloader.c:534:5: error: implicit declaration of function 'esp_image_basic_verify' [-Werror=implicit-function-declaration]
err = esp_image_basic_verify(partition->offset, true, &image_length);
^
bootloader/bootloader.c:568:9: error: implicit declaration of function 'esp_image_load_segment_header' [-Werror=implicit-function-declaration]
if(esp_image_load_segment_header(segment, partition->offset,
^
../py/mkrules.mk:47: fallo en las instrucciones para el objetivo 'build/LOPY_868/release/bootloader/gpio.o'
make: *** [build/LOPY_868/release/bootloader/gpio.o] Error 1
make: *** Se espera a que terminen otras tareas....
cc1: all warnings being treated as errors
../py/mkrules.mk:47: fallo en las instrucciones para el objetivo 'build/LOPY_868/release/bootloader/bootloader.o'
make: *** [build/LOPY_868/release/bootloader/bootloader.o] Error 1

Any suggestion?

Thanks !

LoRaWAN OTAA and ABP?

Hi, this driver works with the LoRaWAN using the OTAA and ABP activation?

I need to use my ESP32 device with LoRa using a LoRa provider (LoraWAN), is possible?

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.