Coder Social home page Coder Social logo

Comments (4)

alex-eri avatar alex-eri commented on May 23, 2024

#warning esp32/sha.h is deprecated, please use sha_parallel_engine.h instead

from remotedebug.

JonLevin25 avatar JonLevin25 commented on May 23, 2024

Is there a way to #define <hwcrypto/sha.h> <esp32/sha.h> from user code, to avoid changing library?

The preprocessor doesn't seem to like it

In file included from src/main.cpp:5:
src/remote_debug.h:31:9: error: macro names must be identifiers
 #define <hwcrypto/sha.h> <esp32/sha.h>

from remotedebug.

quazardous avatar quazardous commented on May 23, 2024

here is a good patch

Links2004/arduinoWebSockets#738 (comment)

  #if ESP_IDF_VERSION_MAJOR >= 4
    #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(1, 0, 6) )
      #include "sha/sha_parallel_engine.h"
    #else
      #include <esp32/sha.h>
    #endif  
  #else
    #include <hwcrypto/sha.h>
  #endif

from remotedebug.

quazardous avatar quazardous commented on May 23, 2024

crap just use https://github.com/karol-brejna-i/RemoteDebug (RemoteDebug2)

from remotedebug.

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.