* THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
/* Template files (including this one) are application specific and therefore expected to
be copied into the application project folder prior to its use! */
#ifndef _UICR_CONFIG_H
#define _UICR_CONFIG_H
/*lint ++flb "Enter library region" */
#include <stdint.h>
/*
* Include this file in your project if you want to include in your compiled code files data
* for the User Information Configuration Registers (UICR) area; see nRF51 Series Reference
* Manual chapter User Information Configuration Registers. This file declares one variable
* per register of the UICR area and informs the linker where to place them. To include
* the desired value in the desired address, uncomment the variable with the proper address
* at the target area and update the assignment value.
*
* Please note that UICR values are stored in a reserved area of the flash and should only be
* stored into when downloading a hex file. Do not use these defined variables to store data
* at run time.
*
* Note as well that this file uses one non-standard attribute ("at"). It will only function
* with the ARMCC compiler toolset.
*
* Note that the hex file generated when this file is included will fail to download when using
* the standard download algorithm provided by Nordic. See example project "uicr_config_example"
* in any of the board example folders for an example of the recommended download method as well
* as the documentation that follows with the SDK. nrfjprog can be used as normal.
*
* Please note as well that if you are using a SoftDevice the UICR_CLENR0 address will
* already be in use. Do not uncomment that line.
*/
// const uint32_t UICR_CLENR0 __attribute__((at(0x10001000))) __attribute__((used)) = 0xFFFFFFFF; // WARNING: This address might be used by the SoftDevice. Use with care.