aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-02-13Add gitlab issue/merge request templatesHEADricefish_17.90.0ricefish/17.90.017.90.0masterJan-Simon Moeller2-0/+6
Add template files for gitlab Bug-AGL: SPEC-4474 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I0d83e4b19d275fcb57cbf77ff861219990aa1d40
2020-09-30Update test JSON filesneedlefish_13.93.0needlefish/13.93.0marlin_12.93.0marlin_12.92.0marlin_12.91.0marlin_12.90.1marlin_12.90.0marlin/12.93.0marlin/12.92.0marlin/12.91.0marlin/12.90.1marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.0koi_10.93.0koi_10.92.0koi_10.91.0koi/10.93.0koi/10.92.0koi/10.91.013.93.012.93.012.92.012.91.012.90.112.90.011.92.011.91.010.93.010.92.010.91.0Scott Murray5-197/+489
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
2020-09-23Update to match current binding expectationssandbox/walzert/low-level-can-generatorScott Murray5-160/+97
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
2019-08-29Add management of version and new decoder signature.jellyfish_9.99.4jellyfish_9.99.3jellyfish_9.99.2jellyfish_9.99.1jellyfish/9.99.4jellyfish/9.99.3jellyfish/9.99.2jellyfish/9.99.1icefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.19.99.49.99.39.99.29.99.18.99.58.99.48.99.38.99.28.99.1Arthur Guyader6-21/+186
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>
2019-08-29Change enum type to flag and add iso tp protocolArthur Guyader3-10/+59
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>
2019-08-29Add generator for boolean fieldsArthur Guyader1-2/+2
Bug-AGL : SPEC-2779 Change-Id: Idaf74af197866152d9094941b44e7b752d0ccf80 Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
2019-08-07Add some modifications (space, new line, coma, float).Arthur Guyader1-4/+4
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
2019-07-30Add some options for J1939 supportArthur Guyader5-61/+197
This commit add some options for the support of the J1939. Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh> Change-Id: I9baee6a7319c8e8effa988d940a67e45ab64496d
2019-07-01main.cc: Fix the default decoder using "states"halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.38.0.38.0.28.0.18.0.07.99.3Romain Forlot1-1/+1
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>
2019-02-06Add gitreviewhalibut_7.99.2halibut_7.99.1halibut_7.90.0halibut/7.99.2halibut/7.99.1halibut/7.90.07.99.27.99.17.90.0Jan-Simon Möller1-0/+5
Change-Id: I8abbf804d0b136c02f56025e1aa12c421c9c094c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-19Get rid of usage of CMake moduleguppy_6.99.4guppy_6.99.3guppy/6.99.4guppy/6.99.36.99.46.99.3Romain Forlot3-116/+56
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>
2018-12-11Adds CAN FD flag on message object.Romain Forlot3-0/+16
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>
2018-11-21Ability to use custom encoder for CAN signalsguppy_6.99.2guppy_6.99.1guppy/6.99.2guppy/6.99.16.99.26.99.1Romain Forlot1-4/+5
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>
2018-10-31Migrate app-templates to CMake moduleRomain Forlot3-11/+12
Bug-AGL SPEC-1682 Change-Id: I040a1bbd51e4920ffd24f9b0db6611a1513d89e7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-04-17Add boolean to set receive state of diagnostic message.guppy_6.90.0guppy/6.90.0flounder_6.0.5flounder_6.0.4flounder_6.0.3flounder_6.0.2flounder_6.0.1flounder_6.0.0flounder_5.99.7flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder_5.99.3flounder_5.99.2flounder_5.99.1flounder/6.0.5flounder/6.0.4flounder/6.0.3flounder/6.0.2flounder/6.0.1flounder/6.0.0flounder/5.99.7flounder/5.99.6flounder/5.99.5flounder/5.99.4flounder/5.99.3flounder/5.99.2flounder/5.99.16.90.06.0.56.0.46.0.36.0.26.0.16.0.05.99.75.99.65.99.55.99.45.99.35.99.25.99.1flounderJonathan Aillet1-1/+2
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>
2018-01-16Fix: git repo url in documentation.Romain Forlot1-1/+1
Change-Id: I5d428d553a9ec38e391ff49799fca08aab468dc3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-11Change default installation directoryeel_5.1.0eel_5.0.3eel_5.0.2eel_5.0.1eel_5.0.0eel_4.99.5eel_4.99.4eel_4.99.3eel_4.99.2eel_4.99.1eel/5.1.0eel/5.0.3eel/5.0.2eel/5.0.1eel/5.0.0eel/4.99.5eel/4.99.4eel/4.99.3eel/4.99.2eel/4.99.15.1.05.0.35.0.25.0.15.0.04.99.54.99.44.99.34.99.24.99.1eelRomain Forlot2-2/+2
Change-Id: I78d0f0cfa27a17a5d951610b30b2d1bc8f70212e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-10Fix wrong build depsRomain Forlot1-4/+1
Change-Id: I86b38949e15fffe5af237ff23f78238f41a3027b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-10Change default install directory of the executableRomain Forlot1-1/+1
Change-Id: I07dccad3e66fde09651221371f0078d397af153b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-10Fix Config & compile errors to get built in YoctoRomain Forlot2-7/+2
Change-Id: Idea29459f2de40fbed7f5df11088ec11e5e6fd11 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-13Updating READMERomain Forlot1-3/+3
Change-Id: I6257a79b3f663c38a23d4c5400c53b4f70654999 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-13Import CAN generator from low-level-can-serviceRomain Forlot33-0/+15564
Also use the app-templates CMake helpers. Change-Id: I034e5efa9baa0f686a081f60df5c3588e4b3bd51 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-12Initial empty repositoryJan-Simon Moeller0-0/+0