Home of the Squeezebox™ & Transporter® network music players.
Page 62 of 64 FirstFirst ... 12526061626364 LastLast
Results 611 to 620 of 631
  1. #611
    Senior Member
    Join Date
    Dec 2009
    Location
    Quebec City, Canada
    Posts
    255
    Quote Originally Posted by ElFishi View Post
    next i tried the cmake branch
    Code:
    git clone --recursive --branch v4.0 https://github.com/espressif/esp-idf.git
    /home/user/esp/esp-idf/install.sh
    where I had to remove --no-site-packages flag from virtualenv inside idf_tools.py
    I added to ~/.profile:
    . $HOME/esp/esp-idf/export.sh
    then
    Code:
    git clone --recursive --branch bleeding.edge.48-v4.0-I2S-4MFlash-master-cmake https://github.com/sle118/squeezelite-esp32.git
    applied patch for i2s and
    Code:
    idf.py menuconfig
    idf.py flash
    ends in
    Code:
    [100%] Built target app
    /home/user/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: ../components/codecs/lib/libalac.a(alac_wrapper.o):(.literal+0xc): undefined reference to `_Unwind_Resume'
    /home/user/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: ../components/codecs/lib/libalac.a(alac_wrapper.o): in function `alac_create_decoder':D:\Developments\msys32\home\esp32\squeezelite\alac/alac_wrapper.cpp:38: undefined reference to `_Unwind_Resume'
    /home/user/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: ../components/codecs/lib/libalac.a(alac_wrapper.o):(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
    collect2: error: ld returned 1 exit status
    make[2]: *** [CMakeFiles/squeezelite.elf.dir/build.make:293: squeezelite.elf] Error 1
    make[1]: *** [CMakeFiles/Makefile2:2211: CMakeFiles/squeezelite.elf.dir/all] Error 2
    make: *** [Makefile:130: all] Error 2
    make failed with exit code 2
    edit: also tried idf.py build, same result
    Code:
    ů
    [ 98%] Built target app
    [100%] Linking CXX executable squeezelite.elf
    /home/user/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: ../components/codecs/lib/libalac.a(alac_wrapper.o):(.literal+0xc): undefined reference to `_Unwind_Resume'
    /home/user/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: ../components/codecs/lib/libalac.a(alac_wrapper.o): in function `alac_create_decoder':
    D:\Developments\msys32\home\esp32\squeezelite\alac/alac_wrapper.cpp:38: undefined reference to `_Unwind_Resume'
    /home/user/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: ../components/codecs/lib/libalac.a(alac_wrapper.o):(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
    collect2: error: ld returned 1 exit status
    make[2]: *** [CMakeFiles/squeezelite.elf.dir/build.make:293: squeezelite.elf] Error 1
    make[1]: *** [CMakeFiles/Makefile2:2211: CMakeFiles/squeezelite.elf.dir/all] Error 2
    make: *** [Makefile:130: all] Error 2
    make failed with exit code 2
    I have been troubleshooting the build issue from my end as well. The issue is now resolved, but something else showed up on the Jenkins (Linux based) which isn't happening on my Dev box (Windows).

    I will try to fix the build later tonight, so you should be able to build on IDF v4 tomorrow!
    LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
    SqueezeAmp!
    Contributing to Folding@Home : https://stats.foldingathome.org/donor/squeezelite-esp32

  2. #612
    Senior Member
    Join Date
    Dec 2009
    Location
    Quebec City, Canada
    Posts
    255
    Quote Originally Posted by ElFishi View Post
    next i tried the cmake branch
    Code:
    git clone --recursive --branch v4.0 https://github.com/espressif/esp-idf.git
    /home/user/esp/esp-idf/install.sh
    The Jenkins build system was initialized with the following ESP-IDF V4. I'm not sure if the yield is the same as your command, but it probably is the case.
    Code:
    sudo git clone -b v4.0 --recursive https://github.com/espressif/esp-idf.git

    Quote Originally Posted by ElFishi View Post
    next i tried the cmake branch
    Code:
    ů
    [ 98%] Built target app
    [100%] Linking CXX executable squeezelite.elf
    /home/user/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: ../components/codecs/lib/libalac.a(alac_wrapper.o):(.literal+0xc): undefined reference to `_Unwind_Resume'
    /home/user/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: ../components/codecs/lib/libalac.a(alac_wrapper.o): in function `alac_create_decoder':
    D:\Developments\msys32\home\esp32\squeezelite\alac/alac_wrapper.cpp:38: undefined reference to `_Unwind_Resume'
    /home/user/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: ../components/codecs/lib/libalac.a(alac_wrapper.o):(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
    collect2: error: ld returned 1 exit status
    make[2]: *** [CMakeFiles/squeezelite.elf.dir/build.make:293: squeezelite.elf] Error 1
    make[1]: *** [CMakeFiles/Makefile2:2211: CMakeFiles/squeezelite.elf.dir/all] Error 2
    make: *** [Makefile:130: all] Error 2
    make failed with exit code 2
    This is now resolved and confirmed to be working in both Windows as well as Linux. You can try putting your changes there if you want.

    Before you get too far deep in there, however, let me finish a new command that will allow writing an arbitrary number of bytes to the i2c interface. It will be available as an autoexec command that you can run, and I will ensure that it works.
    LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
    SqueezeAmp!
    Contributing to Folding@Home : https://stats.foldingathome.org/donor/squeezelite-esp32

  3. #613
    Senior Member
    Join Date
    Feb 2008
    Posts
    285
    Quote Originally Posted by sle118 View Post
    The Jenkins build system was initialized with the following ESP-IDF V4. I'm not sure if the yield is the same as your command, but it probably is the case.
    Code:
    sudo git clone -b v4.0 --recursive https://github.com/espressif/esp-idf.git



    This is now resolved and confirmed to be working in both Windows as well as Linux. You can try putting your changes there if you want.

    Before you get too far deep in there, however, let me finish a new command that will allow writing an arbitrary number of bytes to the i2c interface. It will be available as an autoexec command that you can run, and I will ensure that it works.
    Thx, sounds good, looking forward!
    I am not at home for the next ten days or so, and I can only start testing after that.

  4. #614
    Senior Member
    Join Date
    Dec 2009
    Location
    Quebec City, Canada
    Posts
    255
    Quote Originally Posted by ElFishi View Post
    Code:
    i2cset  -c 72 -r 1 12
    good news! I fixed the i2cset command, which means you can now send an arbitrary number of bytes to the i2c device of your choice.

    The example below flashes an SSD1306 by sending 0x80 (command) 0xAE (command value - off) 0x80 (command) 0xAF (command value-on), etc.


    Name:  Annotation 2020-05-21 174544.png
Views: 164
Size:  27.4 KB
    LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
    SqueezeAmp!
    Contributing to Folding@Home : https://stats.foldingathome.org/donor/squeezelite-esp32

  5. #615
    Senior Member
    Join Date
    Feb 2008
    Posts
    285
    Quote Originally Posted by sle118 View Post
    good news! I fixed the i2cset command, which means you can now send an arbitrary number of bytes to the i2c device of your choice.
    Nice!
    Will it only work in recovery ( or only in cmake?)

  6. #616
    Senior Member
    Join Date
    Dec 2009
    Location
    Quebec City, Canada
    Posts
    255
    Quote Originally Posted by ElFishi View Post
    Nice!
    Will it only work in recovery ( or only in cmake?)
    It will work on the CMake branch, recovery and squeezelite. Note that recovery does not execute autoexec, which should not be an issue in your case.
    LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
    SqueezeAmp!
    Contributing to Folding@Home : https://stats.foldingathome.org/donor/squeezelite-esp32

  7. #617
    Senior Member
    Join Date
    Feb 2008
    Posts
    285
    Quote Originally Posted by sle118 View Post
    It will work on the CMake branch, recovery and squeezelite. Note that recovery does not execute autoexec, which should not be an issue in your case.
    OK, cool.
    Maybe this is a good moment to ask: what is the difference btn the branches and are they going to merge?

  8. #618
    Senior Member
    Join Date
    Dec 2009
    Location
    Quebec City, Canada
    Posts
    255
    Quote Originally Posted by ElFishi View Post
    OK, cool.
    Maybe this is a good moment to ask: what is the difference btn the branches and are they going to merge?
    CMake is the branch where I put a lot of efforts over the past few months to keep the project on a track that allows us to keep up to date with espressif's release schedule. There, I also try to bring new features to make the platform better. For example moving from a custom HTTP server code (master branch) to the esp-idf http server which supports parsing body data and thus the upload firmware button, a system tab to run commands from the http UI, etc.

    Master is the branch that we keep as stable as possible and where big fixes are first implemented. All the new features there get ported to CMake.

    So as you can imagine, CMake is eventually going to be merged into master and will become the new gold standard of stability. I use the CMake branch every day, running squeezelite there. In order to call it stable, though, more adoption (with a wider variety of situations and use cases) will be needed... And being bleeding edge right now means stability is not as good as master.

    Hoping that answers your question

    edit:

    on a side note, it is perfectly fine to run either branch combination on the same esp32, with the precaution of refreshing the page fully between reboots across recovery/squeezelite
    Last edited by sle118; 2020-05-22 at 16:44.
    LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
    SqueezeAmp!
    Contributing to Folding@Home : https://stats.foldingathome.org/donor/squeezelite-esp32

  9. #619
    Senior Member
    Join Date
    Feb 2008
    Posts
    285
    Quote Originally Posted by sle118 View Post
    In order to call it stable, though, more adoption (with a wider variety of situations and use cases) will be needed... And being bleeding edge right now means stability is not as good as master.
    So if it helps the good cause I am happy to adopt "bleeding edge" (at least on one instance and as soon as I return home).
    How do you want issues to be reported? Forum (here), gitter or github?

  10. #620
    Senior Member
    Join Date
    Dec 2009
    Location
    Quebec City, Canada
    Posts
    255
    Quote Originally Posted by ElFishi View Post
    So if it helps the good cause I am happy to adopt "bleeding edge" (at least on one instance and as soon as I return home).
    How do you want issues to be reported? Forum (here), gitter or github?
    GitHub and gitter are good!
    LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
    SqueezeAmp!
    Contributing to Folding@Home : https://stats.foldingathome.org/donor/squeezelite-esp32

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •