Search found 15 matches

by lolomarx
Fri Feb 21, 2020 1:48 pm
Forum: ESP32 boards
Topic: ext0 can't work together with ext1?
Replies: 1
Views: 1226

ext0 can't work together with ext1?

I want to wake up esp32 from deepsleep mode by below cases: 1) Key down (gpio 25 turn to low ) 2) USB plug in ( gpio 35 turn to high ) So i and below codes on main.c #define WAKE_UP_GPIO_25_MASK 0x2000000 esp_sleep_enable_ext0_wakeup(35,1) // wake up when USB connected ,gpio 35 is high esp_sleep_ena...
by lolomarx
Mon Jan 13, 2020 12:43 am
Forum: ESP32 boards
Topic: mpy-cross can't work on MacOSX Catalina [ missing LC_DYSYMTAB]
Replies: 2
Views: 1889

Re: mpy-cross can't work on MacOSX Catalina [ missing LC_DYSYMTAB]

Please help to delete this post . Thx
by lolomarx
Sun Jan 12, 2020 10:06 am
Forum: ESP32 boards
Topic: mpy-cross can't work on MacOSX Catalina [ missing LC_DYSYMTAB]
Replies: 2
Views: 1889

mpy-cross can't work on MacOSX Catalina [ missing LC_DYSYMTAB]

Any body can help to reproduce this problem on your machine ? cd mpy-cross make clean make The result with error as below CC main.c CC gccollect.c LINK mpy-cross BFD: mpy-cross: unknown load command 0x32 text data bss dec hex filename 130999 13512 860 145371 237db mpy-cross And can't perform may-cro...
by lolomarx
Sat Jan 11, 2020 5:42 am
Forum: ESP32 boards
Topic: Got "Malformed Mach-o file" on Mac Catilina when make firmware
Replies: 11
Views: 5872

Re: Got "Malformed Mach-o file" on Mac Catilina when make firmware

still can't prevent running mpy-cross: make FROZEN_MANIFEST= Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. MPY modules/upip_utarfile.py make: ../../mpy-cross/mpy-cross: Malformed M...
by lolomarx
Sat Jan 11, 2020 4:11 am
Forum: ESP32 boards
Topic: Got "Malformed Mach-o file" on Mac Catilina when make firmware
Replies: 11
Views: 5872

Re: Got "Malformed Mach-o file" on Mac Catilina when make firmware

For a try. clang to build HelloWorld is ok.

Code: Select all

clang HelloWorld.c 
$ a.out
Hello World!
by lolomarx
Sat Jan 11, 2020 2:32 am
Forum: ESP32 boards
Topic: Got "Malformed Mach-o file" on Mac Catilina when make firmware
Replies: 11
Views: 5872

Re: Got "Malformed Mach-o file" on Mac Catilina when make firmware

clang --version Apple clang version 11.0.0 (clang-1100.0.33.8) Target: x86_64-apple-darwin19.2.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin $ make V=1 mkdir -p build/genhdr python3 ../py/makeversionhdr.py build/genhdr/mpversion.h Generating build/genhdr/mpversion....
by lolomarx
Sat Jan 11, 2020 12:39 am
Forum: ESP32 boards
Topic: Got "Malformed Mach-o file" on Mac Catilina when make firmware
Replies: 11
Views: 5872

Re: Got "Malformed Mach-o file" on Mac Catilina when make firmware

Here are the "HelloWorld" testing result vim HelloWorld.cpp $ clang++ -o HelloWorld HelloWorld.cpp $ ./HelloWorld Hello world! $ clang++ --version Apple clang version 11.0.0 (clang-1100.0.33.8) Target: x86_64-apple-darwin19.2.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/us...
by lolomarx
Fri Jan 10, 2020 6:43 am
Forum: ESP32 boards
Topic: Got "Malformed Mach-o file" on Mac Catilina when make firmware
Replies: 11
Views: 5872

Re: Got "Malformed Mach-o file" on Mac Catilina when make firmware

./mpy-cross --help mpy-cross can't work make clean Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. rm -f mpy-cross rm -f mpy-cross.map rm -rf build CC gccollect.c LINK mpy-cross BFD: mpy-cross: unknown load command 0x32 text data bss dec hex filename 130999 13512 ...
by lolomarx
Fri Jan 10, 2020 5:47 am
Forum: ESP32 boards
Topic: Got "Malformed Mach-o file" on Mac Catilina when make firmware
Replies: 11
Views: 5872

Got "Malformed Mach-o file" on Mac Catilina when make firmware

Had set up ~/edp-idf and ~/esp/xtensa-esp32-elf On ~/.bashrc : export PATH=$HOME/esp/xtensa-esp32-elf/bin:$PATH export IDF_PATH=~/esp/esp-idf Then go to ports/esp32 and perform "make V=1", but got "Malformed Mach-o file" error as below : MPY modules/flashbdev.py mkdir -p build/frozen_mpy/ ../../mpy-...
by lolomarx
Fri Jan 10, 2020 5:42 am
Forum: ESP32 boards
Topic: How to config 2M flash for a new ESP32 board?
Replies: 6
Views: 3969

Re: How to config 2M flash for a new ESP32 board?

The chip on my board is ESP32 D0WDQ6 and link to a external 2M flash

I had try it with partition-2MiB.csv , but fail.