-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3fe16e5
commit 7c0d9df
Showing
164 changed files
with
66,272 additions
and
100 deletions.
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
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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
cmake_minimum_required(VERSION 3.10) | ||
cmake_minimum_required(VERSION 3.13) | ||
|
||
project(wiced_sdk C) | ||
|
||
|
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
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
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
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
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 |
---|---|---|
|
@@ -4,8 +4,6 @@ | |
#ifndef _BOARD_INIT_H | ||
#define _BOARD_INIT_H | ||
|
||
#include "nx_api.h" | ||
|
||
void board_init(); | ||
|
||
#endif // _BOARD_INIT_H |
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
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
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 |
---|---|---|
|
@@ -4,8 +4,6 @@ | |
#ifndef _BOARD_INIT_H | ||
#define _BOARD_INIT_H | ||
|
||
#include "nx_api.h" | ||
|
||
void board_init(); | ||
|
||
#endif // _BOARD_INIT_H |
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
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
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,6 @@ | ||
[ | ||
{ | ||
"name": "Renesas RX65N GCC", | ||
"toolchainFile": "${workspaceFolder}/../../cmake/renesas-rx-gcc-rx65n.cmake" | ||
} | ||
] |
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,30 @@ | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
|
||
cmake_minimum_required(VERSION 3.13 FATAL_ERROR) | ||
set(CMAKE_C_STANDARD 99) | ||
|
||
set(GSG_BASE_DIR ${CMAKE_SOURCE_DIR}/../..) | ||
set(CORE_SRC_DIR ${GSG_BASE_DIR}/core/src) | ||
set(CORE_LIB_DIR ${GSG_BASE_DIR}/core/lib) | ||
|
||
# use the repo version of ninja on Windows as there is no Ninja installer | ||
if(WIN32) | ||
set(CMAKE_MAKE_PROGRAM ${GSG_BASE_DIR}/cmake/ninja CACHE STRING "Ninja location") | ||
endif() | ||
|
||
# Set the toolchain if not defined | ||
if(NOT CMAKE_TOOLCHAIN_FILE) | ||
set(CMAKE_TOOLCHAIN_FILE "${GSG_BASE_DIR}/cmake/renesas-rx-gcc-rx65n.cmake") | ||
endif() | ||
|
||
include(${GSG_BASE_DIR}/cmake/utilities.cmake) | ||
|
||
# Define the Project | ||
project(rx65n_azure_iot C ASM) | ||
|
||
set(DISABLE_NEWLIB_STUB true) | ||
|
||
add_subdirectory(${CORE_SRC_DIR} core_src) | ||
add_subdirectory(lib) | ||
add_subdirectory(app) |
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,6 @@ | ||
[ | ||
{ | ||
"name": "Renesas RX65N GCC", | ||
"toolchainFile": "${workspaceFolder}/../../cmake/renesas-rx-gcc-rx65n.cmake" | ||
} | ||
] |
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,50 @@ | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
|
||
set(LINKER_SCRIPT "${CMAKE_CURRENT_LIST_DIR}/startup/linker_script.ld") | ||
|
||
set(SOURCES | ||
# startup/startup_MIMXRT1062.S | ||
startup/tx_initialize_low_level.S | ||
|
||
legacy/mqtt.c | ||
azure_config.h | ||
nx_client.c | ||
board_init.c | ||
console.c | ||
main.c | ||
) | ||
|
||
add_executable(${PROJECT_NAME} ${SOURCES}) | ||
|
||
target_link_libraries(${PROJECT_NAME} | ||
PUBLIC | ||
azrtos::threadx | ||
azrtos::netxduo | ||
|
||
app_common | ||
jsmn | ||
rx_driver_package | ||
netx_driver | ||
) | ||
|
||
target_link_options(${PROJECT_NAME} | ||
PRIVATE | ||
-T${LINKER_SCRIPT} | ||
-Wl,-Map=${PROJECT_NAME}.map | ||
-Wl,-e_PowerON_Reset | ||
) | ||
|
||
set_target_properties(${PROJECT_NAME} | ||
PROPERTIES | ||
LINK_DEPENDS ${LINKER_SCRIPT} | ||
SUFFIX ".elf" | ||
) | ||
|
||
target_include_directories(${PROJECT_NAME} | ||
PUBLIC | ||
. | ||
) | ||
|
||
create_bin_output(${PROJECT_NAME}) | ||
firmware_size(${PROJECT_NAME}) |
Oops, something went wrong.