From 1db3d8b50b86287e8b983a9061a0e584236b43e7 Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Wed, 8 Nov 2023 09:01:36 +0100 Subject: [PATCH] Import `nrfx.h` (#299) --- third_party/nrfx-custom/README.md | 2 ++ third_party/nrfx-custom/nrfx.h | 44 +++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 third_party/nrfx-custom/nrfx.h diff --git a/third_party/nrfx-custom/README.md b/third_party/nrfx-custom/README.md index f85e0cf..21369ae 100644 --- a/third_party/nrfx-custom/README.md +++ b/third_party/nrfx-custom/README.md @@ -10,6 +10,8 @@ This folder contains a subset of files imported from [NordicSemiconductor/nrfx]( - The [`nrf5340_xxaa_application.ld`](https://github.com/NordicSemiconductor/nrfx/blob/7ef620bedd3fd41828e0f81523a1d08a986b8a0e/mdk/nrf5340_xxaa_application.ld) linker script was imported at state NordicSemiconductor/nrfx@7ef620b. +- The file [`nrfx.h`](https://github.com/NordicSemiconductor/nrfx/blob/1c721175f22dbb1bf125a570a427b53f810881bb/nrfx.h) was imported at state NordicSemiconductor/nrfx@1c72117. + - The file [`nrf_common.ld`](https://github.com/NordicSemiconductor/nrfx/blob/7ef620bedd3fd41828e0f81523a1d08a986b8a0e/mdk/nrf_common.ld) was imported at state NordicSemiconductor/nrfx@7ef620b. - The file [`gcc_startup_nrf52840.S`](https://github.com/NordicSemiconductor/nrfx/blob/7ef620bedd3fd41828e0f81523a1d08a986b8a0e/mdk/gcc_startup_nrf52840.S) was imported at state NordicSemiconductor/nrfx@7ef620b. diff --git a/third_party/nrfx-custom/nrfx.h b/third_party/nrfx-custom/nrfx.h new file mode 100644 index 0000000..87ee696 --- /dev/null +++ b/third_party/nrfx-custom/nrfx.h @@ -0,0 +1,44 @@ +/* + * Copyright (c) 2017 - 2023, Nordic Semiconductor ASA + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from this + * software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER 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. + */ + +#ifndef NRFX_H__ +#define NRFX_H__ + +#include +#include +#include +#include +#include +#include + +#endif // NRFX_H__