Git Product home page Git Product logo

pycom-esp-idf's People

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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

pycom-esp-idf's Issues

undifined reference to mp_thread_clean

Hi to everyone. I follow this guide in order to compile the example "getting-started/hello-world" for my ESP32 WiPy 2.0.
After the make menuconfig command I try to do make all, but I receive the follow error:

pycom-esp-idf/components/freertos/./tasks.c:4421: undefined reference to `mp_thread_clean'

Document Pycom's upstream tracking procedure.

After #3 I noticed that it seems pycom-esp-idf does not directly track upstream, but that a force merge is applied after what I assume is a roll-back, and then fixes are applied on top.

Understanding how Pycom handles patching esp-idf while tracking espressif would help me better maintain my end.

My build process currently involves a tree of patch files and a tracking repo, currently that repo is here which I have just updated to the latest commit at pycom/pycom-esp-idf. This had to be a force push because the branches between old master and pycom's master branch had diverged (observe 3 commits ahead).

If Pycom is force updating and applying their patches on afterwards, I would greatly appreciate that process being exposed so that my patches might fit in to your already implemented system.

Kind regards
Josh

branch idf_V3.1: "git submodule update --init" fails

After getting a fresh clone of the pycom-esp-idf including the --recursive option, checking out branch idf_v3.1, the command "git submodule update --init" fails with the error:

error: Der Server lehnt Anfrage nach nicht angebotenem Objekt 71c281af48a6ae006634329bf96cad83e4832cd5 ab.
"fetch" in Submodul-Pfad 'components/aws_iot/aws-iot-device-sdk-embedded-C' ausgeführt, aber 71c281af48a6ae006634329bf96cad83e4832cd5 nicht
enthalten. Direktes Anfordern dieses Commits ist fehlgeschlagen.

translated by deepl into:

error: The server rejects request for not offered object 71c281af48a6ae006634329bf96cad83e4832cd5.
"fetch" in submodule path 'components/aws_iot/aws-iot-device-sdk-embedded-C' executed, but 71c281af48a6ae006634329bf96cad83e4832cd5 not
must be included. Direct request of this commit failed.

System View Tracing Support

Following a post here, I am trying to use GDB and System View Tracing. Is this possible?

cd ~/esp/pycom-esp-idf/examples/wifi/scan
make menuconfig
-- SystemView Tracing Enable [*]
make -j8 all
cd ~/esp/pycom-micropython-sigfox/esp32
python get_idf_libs.py --idflibs $IDF_PATH/examples/wifi/scan/build
In file included from D:/msys32/home/chris/esp/pycom-espidf/components/app_trace/sys_view/Sample/  Config/SEGGER_SYSVIEW_Config_FreeRTOS.c:73:0:
D:/msys32/home/chris/esp/pycom-esp-idf/components/esp32/include/esp_clk.h:77:26: error: unknown ty  pe name 'rtc_slow_freq_t'
 void select_rtc_slow_clk(rtc_slow_freq_t slow_clk);
                          ^
make[1]: *** [/home/chris/esp/pycom-esp-idf/make/component_wrapper.mk:274: sys_view/Sample/Config/  SEGGER_SYSVIEW_Config_FreeRTOS.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC build/bootloader_support/src/esp_image_format.o
make: *** [D:/msys32/home/chris/esp/pycom-esp-idf/make/project.mk:450: component-app_trace build]   Error 2
make: *** Waiting for unfinished jobs....

Failed to initialize the card

Hello there

I am first time working on an SD card with ESP-IDF

I am using ESP32 Devkit_v1 and an SD card module

I have tried SD Arduino lib and it worked.

Now for ESP_IDF i am using esp-idf/examples/storage/sd_card/sdspi/main/sd_card_example_main.c

I am using SPI MODE here

But I got this error

�[0;32mI (294) cpu_start: Pro cpu start user code�[0m
�[0;32mI (312) spi_flash: detected chip: generic�[0m
�[0;32mI (312) spi_flash: flash io: dio�[0m
�[0;32mI (313) cpu_start: Starting scheduler on PRO CPU.�[0m
�[0;32mI (0) cpu_start: Starting scheduler on APP CPU.�[0m
�[0;32mI (321) example: Initializing SD card�[0m
�[0;32mI (321) example: Using SPI peripheral�[0m
�[0;32mI (331) gpio: GPIO[5]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 �[0m
�[0;32mI (341) sdspi_transaction: cmd=52, R1 response: command not supported�[0m
�[0;32mI (391) sdspi_transaction: cmd=5, R1 response: command not supported�[0m
�[0;31mE (421) sdmmc_sd: sdmmc_check_scr: send_scr returned 0x109�[0m
�[0;31mE (421) vfs_fat_sdmmc: sdmmc_card_init failed (0x109).�[0m
�[0;32mI (421) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 �[0m
�[0;31mE (431) example: Failed to initialize the card (ESP_ERR_INVALID_CRC). Make sure SD card lines have pull-up resistors in place.�[0m

Thank you in advance.

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.