Skip to content
This repository was archived by the owner on Feb 22, 2021. It is now read-only.
This repository was archived by the owner on Feb 22, 2021. It is now read-only.

Compilation issue #4

@shayo

Description

@shayo

@rgrover , I'm trying to revive this project and I'm having trouble compiling it.
which mbed version was used to compile it, and where can I find it?

I've tried the following:

  1. SDK 8
  2. https://developer.mbed.org/users/mbed_official/code/mbed-src/ for mbed (revision 635 a11c0372f0ba)
  3. gcc-arm-none-eabi-6_2-2016q4

I'm getting huge number of compilation errors, first one being
In file included from /Users/shayo/sdk/nRF51_SDK_8.0.0_5fc2c3a/examples/dfu/nrf5x-dfu-bootloader-master/mbed/targets/cmsis/core_cm0.h:127:0,
from /Users/shayo/sdk/nRF51_SDK_8.0.0_5fc2c3a/examples/dfu/nrf5x-dfu-bootloader-master/mbed/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51.h:119,
from /Users/shayo/sdk/nRF51_SDK_8.0.0_5fc2c3a/components/libraries/bootloader_dfu/dfu_types.h:27,
from /Users/shayo/sdk/nRF51_SDK_8.0.0_5fc2c3a/components/libraries/bootloader_dfu/bootloader.h:27,
from /Users/shayo/sdk/nRF51_SDK_8.0.0_5fc2c3a/examples/dfu/nrf5x-dfu-bootloader-master/main.c:31:
/Users/shayo/sdk/nRF51_SDK_8.0.0_5fc2c3a/examples/dfu/nrf5x-dfu-bootloader-master/mbed/targets/cmsis/core_cmInstr.h:52:4: error: #error "Please use ARM Compiler Toolchain V4.0.677 or later!"
#error "Please use ARM Compiler Toolchain V4.0.677 or later!"

which doesn't make sense since I'm using a much newer toolchain....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions