NordicSemiconductor / Nordic-Thingy52-FW

Nordic Thingy:52 software development kit. This kit is designed to assist users in developing their own custom firmware for Thingy. Please see http://www.nordicsemi.com/thingy for the latest news and software releases.
Other
210 stars 133 forks source link

Bootloader fails to compile under ARM GCC #15

Closed binaryfields closed 6 years ago

binaryfields commented 6 years ago
  1. Missing makefile configuration

It looks like bootloader files are patched to reference reference "pca20020.h" board definition but makefile for bootloader is not updated with required paths and additional source files.

Makefile: project/bootloader_secure/pca10040/armgcc/Makefile

  1. Missing micro-ecc build for armgcc

    micro-ecc build for armgcc is missing.

jorgenmk commented 6 years ago

Hi, are you running from the latest master? (3edeb86)

The bootloader project path should be project/bootloader_secure/pca20020/armgcc. If you are still having issues please reopen and provide the compiler error log.

There is a setup_sdk script in the root dir which will download and compile micro-ecc. See the projects README.md under "Setting up the SDK" for more details.

binaryfields commented 6 years ago

This was against v1.1 of the firmware and bootloader code, specifically commit feae5.

I just grabbed latest and confirmed this is no longer an issue with v2.0.

Thanks