Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from d3zd3z/zephyr-1.8.0
Zephyr 1.8.0
- Loading branch information
Showing
61 changed files
with
2,806 additions
and
261 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* Copyright (c) 2017-2023, Arm Limited. All rights reserved. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
* | ||
*/ | ||
|
||
#include "test_app.h" | ||
#include "tfm_log.h" | ||
#include "erpc_server_start.h" | ||
#include "target_cfg.h" | ||
|
||
#include "Driver_USART.h" | ||
#ifdef ERPC_UART | ||
extern ARM_DRIVER_USART ERPC_UART; | ||
#else | ||
#error "ERPC_UART is not provided!" | ||
#endif | ||
|
||
__attribute__((noreturn)) | ||
void test_app(void *argument) | ||
{ | ||
UNUSED_VARIABLE(argument); | ||
|
||
erpc_transport_t transport; | ||
|
||
transport = erpc_transport_cmsis_uart_init((void *)&ERPC_UART); | ||
if (!transport) { | ||
LOG_MSG("eRPC transport init failed!\r\n"); | ||
} | ||
|
||
erpc_server_start(transport); | ||
|
||
for (;;) { | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.