GithubHelp home page GithubHelp logo

Comments (4)

chrschmidt avatar chrschmidt commented on August 16, 2024

Actually, in the second part, the negations are a bug that's fixed in my local tree but never was committed.

from spitool.

chrschmidt avatar chrschmidt commented on August 16, 2024

Thanks for the report. I fixed the second part locally, but totally missed the first one.

from spitool.

entropyqueen avatar entropyqueen commented on August 16, 2024

Well, since your last commit, you have another issue, it's a missing comma at the end of line 33 in spitool_cmdline.c

spitool_cmdline.c:34:5: error: expected ‘}’ before ‘{’ token
     { "M95256*", 32768, 2, 32, 0, BPDFEEPROM }
     ^
make: *** [Makefile:17: spitool_cmdline.o] Error 1

The array should look like this:

static const bp_device_t spi_devices [] = {
    { "list",        0, 0,  0, 0, BPDFDUMMY },
    { "M95160*",  2048, 2, 32, 0, BPDFEEPROM },
    { "M95320*",  4096, 2, 32, 0, BPDFEEPROM },
    { "M95640*",  8192, 2, 32, 0, BPDFEEPROM },
    { "M95256*", 32768, 2, 32, 0, BPDFEEPROM }
};

from spitool.

chrschmidt avatar chrschmidt commented on August 16, 2024

Sorry, tried too quickly to merge my local changes.

On 01/08/16 12:50, ark wrote:

Well, since your last commit, you have another issue, it's a missing
comma at the end of line 33 in spitool_cmdline.c

|spitool_cmdline.c:34:5: error: expected ‘}’ before ‘{’ token {
"M95256_", 32768, 2, 32, 0, BPDFEEPROM } ^ make: *_* [Makefile:17:
spitool_cmdline.o] Error 1 |

The array should look like this:

|static const bp_device_t spi_devices [] = { { "list", 0, 0, 0, 0,
BPDFDUMMY }, { "M95160_", 2048, 2, 32, 0, BPDFEEPROM }, { "M95320_",
4096, 2, 32, 0, BPDFEEPROM }, { "M95640_", 8192, 2, 32, 0, BPDFEEPROM },
{ "M95256_", 32768, 2, 32, 0, BPDFEEPROM } }; |


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABGJJ_AUqB4rBf4DoMWfoE2cWUP-38Ebks5qbc-MgaJpZM4JZYeB.

from spitool.

Related Issues (1)

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.