Skip to content

Commit

Permalink
eRPC updates 12/2017 2
Browse files Browse the repository at this point in the history
-- Improved code size of generated code.
-- Generating crc value is optional.
-- Fixed CMSIS Uart driver. Removed dependency on KSDK.
-- List names are based on their types. Names are more deterministic.
-- Service objects are as a default created as global static objects.
-- Added missing doxygen comments.
-- Forbid users use reserved words.
-- Removed outByref for function parameters.
-- Added support for 64bit numbers.
-- Added support of program language specific annotations.
-- Optimized code style of callback functions.
-- Use newer version of clang-format application (5.0).
-- Updated and fixed clang-format config file.
-- Updated Copyrights.
-- Added support of Zephyr RTOS.
  • Loading branch information
DusanCervenkaNXP committed Dec 19, 2017
1 parent 9258f58 commit ffee61e
Show file tree
Hide file tree
Showing 291 changed files with 6,427 additions and 4,115 deletions.
20 changes: 17 additions & 3 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ AllowShortIfStatementsOnASingleLine : false
AllowShortLoopsOnASingleLine : false
AlwaysBreakBeforeMultilineStrings : true
BasedOnStyle : "Google"
BinPackParameters : false
#BinPackParameters : false
BreakBeforeBinaryOperators : false
BreakBeforeBraces : "Custom"
BreakBeforeTernaryOperators : false
ColumnLimit : 0
ColumnLimit : 120
ContinuationIndentWidth : 4
DerivePointerAlignment : false
DisableFormat : false
Expand All @@ -29,14 +29,28 @@ Standard : "Cpp03"
TabWidth : 1
UseTab : "Never"
AccessModifierOffset : -4
AlignAfterOpenBracket : "Align"
AlignEscapedNewlines : "Left"
AlignOperands : true
AllowShortCaseLabelsOnASingleLine : false
AllowShortFunctionsOnASingleLine : "Inline"
AlwaysBreakAfterReturnType : "None"
AlwaysBreakTemplateDeclarations : true
BreakConstructorInitializersBeforeComma : 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
Expand Down
5 changes: 4 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
The Clear BSD License
Copyright (c) 2014-2016 Freescale Semiconductor, Inc.
Copyright 2016-2017 NXP
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
are permitted (subject to the limitations in the disclaimer below) provided
that the following conditions are met:

o Redistributions of source code must retain the above copyright notice, this list
of conditions and the following disclaimer.
Expand All @@ -16,6 +18,7 @@ o 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.

NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE.
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
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ eRPC is available with an unrestrictive BSD 3-clause license. See the LICENSE fi

## Documentation

[Documentation](https://github.com/EmbeddedRPC/erpc/wiki) is in the `wiki` section. Commit sha in wiki repository: 03d53dce9244bfddfc424c886a3f3f586053b298.
[Documentation](https://github.com/EmbeddedRPC/erpc/wiki) is in the `wiki` section. Commit sha in wiki repository: 5c1cd41e34622ad5612a6ca26f6a85c10a615c30.

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

Expand Down Expand Up @@ -115,19 +115,22 @@ Steps are described in [`erpcgen/VisualStudio_v12/readme_erpcgen.txt`](erpcgen/V
#### Linux and Cygwin

Install these packages:
* bison: GNU yacc-complatible parser generator
* 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)
* 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-multilib, g++-multilib (mandatory for case, when build for different architecture is needed)

Mandatory for case, when build for different architecture is needed
* gcc-multilib, g++-multilib
* boost libraries: for target architecture like libboost-filesystem-dev:i386 libboost-system-dev:i386

#### Mac OS X

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

Expand Down
Loading

0 comments on commit ffee61e

Please sign in to comment.