GithubHelp home page GithubHelp logo

Comments (4)

1c3t3a avatar 1c3t3a commented on June 18, 2024

By the way: Building with the feature native runs through, but results in a malformed binary on the esp32c3:

entry 0x403ce000
I (35) boot: ESP-IDF v4.4-dev-2825-gb63ec47238 2nd stage bootloader
I (35) boot: compile time 12:10:40
I (35) boot: chip revision: 3
I (38) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (45) boot.esp32c3: SPI Speed      : 80MHz
I (50) boot.esp32c3: SPI Mode       : DIO
I (55) boot.esp32c3: SPI Flash Size : 4MB
I (60) boot: Enabling RNG early entropy source...
I (65) boot: Partition Table:
I (69) boot: ## Label            Usage          Type ST Offset   Length
I (76) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (83) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (91) boot:  2 factory          factory app      00 00 00010000 003f0000
I (98) boot: End of partition table
I (102) boot_comm: chip revision: 3, min. application chip revision: 0
I (110) esp_image: segment 0: paddr=00010020 vaddr=3c090020 size=178d8h ( 96472) map
I (133) esp_image: segment 1: paddr=00027900 vaddr=3fc8b000 size=01cd8h (  7384) load
I (134) esp_image: segment 2: paddr=000295e0 vaddr=40380000 size=06a38h ( 27192) load
I (143) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=8bd44h (572740) map
I (233) esp_image: segment 4: paddr=000bbd6c vaddr=40386a38 size=044f4h ( 17652) load
I (236) esp_image: segment 5: paddr=000c0268 vaddr=50000000 size=00010h (    16) load
E (239) esp_image: invalid segment length 0xbada
E (244) boot: Factory app partition is not bootable
E (249) boot: No bootable app partitions in the partition table
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x403d153e
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x172c
load:0x403ce000,len:0x928
load:0x403d0000,len:0x2ce0

from esp-idf-sys.

MabezDev avatar MabezDev commented on June 18, 2024

Thanks for the report! I'll take a look at the native build issues.

For PIO, please see espressif/rust-esp32-example#42 (comment)

from esp-idf-sys.

1c3t3a avatar 1c3t3a commented on June 18, 2024

Ah great! The pio fix is working! If you need me to test something with the native build just ping me here ;)

from esp-idf-sys.

ivmarkov avatar ivmarkov commented on June 18, 2024

Another way to fix that would be to place this sdkconfig.defaults file in the root of your binary crate.

I would strongly advise generating your project using the esp-idf-template project now. It is the absolute minimum - so to say - that you need to bootstrap a "Hello-world!" one-liner with rust on top of the ESP-IDF.

from esp-idf-sys.

Related Issues (20)

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.