Age | Commit message (Collapse) | Author | Files | Lines |
|
Add template files for gitlab
Bug-AGL: SPEC-4474
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I0d83e4b19d275fcb57cbf77ff861219990aa1d40
|
|
Thomas Walzer pointed out that the JSON files in the tests
subdirectory no longer worked with the generator; the now required
version field has been added to them and the sample generated output
updated.
Bug-AGL: SPEC-3551
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I667a0b08b41e488e7bca8582902fa5be08da5acb
|
|
Changes:
- Reworked header, footer, message structure definition, etc. to
match the contents of the current generated files in the binding.
- To enable the above, added some code to derive the API name for
the app controller CAPI macro from the name given for the message
set in the JSON. The name is lower-cased and spaces converted to
dashes, this matches all the examples in the generated files in
the binding.
- Added logic to default message length to 8 if not set in JSON,
this is required to match explicit checks and signal JSON changes
in the binding.
- Replaced is_bigendian and is_signed fields with new sign and
bit_sign_position fields in JSON parsing and generated signal
output. The sign field value enum has been copied from the binding
to provide a reference for the values.
- Update per-signal flags generation, to enable this updated flag
#defines from binding's current can-message.hpp. Added a comment
to document which flags are known to be used.
- Removed "package" from "all" target in Makefile, as it is attached
to widget packaging rules that are not applicable for the
generator, which is built for host or toolchain usage.
- Removed unused src/main.hpp header to avoid confusion.
Bug-AGL: SPEC-3551
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I9ef3df0ebcfbddc23c789b50e1575fc42031970d
|
|
This commit allows to generate a file according to the version.
And adds the wrapper function for new decoder between v1 and v2.
Bug-AGL : SPEC-2780
Change-Id: I169d5a8213d6a14e5d77b600e14b36f0878b3efe
Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
|
|
This commits changes all enum types to flag.
And adds management of iso tp protocol.
Bug-AGL : SPEC-2779
Change-Id: I84cb315a99b1b1913fd1bdb24ef388fa391dc742
Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
|
|
Bug-AGL : SPEC-2779
Change-Id: Idaf74af197866152d9094941b44e7b752d0ccf80
Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
|
|
This commit adds some modifications for code readability
and to remove compilation warnings in low can.
Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
Change-Id: Ia85f94125c1e9ff41cda60f027ab7213c8f378dc
|
|
This commit add some options for the support of the J1939.
Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
Change-Id: I9baee6a7319c8e8effa988d940a67e45ab64496d
|
|
This fix the decoder to use when a signal has states.
Bug-AGL: SPEC-2582
Change-Id: I9d0ddf23cc9ab4ca6f447b62a22482f2b772a027
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I8abbf804d0b136c02f56025e1aa12c421c9c094c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
The CMake apps module isn't required here, this isn't a binding
or nothing to do with the Application Framework. Usage of the CMake
module impl property and commands that we don't want to be handled by
it like a default install directory.
Change-Id: Iba68b9e6802320069fda2f5a563536b39900dd3c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Adds CAN FD flag on message object when generating CPP file for the
low-can service. So with this commit you are now able to use a new flags
in your JSON CAN message definitions. This will imply that messages
received from a certain CAN ID will be handled as CAN FD.
Bug-AGL: SPEC-1980
Change-Id: Ia5fb573711742591c068928aee914ba708c802df
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Adds the encoder header file that hold the default encoding functions
Bug-AGL: SPEC-1965
Change-Id: I13fe90b515cde04894ba45c9cce72477b56d924b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Bug-AGL SPEC-1682
Change-Id: I040a1bbd51e4920ffd24f9b0db6611a1513d89e7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Add boolean to set receive state at initialisation of a
diagnostic message object.
Bug-AGL: SPEC-1347
Change-Id: I5b9a1367f08441387664cd6d9ff53a1c23d0b4f7
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Change-Id: I5d428d553a9ec38e391ff49799fca08aab468dc3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I78d0f0cfa27a17a5d951610b30b2d1bc8f70212e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I86b38949e15fffe5af237ff23f78238f41a3027b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I07dccad3e66fde09651221371f0078d397af153b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Idea29459f2de40fbed7f5df11088ec11e5e6fd11
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I6257a79b3f663c38a23d4c5400c53b4f70654999
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Also use the app-templates CMake helpers.
Change-Id: I034e5efa9baa0f686a081f60df5c3588e4b3bd51
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
|