-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is RUI3 SDK inside RUI_3.6.0b_183 release.
- Loading branch information
Showing
5,222 changed files
with
7,747,031 additions
and
2 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Copyright 2022 Shenzhen RAKwireless Technology Co., Ltd. | ||
|
||
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. | ||
|
||
4. This software, with or without modification, must only be used with a RAKwireless product. | ||
|
||
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. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
extern void setup(); | ||
extern void loop(); | ||
|
||
extern "C" void rui_setup() | ||
{ | ||
setup(); | ||
} | ||
|
||
extern "C" void rui_loop() | ||
{ | ||
loop(); | ||
} |
102 changes: 102 additions & 0 deletions
102
cores/apollo3/component/core/mcu/apollo3/flash_apollo3.ld
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
|
||
/****************************************************************************** | ||
* | ||
* flash.ld - Linker script for applications using startup_gcc.c | ||
* | ||
*****************************************************************************/ | ||
ENTRY(Reset_Handler) | ||
BOOT_VERSION = 0x000F6000; | ||
|
||
MEMORY | ||
{ | ||
ROMEM (rx) : ORIGIN = 0x00010000, LENGTH = 976K | ||
RWMEM (rwx) : ORIGIN = 0x10000000, LENGTH = 384K | ||
} | ||
|
||
SECTIONS | ||
{ | ||
.text : | ||
{ | ||
. = ALIGN(4); | ||
KEEP(*(.isr_vector)) | ||
KEEP(*(.patch)) | ||
*(.text) | ||
*(.text*) | ||
|
||
. = ALIGN(4); | ||
__init_array_start = .; | ||
KEEP(*(.init_array)) /* C++ constructors */ | ||
KEEP(*(.ctors)) /* and vtable init */ | ||
__init_array_end = .; | ||
|
||
*(.rodata) | ||
*(.rodata*) | ||
. = ALIGN(4); | ||
_etext = .; | ||
} > ROMEM | ||
|
||
/* User stack section initialized by startup code. */ | ||
.stack (NOLOAD): | ||
{ | ||
. = ALIGN(8); | ||
*(.stack) | ||
*(.stack*) | ||
. = ALIGN(8); | ||
} > RWMEM | ||
|
||
.atcmd_queue : | ||
{ | ||
PROVIDE(__start_atcmd_queue = .); | ||
KEEP(*(.atcmd_queue)) | ||
PROVIDE(__stop_atcmd_queue = .); | ||
} > RWMEM | ||
|
||
.data : | ||
{ | ||
. = ALIGN(4); | ||
_sdata = .; | ||
*(.data) | ||
*(.data*) | ||
. = ALIGN(4); | ||
_edata = .; | ||
} > RWMEM AT>ROMEM | ||
|
||
/* used by startup to initialize data */ | ||
_init_data = LOADADDR(.data); | ||
|
||
.bss : | ||
{ | ||
. = ALIGN(4); | ||
_sbss = .; | ||
*(.bss) | ||
*(.bss*) | ||
*(COMMON) | ||
. = ALIGN(4); | ||
_ebss = .; | ||
} > RWMEM | ||
|
||
.heap (COPY): | ||
{ | ||
__end__ = .; | ||
PROVIDE(end = .); | ||
*(.heap*) | ||
__HeapLimit = .; | ||
} > RWMEM | ||
|
||
.ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } > RWMEM | ||
.ARM : { | ||
__exidx_start = .; | ||
*(.ARM.exidx*) | ||
__exidx_end = .; | ||
} > RWMEM | ||
|
||
/* remove the debugging information from the standard libraries */ | ||
/DISCARD/ : | ||
{ | ||
libc.a ( * ) | ||
libm.a ( * ) | ||
libgcc.a ( * ) | ||
} | ||
|
||
.ARM.attributes 0 : { *(.ARM.attributes) } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#ifndef __MCU_BASIC_H__ | ||
#define __MCU_BASIC_H__ | ||
|
||
#define MCU_SYS_CONFIG_NVM_ADDR 0x000FA000 | ||
#define MCU_USER_DATA_NVM_ADDR 0x000FC000 | ||
#define MCU_FACTORY_DEFAULT_NVM_ADDR 0x000FE000 | ||
|
||
#endif |
Oops, something went wrong.