Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
7201e34
Remove whitespace from C common header template
cringti Apr 15, 2019
dbc27bc
Added deinit function for RPMSG tty
Hadatko Oct 21, 2019
96199e4
Fixed deinitialization of RPMSG lite tty transport
Hadatko Oct 21, 2019
74b2811
Merge pull request #78 from Hadatko/add_rpmsg_tty_deinit
MichalPrincNXP Oct 23, 2019
f748151
eRPC updates 12/2019
MichalPrincNXP Dec 17, 2019
6a0f2a6
Fixed extra return in client.cpp, when generages callbacks with retur…
zuzy Dec 25, 2019
2141c21
Copyright year update
MichalPrincNXP Jan 14, 2020
bd8bf57
Merge pull request #55 from cringti/whitespace
MichalPrincNXP Jan 28, 2020
7d99308
Implemented support for mbed-os
AGlass0fMilk Dec 4, 2019
5313853
Add link to supporting library and examples
AGlass0fMilk Dec 5, 2019
9a82e6e
Merge pull request #81 from EmbeddedPlanet/add-mbed-os-support
MichalPrincNXP Apr 6, 2020
af02b3e
Rename cpp file from pull request #81 to be aligned with other port l…
MichalPrincNXP Apr 17, 2020
736c5d3
Add mbed support for malloc() and free()
Apr 24, 2020
439affd
<fix>: Fix erpcgen python client inout argument bug
zuzy Jun 3, 2020
7300793
Remove '$' character from generated symbol name in '_$union' suffix
RamseyTI May 23, 2020
5959ccd
eRPC updates 07/2020
MichalPrincNXP Jul 21, 2020
eae7925
support win32 thread
wesley-wu Jul 24, 2020
29b4e32
Merge pull request #103 from RamseyTI/ramsey-fix
MichalPrincNXP Aug 3, 2020
7940147
Merge pull request #108 from wesley-wu/win32_thread
MichalPrincNXP Aug 4, 2020
43d09e6
Travis update
MichalPrincNXP Aug 5, 2020
bcedf82
Mismatch between C++ and Python for callback index type
Calimero92 Apr 4, 2019
5f3a4bf
Merge pull request #111 from RamseyTI/ramsey-fix
MichalPrincNXP Aug 5, 2020
840488e
<fix>: Generate python union & type bug
zuzy Jun 5, 2020
2499b13
<feat>: Some error in erpcgen/test/readme.md
zuzy Aug 31, 2020
a09a733
<feat>: Some error in erpcgen/test/readme.md
zuzy Aug 31, 2020
3f8baa7
Merge pull request #117 from zuzy/erpcgen-test-readme-fix-update
MichalPrincNXP Sep 9, 2020
4b9aedf
Merge pull request #100 from zuzy/erpcgen-py-union-type
MichalPrincNXP Sep 9, 2020
f791e0b
Merge pull request #92 from EmbeddedPlanet/add-malloc-and-free-suppor…
MichalPrincNXP Sep 9, 2020
c9ad452
Fix Python template bugs on union discriminator and reference
RamseyTI Jun 25, 2020
9c8d4b9
Merge pull request #118 from RamseyTI/ramsey-fix
MichalPrincNXP Sep 14, 2020
5d65c54
add ustring for unsigned char and force cast to char*
pgu-swir Sep 17, 2020
1417cd9
more WIP
pgu-swir Sep 17, 2020
e5387d7
Fixed warnings and error with using MessageLoggers.
Hadatko Sep 17, 2020
f3a9564
Fix crlf
Hadatko Sep 17, 2020
1bc5a1f
finalize ustring
pgu-swir Sep 18, 2020
c88a971
Fixed stdbool include position
Hadatko Sep 18, 2020
96132ca
Merge pull request #127 from Hadatko/message_loggin_fix
MichalPrincNXP Sep 18, 2020
883426c
Update Copyright related to #78
Hadatko Sep 23, 2020
e6099dd
Update Copyright related to #84
Hadatko Sep 23, 2020
19bf57a
Update Copyright related to #127
Hadatko Sep 23, 2020
5050614
Added pre post cb functions for erpc calls.
Hadatko Sep 24, 2020
2414bba
Extend error msg for python server service handle function.
Hadatko Sep 25, 2020
32769ec
Merge pull request #129 from Hadatko/update_copyrights_acrios
MichalPrincNXP Sep 25, 2020
775a60a
Merge branch 'develop' into add_pre_post_erpc_action
Hadatko Sep 25, 2020
763d442
Merge pull request #132 from Hadatko/update_error_msg_python
MichalPrincNXP Sep 25, 2020
d3cc8fc
Update based on qcabrol review.
Hadatko Sep 25, 2020
ef118a1
Lost copyright during merge
Hadatko Sep 25, 2020
e575dec
Formatting extension for VSC.
Hadatko Sep 26, 2020
6f338f0
Changes necessary for publish to oficial marketplace.
Hadatko Sep 27, 2020
2c216f6
Merge pull request #134 from Hadatko/format_code_in_VSC
MichalPrincNXP Sep 29, 2020
ad30619
Fixed xTimerCreate time to tick conversion.
Hadatko Sep 29, 2020
9ce5d20
Merge pull request #131 from Hadatko/add_pre_post_erpc_action
MichalPrincNXP Oct 2, 2020
421f400
erpc_port.h: remove extra ;
jcdr Oct 3, 2020
b1c3e95
PythonGenerator.cpp: remove extra ;
jcdr Oct 3, 2020
6a2b1f7
gtest.cpp: fix extra ;
jcdr Oct 4, 2020
efc5893
erpc_transport.h: setCrc16() void unused parameter crcImpl
jcdr Oct 3, 2020
0adf564
erpc_serial.cpp: serial_setup(): void unused parameter speed on POSIX
jcdr Oct 3, 2020
b7e80d4
erpc_arbitrated_client_manager.h: void unused parameter transport
jcdr Oct 3, 2020
264cb53
erpc_port_stdlib.cpp: void unused parameter tag
jcdr Oct 3, 2020
dad9759
SearchPath.cpp: void unused parameter targetType
jcdr Oct 3, 2020
95b92a2
AstWalker.h: void unused parameters node
jcdr Oct 3, 2020
2422641
erpcgen_parser.y: void unused parameters resultAST
jcdr Oct 3, 2020
9e30f87
SymbolScanner.cpp: void unused parameters node
jcdr Oct 3, 2020
d4d2177
erpcsniffer.cpp: void unused parameter envp
jcdr Oct 3, 2020
99564cf
Generator.h: void unused parameter structMember
jcdr Oct 3, 2020
c0fd791
CGenerator.cpp: void unused parameters
jcdr Oct 3, 2020
44b1fa0
erpcgen.cpp: void unused parameter
jcdr Oct 3, 2020
1f9c65e
cpptempl.cpp: void unused parameters
jcdr Oct 3, 2020
917d5e2
PythonGenerator.cpp: void unused parameters
jcdr Oct 3, 2020
916bef6
SymbolScanner.cpp: fix comparison of integer expressions of different…
jcdr Oct 3, 2020
2583ae6
erpcgen_lexer.l: fix comparison of integer expressions of different s…
jcdr Oct 3, 2020
edbcb34
Sniffer.cpp: fix comparison of integer expressions of different signe…
jcdr Oct 3, 2020
c9b4e8a
Type.cpp: fix comparison of integer expressions of different signedness
jcdr Oct 3, 2020
4e74763
UniqueIdChecker.cpp: fix comparison of integer expressions of differe…
jcdr Oct 3, 2020
b73fdf4
CGenerator.cpp: fix comparison of integer expressions of different si…
jcdr Oct 3, 2020
a2107dc
PythonGenerator.cpp: comparison of integer expressions of different s…
jcdr Oct 4, 2020
bbc8666
Generator.cpp: fix comparison of integer expressions of different sig…
jcdr Oct 3, 2020
d911f09
erpc_port_stdlib.cpp: Add missing delete operators
jcdr Oct 3, 2020
c072339
erpc_threading_pthreads.cpp: Thread::sleep() Initialize struct timesp…
jcdr Oct 3, 2020
f2b06f7
erpc_tcp_transport.cpp: fix missing initializer for members of addrinfo
jcdr Oct 3, 2020
fcfb6bc
cpptempl.cpp: fix missing initializer for member ‘cpptempl::impl::Key…
jcdr Oct 3, 2020
84c4eb2
Don't use designated initializers to be gnu++11 compatible with paran…
jcdr Oct 3, 2020
a5ddeec
erpc_tcp_transport.cpp: fix ISO C99 requires rest arguments to be used
jcdr Oct 4, 2020
986b257
gtest.h gtest.cpp: fix '#' is not followed by a macro parameter
jcdr Oct 4, 2020
bc4eb89
cpptempl.cpp: fix catching polymorphic type ‘class cpptempl::Template…
jcdr Oct 3, 2020
7b6c341
Function.h: fix base ‘erpcgen::Symbol’ will be initialized after...
jcdr Oct 3, 2020
e2eb02b
ErpcLexer.h: fix ‘erpcgen::ErpcLexer::m_indents’ will be initialized …
jcdr Oct 3, 2020
5f8146d
Generator.cpp: fix initialization order
jcdr Oct 3, 2020
03544c6
Generator.cpp: fix initialization order
jcdr Oct 3, 2020
a9f74ac
SymbolScanner.cpp: fix declaration of ‘nameOfType’ shadows a previous…
jcdr Oct 3, 2020
954c14c
CGenerator.cpp: fix shadowed declarations
jcdr Oct 3, 2020
1da74c7
erpc_client_manager.h: try to fix declaration of ‘isOneway’ shadows a…
jcdr Oct 3, 2020
f640e6b
Fix various declarations shadows a member of 'this'
jcdr Oct 4, 2020
a59cadd
Sniffer.cpp: fix declaration of ‘countSpaces’ shadows a member of 'this'
jcdr Oct 4, 2020
b0f588b
gtest.h: fix declaration of ‘type’ shadows a member of 'this'
jcdr Oct 4, 2020
1a1b773
unit_test_serial_client.cpp: declaration of ‘i’ shadows a global decl…
jcdr Oct 4, 2020
97c00b2
unit_test_tcp_client.cpp test_annotations_client_impl.cpp: fix declar…
jcdr Oct 4, 2020
3193945
mk/flags.mk cpptemplate/Makefile: Add paranoid compiler flags to ensu…
jcdr Oct 3, 2020
fc9f166
matrix_multiply.py: Add --serial and --baud argument
jcdr Oct 3, 2020
4985900
Merge pull request #137 from jcdr/pyserial
MichalPrincNXP Oct 5, 2020
7539f87
Merge pull request #136 from jcdr/paranoid
MichalPrincNXP Oct 5, 2020
9da3ae2
infra/erpc_simple_server.cpp: fix declaration of ‘err’ shadows a prev…
jcdr Oct 5, 2020
6cbc39c
Merge pull request #125 from pgu-swir/ustring
MichalPrincNXP Oct 5, 2020
6129df6
Merge pull request #139 from jcdr/paranoid-2
MichalPrincNXP Oct 6, 2020
12815bf
deadlock fix proposals + TCP transport prototype + TCP_NODELAY
Apr 24, 2020
ddfd247
Merge branch 'develop' into basic-changes
pgu-swir Oct 7, 2020
0cf20ee
Merge pull request #121 from pgu-swir/basic-changes
MichalPrincNXP Oct 8, 2020
b91f2b9
AllowShortFunctionsOnASingleLine was twice.
Hadatko Oct 8, 2020
5e1c43c
Only advice for newer clang version.
Hadatko Oct 8, 2020
4056943
Create greetings.yml
Hadatko Oct 9, 2020
e33d430
Create clang-format.yml
Hadatko Oct 9, 2020
2b25930
erpc_framed_transport.cpp: return error if received message has zero …
jcdr Oct 9, 2020
3ee6898
Merge pull request #140 from Hadatko/fix_clang_formatter
MichalPrincNXP Oct 9, 2020
ed1c43d
Merge pull request #141 from jcdr/no-zero-length
MichalPrincNXP Oct 9, 2020
b0e640f
Update clang-format.yml
Hadatko Oct 9, 2020
365ff0b
Update clang-format.yml
Hadatko Oct 9, 2020
2526606
eRPC updates 10/2020
MichalPrincNXP Oct 13, 2020
99afd49
Fix minor typo in greetings.yml
MichalPrincNXP Dec 16, 2020
6a571ca
eRPC updates 01/2021
MichalPrincNXP Jan 5, 2021
ee2ec00
deletions for compatibility with mbed-rpc, update to 1.8.0
farrenv Mar 12, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 65 additions & 64 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,70 +1,71 @@
AlignTrailingComments : true
AllowAllParametersOfDeclarationOnNextLine : true
AllowShortBlocksOnASingleLine : false
AllowShortFunctionsOnASingleLine : "None"
AllowShortIfStatementsOnASingleLine : false
AllowShortLoopsOnASingleLine : false
AlwaysBreakBeforeMultilineStrings : true
BasedOnStyle : "Google"
#https://releases.llvm.org/5.0.2/tools/clang/docs/ClangFormatStyleOptions.html
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: "Inline"
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakBeforeMultilineStrings: true
BasedOnStyle: "Google"
#BinPackParameters : false
BreakBeforeBinaryOperators : false
BreakBeforeBraces : "Custom"
BreakBeforeTernaryOperators : false
ColumnLimit : 120
ContinuationIndentWidth : 4
DerivePointerAlignment : false
DisableFormat : false
IndentCaseLabels : true
IndentWrappedFunctionNames : false
IndentWidth : 4
Language : "Cpp"
MaxEmptyLinesToKeep : 1
PointerBindsToType : false
SpaceBeforeAssignmentOperators : true
SpaceBeforeParens : "ControlStatements"
SpacesBeforeTrailingComments : 1
SpacesInCStyleCastParentheses : false
SpacesInParentheses : false
Standard : "Cpp03"
TabWidth : 1
UseTab : "Never"
AccessModifierOffset : -4
AlignAfterOpenBracket : "Align"
AlignEscapedNewlines : "Left"
AlignOperands : true
AllowShortCaseLabelsOnASingleLine : false
AllowShortFunctionsOnASingleLine : "Inline"
AlwaysBreakAfterReturnType : "None"
AlwaysBreakTemplateDeclarations : true
BreakBeforeInheritanceComma : false
BreakConstructorInitializers : "BeforeComma"
CompactNamespaces : false
ConstructorInitializerAllOnOneLineOrOnePerLine : false
ConstructorInitializerIndentWidth : 0
Cpp11BracedListStyle : false
FixNamespaceComments : true
NamespaceIndentation : "None"
PointerAlignment : "Right"
SortIncludes : true
SortUsingDeclarations : true
SpacesInAngles : false
SpaceAfterCStyleCast : false
SpaceInEmptyParentheses : false
SpacesInSquareBrackets : false
BreakBeforeBinaryOperators: false
BreakBeforeBraces: "Custom"
BreakBeforeTernaryOperators: false
ColumnLimit: 120
ContinuationIndentWidth: 4
DerivePointerAlignment: false
DisableFormat: false
IndentCaseLabels: true
IndentWrappedFunctionNames: false
IndentWidth: 4
Language: "Cpp"
MaxEmptyLinesToKeep: 1
PointerBindsToType: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: "ControlStatements"
SpacesBeforeTrailingComments: 1
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
Standard: "Cpp03"
TabWidth: 1
UseTab: "Never"
AccessModifierOffset: -4
AlignAfterOpenBracket: "Align"
AlignEscapedNewlines: "Left"
AlignOperands: true
AllowShortCaseLabelsOnASingleLine: false
AlwaysBreakAfterReturnType: "None"
AlwaysBreakTemplateDeclarations: true
BreakBeforeInheritanceComma: false
BreakConstructorInitializers: "BeforeComma"
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 0
Cpp11BracedListStyle: false
FixNamespaceComments: true
NamespaceIndentation: "None"
PointerAlignment: "Right"
SortIncludes: true
SortUsingDeclarations: true
SpacesInAngles: false
SpaceAfterCStyleCast: false
SpaceInEmptyParentheses: false
SpacesInSquareBrackets: false
KeepEmptyLinesAtTheStartOfBlocks: true
BraceWrapping:
AfterClass: true
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: false
AfterEnum: true
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: true
AfterStruct: true
AfterUnion: true
BeforeCatch: true
BeforeElse: true
AfterStruct: true
AfterUnion: true
BeforeCatch: true
BeforeElse: true
#IncludeBlocks: "Preserve" # for future version of clang
IncludeCategories:
- Regex: '^<' # system includes
Priority: 10
- Regex: '^"erpc_' # erpc public includes
Priority: 1
- Regex: "^<" # system includes
Priority: 10
- Regex: '^"erpc_' # erpc public includes
Priority: 1
15 changes: 15 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: clang-format lint

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: DoozyX/clang-format-lint-action@v0.10
with:
source: '.'
exclude: 'test/common/gtest/gtest.h test/common/gtest/gtest.cpp erpcgen/src/cpptemplate/cpptempl.h erpcgen/src/cpptemplate/cpptempl.cpp erpcgen/src/cpptemplate/cpptempl_test.cpp'
clangFormatVersion: 10
13 changes: 13 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Greetings

on: [pull_request, issues]

jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Hi eRPC user. Thank you for your interest and welcome. We hope you will enjoy this framework well.'
pr-message: 'Hi eRPC user. Thank you for your PR. We are appreciating that and we will try to review it as soon as possible. We hope you are enjoying this framework so far.'
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ compiler:
os:
- linux
- osx
osx_image: xcode8.3 # OS X 10.12
osx_image: xcode10.3 # OS X 10.14
before_install:
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update -qq; fi
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get install python bison flex libboost-dev libboost-filesystem-dev libboost-system-dev python ; fi
- if [ $TRAVIS_OS_NAME == linux ]; then pyenv install 2.7.12 ; pyenv global 2.7.12; fi
- if [ $TRAVIS_OS_NAME == osx ]; then brew update; fi
- if [ $TRAVIS_OS_NAME == osx ]; then brew install python bison flex && brew upgrade boost || true; fi
- if [ $TRAVIS_OS_NAME == osx ]; then brew install python bison flex -v -f 2>&1 && brew upgrade boost || true; fi
- if [ $TRAVIS_OS_NAME == osx ]; then curl "https://bootstrap.pypa.io/get-pip.py" | sudo python; fi

install:
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Copyright (c) 2014-2016 Freescale Semiconductor, Inc.
Copyright 2016-2018 NXP
Copyright 2014-2016 Freescale Semiconductor, Inc.
Copyright 2016-2020 NXP
All rights reserved.

SPDX-License-Identifier: BSD-3-Clause
49 changes: 35 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ Client side usage:
void example_client(void) {
// Initialize client running over UART.
erpc_client_init(
erpc_transport_cmsis_uart_init(UART0_NonBlocking_Driver);
erpc_transport_cmsis_uart_init(Driver_USART0),
erpc_mbf_dynamic_init());

// Now we can call the remote function to turn on the green LED.
set_led(kGreen, true);
Expand All @@ -43,7 +44,8 @@ void set_led(LEDName whichLed, bool onOrOff) {
void example_server(void) {
// Initialize server running over UART.
erpc_server_init(
erpc_transport_uart_init(UART0_NonBlocking_Driver);
erpc_transport_cmsis_uart_init(Driver_USART0),
erpc_mbf_dynamic_init());

// Add the IO service.
erpc_add_service_to_server(create_IO_service());
Expand All @@ -61,20 +63,32 @@ Supported transports:
* NXP Kinetis SPI and DSPI
* POSIX and Windows serial port
* TCP/IP (mostly for testing)
* [NXP RPMsg-Lite](https://github.com/NXPmicro/rpmsg-lite)
* [NXP RPMsg-Lite / RPMsg TTY](https://github.com/NXPmicro/rpmsg-lite)
* SPIdev Linux
* USB CDC
* NXP Messaging Unit

eRPC is available with an unrestrictive BSD 3-clause license. See the LICENSE file for the full license text.
eRPC is available with an unrestrictive BSD 3-clause license. See the [LICENSE file](https://github.com/EmbeddedRPC/erpc/blob/develop/LICENSE) for the full license text.

## Releases

[eRPC releases](https://github.com/EmbeddedRPC/erpc/releases)

## Documentation

[Documentation](https://github.com/EmbeddedRPC/erpc/wiki) is in the `wiki` section. Commit sha in wiki repository: 7199a9c00fef4b952a6b05a8e3b0257f788e4eeb.
[Documentation](https://github.com/EmbeddedRPC/erpc/wiki) is in the `wiki` section.

[eRPC Infrastructure documentation](https://embeddedrpc.github.io/)

## Examples

[Example IDL](examples/README.md) is available in the `examples/` folder.

Plenty of eRPC multicore and multiprocessor examples can be also found in NXP MCUXpressoSDK packages. Visit [https://mcuxpresso.nxp.com](https://mcuxpresso.nxp.com) to configure, build and download these packages.<br>
To get the board list with multicore support (eRPC included) use filtering based on Middleware and search for 'multicore' string. Once the selected package with the multicore middleware is downloaded, see<br>
<MCUXpressoSDK_install_dir>/boards/<board_name>/multicore_examples for eRPC multicore examples (RPMsg_Lite or Messaging Unit transports used) or<br>
<MCUXpressoSDK_install_dir>/boards/<board_name>/multiprocessor_examples for eRPC multiprocessor examples (UART or SPI transports used).<br>
eRPC examples use 'erpc_' name prefix.

## Directories

Expand All @@ -88,12 +102,16 @@ eRPC is available with an unrestrictive BSD 3-clause license. See the LICENSE fi

`erpcgen` - Holds source code for erpcgen and makefiles or project files to build erpcgen on Windows, Linux, and OS X.

`erpcsniffer` - Holds source code for erpcsniffer application.

`examples` - Several example IDL files.

`mk` - Contains common makefiles for building eRPC components.

`test` - Client/server tests. These tests verify the entire communications path from client to server and back.

`utilities` - Holds utilities which bring additional benefit to eRPC apps developers.


## Building and installing

Expand All @@ -117,11 +135,11 @@ Steps are described in [`erpcgen/VisualStudio_v14/readme_erpcgen.txt`](erpcgen/V
Install these packages:
* bison: GNU yacc-compatible parser generator
* flex: A fast lexical analyzer generator
* libboost-dev, libboost-filesystem-dev, libboost-system-dev: Boost C++ libraries (Linux needs to use libboost version 1.58.0)
* libboost-dev, libboost-filesystem-dev, libboost-system-dev: Boost C++ libraries (Linux needs to use libboost version 1.65.0)
* make: the GNU version of the 'make' utility
* python: Python language interpreter (either 2.7 or 3.5+ work)
* gcc-core: GNU Compiler Collection (C, OpenMP)
* gcc-g++: GNU Compiler Collection (C++)
* gcc-7: GNU C compiler (recommended version)
* g++-7: GNU C++ compiler (recommended version)

Mandatory for case, when build for different architecture is needed
* gcc-multilib, g++-multilib
Expand All @@ -130,9 +148,9 @@ Mandatory for case, when build for different architecture is needed
#### Mac OS X

Install these packages with [homebrew](http://brew.sh/):
* bison: GNU yacc-compatible parser generator
* flex: A fast lexical analyzer generator
* boost: Boost C++ libraries
* bison: GNU yacc-compatible parser generator (version 3.7.3 is recommended)
* flex: A fast lexical analyzer generator (version 2.6.4 is recommended)
* boost: Boost C++ libraries (version 1.74 is recommended)

### Building

Expand All @@ -157,6 +175,8 @@ List of top level Makefile targets:
- `all`: build all of the above
- `install`: install liberpc.a, erpcgen, and include files

eRPC code is validated with respect to the C++ 11 standard.

### Installing for Python

To install the Python infrastructure for eRPC, first change to the `erpc_python/` directory. Then run the setup.py script like this:
Expand All @@ -165,10 +185,11 @@ To install the Python infrastructure for eRPC, first change to the `erpc_python/

After installation, the `erpc` package is available via normal import statements. See the [erpc_python folder readme](erpc_python/readme.md) for more.

## Code providing:
## Code providing

Repository on Github contains two main branches. __Master__ and __develop__. Code is developed on __develop__ branch. Release version is created via merging __develop__ branch into __master__ branch.

---
Copyright © 2014-2016 Freescale Semiconductor, Inc.
Copyright © 2016-2017 NXP
Copyright 2014-2016 Freescale Semiconductor, Inc.

Copyright 2016-2020 NXP
2 changes: 1 addition & 1 deletion doxygen/Doxyfile.erpc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "eRPC API Reference"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = "Rev. 1.7.2"
PROJECT_NUMBER = "Rev. 1.8.0"

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
2 changes: 1 addition & 1 deletion doxygen/Doxyfile.erpcgen
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "eRPC Generator (erpcgen)"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = "Rev. 1.7.2"
PROJECT_NUMBER = "Rev. 1.8.0"

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
4 changes: 2 additions & 2 deletions doxygen/html_footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<!--BEGIN GENERATE_TREEVIEW-->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul class="foot">
<li class="footer">&copy; 2016 NXP Semiconductors. All rights reserved.
<li class="footer">Copyright 2016-2020 NXP Semiconductors. All rights reserved.
</li>
</ul>
</div>
<!--END GENERATE_TREEVIEW-->
<!--BEGIN !GENERATE_TREEVIEW-->
<hr class="footer"/><address class="footer"><small>
&copy; 2016 NXP Semiconductors. All rights reserved.
Copyright 2016-2020 NXP Semiconductors. All rights reserved.
</small></address>
<!--END !GENERATE_TREEVIEW-->
</body>
Expand Down
9 changes: 8 additions & 1 deletion erpc_c/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#-------------------------------------------------------------------------------
# Copyright (C) 2016 Freescale Semiconductor, Inc.
# Copyright 2016-2017 NXP
# Copyright 2016-2020 NXP
# All rights reserved.
#
# THIS SOFTWARE IS PROVIDED BY FREESCALE "AS IS" AND ANY EXPRESS OR IMPLIED
Expand Down Expand Up @@ -60,11 +60,14 @@ SOURCES += $(ERPC_C_ROOT)/infra/erpc_arbitrated_client_manager.cpp \
$(ERPC_C_ROOT)/infra/erpc_server.cpp \
$(ERPC_C_ROOT)/infra/erpc_simple_server.cpp \
$(ERPC_C_ROOT)/infra/erpc_transport_arbitrator.cpp \
$(ERPC_C_ROOT)/infra/erpc_pre_post_action.cpp \
$(ERPC_C_ROOT)/port/erpc_port_stdlib.cpp \
$(ERPC_C_ROOT)/port/erpc_threading_pthreads.cpp \
$(ERPC_C_ROOT)/port/erpc_serial.cpp \
$(ERPC_C_ROOT)/setup/erpc_arbitrated_client_setup.cpp \
$(ERPC_C_ROOT)/setup/erpc_client_setup.cpp \
$(ERPC_C_ROOT)/setup/erpc_setup_mbf_dynamic.cpp \
$(ERPC_C_ROOT)/setup/erpc_setup_mbf_static.cpp \
$(ERPC_C_ROOT)/setup/erpc_server_setup.cpp \
$(ERPC_C_ROOT)/setup/erpc_setup_serial.cpp \
$(ERPC_C_ROOT)/transports/erpc_inter_thread_buffer_transport.cpp \
Expand All @@ -87,12 +90,16 @@ HEADERS += $(ERPC_C_ROOT)/config/erpc_config.h \
$(ERPC_C_ROOT)/infra/erpc_static_queue.h \
$(ERPC_C_ROOT)/infra/erpc_transport_arbitrator.h \
$(ERPC_C_ROOT)/infra/erpc_transport.h \
$(ERPC_C_ROOT)/infra/erpc_client_server_common.h \
$(ERPC_C_ROOT)/infra/erpc_pre_post_action.h \
$(ERPC_C_ROOT)/port/erpc_setup_extensions.h \
$(ERPC_C_ROOT)/port/erpc_config_internal.h \
$(ERPC_C_ROOT)/port/erpc_port.h \
$(ERPC_C_ROOT)/port/erpc_threading.h \
$(ERPC_C_ROOT)/port/erpc_serial.h \
$(ERPC_C_ROOT)/setup/erpc_arbitrated_client_setup.h \
$(ERPC_C_ROOT)/setup/erpc_client_setup.h \
$(ERPC_C_ROOT)/setup/erpc_mbf_setup.h \
$(ERPC_C_ROOT)/setup/erpc_server_setup.h \
$(ERPC_C_ROOT)/setup/erpc_transport_setup.h \
$(ERPC_C_ROOT)/transports/erpc_inter_thread_buffer_transport.h \
Expand Down
Loading