Coder Social home page Coder Social logo

nordicplayground / nrf51-dfu-bootloader-for-gcc-compiler Goto Github PK

View Code? Open in Web Editor NEW
15.0 29.0 25.0 4.05 MB

code examples of a the SDKv6.0 DFU bootloader modified to be built by gcc.

Assembly 1.52% C 90.98% C++ 4.67% D 0.30% HTML 2.13% Makefile 0.41%

nrf51-dfu-bootloader-for-gcc-compiler's Introduction

DFU-Bootloader-for-gcc-compiler

This project contains code examples of a DFU bootloader modified to be built by gcc. gcc_nrf51_bootloader_xxaa.ld is added PSTORAGE_MIN_BLOCK_SIZE was changed to 0x000c to match with gcc build.

Note that the bootloader address was set to 0x35000 to make enough room for the build with debug option. If you build with release (or all) (that has optimization) you can move the bootloader up to have more room for your application.

Requirements

nRF51 SDK version 6.0.0

S110 v7.0 and above.

nRF51822 Development Kit version 2.1.0 or later

The project may need modifications to work with other versions or other boards.

NOTE: This project is obsoleted and not updated. The Nordic nRF5 SDK now already has example for gcc bootloader.

About this project

This application is one of several applications that has been built by the support team at Nordic Semiconductor, as a demo of some particular feature or use case. It has not necessarily been thoroughly tested, so there might be unknown issues. It is hence provided as-is, without any warranty.

However, in the hope that it still may be useful also for others than the ones we initially wrote it for, we've chosen to distribute it here on GitHub.

The application is built to be used with the official nRF51 SDK, that can be downloaded from https://www.nordicsemi.no, provided you have a product key for one of our kits.

Please post any questions about this project on https://devzone.nordicsemi.com.

nrf51-dfu-bootloader-for-gcc-compiler's People

Contributors

follower avatar hubuhubu avatar rallare avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nrf51-dfu-bootloader-for-gcc-compiler's Issues

complete bootloader and application build-> hex

hello,
thanks for your work - its very exciting that you guys are working to support gcc.

At the mbed project, we have been testing out a complete toolflow using cmake - here is an example https://github.com/sandys/mbed-nrf51-gcc-test
please pay attention to https://github.com/sandys/mbed-nrf51-gcc-test/blob/master/projects/BLE_HeartRate/CMakeLists.txt

it would be great if you can create a build for gcc using 1) cmake 2) include application, firmware and OTA bootloader in a single hex using "srec_cat" (done in the example project). Please also mention the intended way to flash this to the chip - we are attempting to use openocd in the following way (https://github.com/RIOT-OS/RIOT/wiki/Board:-yunjia-nrf51822 + https://devzone.nordicsemi.com/question/14761/programming-nrf51822-using-swd/) to flash this.

This will be really, really cool and will become the single most important project to use gcc+nrf51822 with a complete application+OTA bootloader+firmware

thanks!!

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.