• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Can build Duet085 and DuetM but not Duet2 configurations

Scheduled Pinned Locked Moved
Firmware developers
2
3
694
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    edkman
    last edited by 21 Mar 2018, 21:18

    I don't even see where NumWiFiTcpSockets is defined at all, in any code.

    arm-none-eabi-g++ -D__SAM4E8E__ -DDUET_NG -DDUET_WIFI -D_XOPEN_SOURCE -I"E:\EclipseScratchJunk\CoreNG\cores\arduino" -I"E:\EclipseScratchJunk\CoreNG\libraries\Flash" -I"E:\EclipseScratchJunk\CoreNG\libraries\SharedSpi" -I"E:\EclipseScratchJunk\CoreNG\libraries\Storage" -I"E:\EclipseScratchJunk\CoreNG\libraries\Wire" -I"E:\EclipseScratchJunk\CoreNG\asf" -I"E:\EclipseScratchJunk\CoreNG\asf\common\utils" -I"E:\EclipseScratchJunk\CoreNG\asf\common\services\clock" -I"E:\EclipseScratchJunk\CoreNG\asf\common\services\ioport" -I"E:\EclipseScratchJunk\CoreNG\asf\sam\drivers" -I"E:\EclipseScratchJunk\CoreNG\asf\sam\services\flash_efc" -I"E:\EclipseScratchJunk\CoreNG\asf\sam\utils" -I"E:\EclipseScratchJunk\CoreNG\asf\sam\utils\cmsis\sam4e\include" -I"E:\EclipseScratchJunk\CoreNG\asf\sam\utils\header_files" -I"E:\EclipseScratchJunk\CoreNG\asf\sam\utils\preprocessor" -I"E:\EclipseScratchJunk\CoreNG\asf\thirdparty\CMSIS\Include" -I"E:\EclipseScratchJunk\CoreNG\variants\duetNG" -I"E:\EclipseScratchJunk\RepRapFirmware\src" -I"E:\EclipseScratchJunk\RepRapFirmware\src\DuetNG" -I"E:\EclipseScratchJunk\RepRapFirmware\src\Networking" -I"E:\EclipseScratchJunk\DuetWiFiSocketServer\src\include" -O2 -Wall -c -std=gnu++14 -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections -fno-threadsafe-statics -fno-rtti -fno-exceptions -nostdlib -Wdouble-promotion -fsingle-precision-constant "-Wa,-ahl=FtpResponder.s" -MMD -MP -MF"src/Networking/FtpResponder.d" -MT"src/Networking/FtpResponder.o" -o "src/Networking/FtpResponder.o" "../src/Networking/FtpResponder.cpp"
    'Building file: ../src/Networking/HttpResponder.cpp'
    In file included from ../src/Networking/ESP8266WiFi/WiFiInterface.cpp:9:0:
    ../src/Networking/ESP8266WiFi/WiFiInterface.h:128:22: error: 'NumWiFiTcpSockets' was not declared in this scope
    WiFiSocket *sockets[NumWiFiTcpSockets];
    ^~~~~~~~~~~~~~~~~

    I have an unmodified code base of 1.21 other than copying the MessageFormats.h file over from DuetWiFiSocketServer (seems to be necessary).

    I have a DuetEthernet board. I have selected the SAM4E8E build for CoreNG, and the Duet2 config for RepRapFirmware. Is that correct?

    Since the 085 and DuetM builds work fine, is there just a missing header or definition of NumWiFiTcpSockets that is needed by Duet2?

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 21 Mar 2018, 21:24

      Update project DuetWiFiSocketServer from GitHub.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      1 Reply Last reply Reply Quote 0
      • undefined
        edkman
        last edited by 22 Mar 2018, 02:16

        OK, thanks a lot.

        Somehow, my GitHub desktop repository for the DuetWiFiSocketServer was not showing me that there even was a 'dev' branch, so I kept checking and synching to just the master.

        I downloaded the ZIP file instead and it works (builds Duet2CombinedFirmware.bin) now.

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA