Git Product home page Git Product logo

Comments (4)

trond-snekvik avatar trond-snekvik commented on August 16, 2024

Hi, this seems to be the same issue as you had before (?)

Did you try my suggestion?

It appears as if you have a mixture of SDK8.0 and 8.1 (or 9.0?) installed. The nrf_drv_gpiote.c file was introduced in SDK8.1, but you seem to have some header files still on 8.0. The GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS constant is defined in ../../../../../../components/drivers_nrf/config/nrf_drv_config.h in SDK8.1, but not at all in SDK8.0. I would recommend that you download SDK8.1, and wipe any remaining SDK8.0-files. Since the config file was present (but different) in SDK8.0, you might have ended up not overwriting it when copying over SDK8.1 (?)

Only the nrf_drv_config.c file associated with 8.1 should have the offending code line, but only the 8.0 nrf_drv_config.h file should miss the #define.

from nrf51-ble-bcast-mesh.

rifatmahmud avatar rifatmahmud commented on August 16, 2024

It is a fresh Ubuntu install, and, I have unpacked SDK-8.1.0 from here:
http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/

Other 3 examples are compiling(with build.sh).

So, I am uncertain how it could be a conflict between 8.1.0 and 8.0.0. I used your hotfix-issue-44 branch. The nRF SDK is extracted in NRF_SDK folder in root home folder, and the ble-bcast repo is cloned inside NRF_SDK/examples folder. Is that a correct procedure? Or do I need to put the 3 folders inside https://github.com/NordicSemiconductor/nRF51-ble-bcast-mesh/tree/hotfix-issue-44/nRF51
on the nRF51 SDK's examples folder?
Am I missing some steps in between?

from nrf51-ble-bcast-mesh.

rifatmahmud avatar rifatmahmud commented on August 16, 2024

capture

Here is the snapshot of my ...drivers_nrf/config/nrf_drv_config.h file.
The problem seems to be GPIOTE_ENABLED 0. When I defined it as 1, the Scaling Example compiled.

What is the significance of this, and how this change the SDK's headers might effect other examples?

Thanks.

from nrf51-ble-bcast-mesh.

trond-snekvik avatar trond-snekvik commented on August 16, 2024

You are correct. I have to admit, I didn't consider the flag. The config file in /components/ is meant to be used as a template for a project specific version, but in this case, we were a little too fast, and used it directly. We'll put a customized header in the example folder, but for now, just tick the flag on the SDK version of the file.

Sorry about the mixup.

from nrf51-ble-bcast-mesh.

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.