summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Jan-Simon Moeller [Fri, 10 Jan 2025 17:27:30 +0000 (18:27 +0100)]
Add gitreview file for Super Salmon branch
Update the .gitreview file.
Bug-AGL: SPEC-5331
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ie98593df403530b4d6fd6a321f2309fecee4701d
Jan-Simon Moeller [Tue, 13 Feb 2024 22:11:08 +0000 (23:11 +0100)]
Add gitlab issue/merge request templates
Add template files for gitlab
Bug-AGL: SPEC-4474
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I0d83e4b19d275fcb57cbf77ff861219990aa1d40
Scott Murray [Wed, 30 Sep 2020 17:58:41 +0000 (13:58 -0400)]
Update test JSON files
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
Scott Murray [Wed, 23 Sep 2020 20:07:53 +0000 (16:07 -0400)]
Update to match current binding expectations
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
Arthur Guyader [Thu, 29 Aug 2019 13:10:39 +0000 (15:10 +0200)]
Add management of version and new decoder signature.
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>
Arthur Guyader [Thu, 29 Aug 2019 13:10:15 +0000 (15:10 +0200)]
Change enum type to flag and add iso tp protocol
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>
Arthur Guyader [Thu, 29 Aug 2019 13:06:52 +0000 (15:06 +0200)]
Add generator for boolean fields
Bug-AGL : SPEC-2779
Change-Id: Idaf74af197866152d9094941b44e7b752d0ccf80
Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
Arthur Guyader [Wed, 31 Jul 2019 12:46:38 +0000 (14:46 +0200)]
Add some modifications (space, new line, coma, float).
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
Arthur Guyader [Tue, 30 Jul 2019 09:06:55 +0000 (11:06 +0200)]
Add some options for J1939 support
This commit add some options for the support of the J1939.
Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
Change-Id: I9baee6a7319c8e8effa988d940a67e45ab64496d
Romain Forlot [Mon, 1 Jul 2019 16:20:04 +0000 (18:20 +0200)]
main.cc: Fix the default decoder using "states"
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>
Jan-Simon Möller [Wed, 6 Feb 2019 15:53:54 +0000 (16:53 +0100)]
Add gitreview
Change-Id: I8abbf804d0b136c02f56025e1aa12c421c9c094c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Romain Forlot [Wed, 19 Dec 2018 15:08:25 +0000 (16:08 +0100)]
Get rid of usage of CMake module
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>
Romain Forlot [Wed, 28 Nov 2018 12:49:08 +0000 (13:49 +0100)]
Adds CAN FD flag on message object.
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>
Romain Forlot [Tue, 20 Nov 2018 17:04:51 +0000 (18:04 +0100)]
Ability to use custom encoder for CAN signals
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>
Romain Forlot [Tue, 23 Oct 2018 14:29:57 +0000 (16:29 +0200)]
Migrate app-templates to CMake module
Bug-AGL SPEC-1682
Change-Id: I040a1bbd51e4920ffd24f9b0db6611a1513d89e7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Jonathan Aillet [Tue, 17 Apr 2018 07:48:28 +0000 (09:48 +0200)]
Add boolean to set receive state of diagnostic message.
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>
Romain Forlot [Tue, 16 Jan 2018 08:21:20 +0000 (09:21 +0100)]
Fix: git repo url in documentation.
Change-Id: I5d428d553a9ec38e391ff49799fca08aab468dc3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Tue, 11 Jul 2017 10:06:50 +0000 (12:06 +0200)]
Change default installation directory
Change-Id: I78d0f0cfa27a17a5d951610b30b2d1bc8f70212e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Mon, 10 Jul 2017 21:27:45 +0000 (23:27 +0200)]
Fix wrong build deps
Change-Id: I86b38949e15fffe5af237ff23f78238f41a3027b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Mon, 10 Jul 2017 14:33:41 +0000 (14:33 +0000)]
Change default install directory of the executable
Change-Id: I07dccad3e66fde09651221371f0078d397af153b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Mon, 10 Jul 2017 13:28:59 +0000 (13:28 +0000)]
Fix Config & compile errors to get built in Yocto
Change-Id: Idea29459f2de40fbed7f5df11088ec11e5e6fd11
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Tue, 13 Jun 2017 15:27:13 +0000 (17:27 +0200)]
Updating README
Change-Id: I6257a79b3f663c38a23d4c5400c53b4f70654999
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Tue, 13 Jun 2017 15:20:05 +0000 (17:20 +0200)]
Import CAN generator from low-level-can-service
Also use the app-templates CMake helpers.
Change-Id: I034e5efa9baa0f686a081f60df5c3588e4b3bd51
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Jan-Simon Moeller [Mon, 12 Jun 2017 08:54:17 +0000 (08:54 +0000)]
Initial empty repository