summaryrefslogtreecommitdiffstats
path: root/conf.d
AgeCommit message (Collapse)AuthorFilesLines
2020-08-19Rework J1939 and ISO TP feature enablingjellyfish_9.99.4jellyfish_9.99.3jellyfish/9.99.4jellyfish/9.99.39.99.49.99.3Scott Murray1-9/+29
Rework the J1939 and ISO TP feature enabling logic in config.cmake to: - define WITH_FEATURE_J1939 and WITH_FEATURE_ISOTP to default to off, thus requiring explicit enabling. This is safer than making assumptions based solely on the presence of the headers at build time. - honor WITH_FEATURE_* definitions given on the cmake command-line; the checks for header presence only over-ride an "ON" value if the required header is not present. Bug-AGL: SPEC-3538 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ie2b84ac50bbed0bbb775cae49f7f4fbe14f2f8ae
2020-02-28config: Fix build failure missing header fileRomain Forlot1-2/+2
This commit add a sysroot variable in front of the path to header file which the presence is tested. Then we always point to the correct kernel headers path depending on the build environment Bug-AGL: SPEC-3204 Change-Id: Ifb59a897d36c74e6f84897d0bf3db3eb75609702 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2020-01-09message: move bit position flag and actionRomain Forlot1-0/+2
Separate some define to be in a dedicated header file that will be installed on the system. Then the low-can-generator could use it instead of having to copy those defines in the generator code. Change-Id: I1716c8b20f0811ca4ac1e8f13609f05ad7d24d1f Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2020-01-09Cleanup examples, tests, configuration and pluginsRomain Forlot2-33/+5
This commit updates all files external to the code. Change-Id: I910bc300c53b7669573bba414db7d7ad74313697 Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2020-01-09config: Fix wrong controller configuration file nameRomain Forlot2-0/+53
Bug-AGL: SPEC-2988 Change-Id: I6491c1bb4b64d7f005f220e4d2358ce787bf84af Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2020-01-09cmake config: WIDGET ENTRY POINT FIXClément Bénier1-1/+1
renamed afb-low-can-binding.so Bug-AGL: SPEC-2988 Change-Id: If72c1fc75891b01c3baaa9c8d776e3a2e5ea128c Signed-off-by: Clément Bénier <clement.benier@iot.bzh> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2020-01-09cmake: fix lib not populated and RPATH usageRomain Forlot1-2/+0
RPATH as to be used as target property. Bug-AGL: SPEC-2988 Change-Id: Ifaa66ceafbe7ed5f7de553b14da2dd8c5b1e8f9d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2020-01-09can-bus: Use configuration from JSON fileRomain Forlot1-0/+4
Use configuration from JSON file instead of the old INI file. Now all configuration files lies within the binding tree. Bug-AGL: SPEC-2988 Change-Id: Id986d19751db958ad5cf3b7f2b2c5443d4ceb062 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2020-01-09plugins: Use agl-vcar plugin by defaultRomain Forlot1-13/+3
Bug-AGL: SPEC-2988 Change-Id: I8935210e4cc2ec290a809bc1bfece4c36d367cda Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2020-01-09cmake: cleaning and set RPATH for bindingRomain Forlot1-0/+2
Cleaning and set RPATH to find the low-can library Change-Id: I6e68a61bbeca385433028a716b9ac6d5e7f28769 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2020-01-09controller: Prepare project ot use the ControllerArthur Guyader9-1/+119
Initialize an empty message_set to fill later when loading the Plugins Add the required method to be able to add a message_set Bug-AGL: SPEC-2988 Change-Id: I1dc784648f69832de8681184adaccbf5300f831d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2020-01-08cmake: Remove build warningsRomain Forlot1-1/+0
Remove unused flag with C++. Bug-AGL: SPEC-2988 Change-Id: I85376914f64b9dfe9015a6439185ad6a53cdb117 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-09-10refactor(config.xml.in):Replace required api with required bindingnextLi Xiaoming1-1/+1
Appfw docs: "required-api local": OBSOLETE SINCE FF (AGL6), PROVIDED FOR COMPATIBILITY.Use the feature urn:AGL:widget:required-binding instead. Bug-AGL: SPEC-2781 Change-Id: I9627f1c59d89f9687c09a41a3bedf1c56bb90f59 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-08-30Add feature ISO TP (multi frames and peer to peer)Arthur Guyader1-0/+17
This commit adds the ISO TP feature. The ISO TP protocol allows to communicate between two ECU. The protocol allows multi packets management. Bug-AGL : SPEC-2779 Change-Id: Ic222615b547f28e926930e6c1dea2c0265055afd Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
2019-08-12Integrate the J1939 features : address claiming and write.Arthur Guyader1-0/+3
This commit allows to write J1939 messages and add the management of the address claiming. Bug-AGL: SPEC-2386 Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh> Change-Id: I1bb95a7ba6f6ebe463319c3972d9d46897181d51
2019-06-26Add CMake option to compile with J1939Romain Forlot1-0/+15
Add option USE_FEATURE_J1939 to compile j1939 in file config.cmake This will be set up by default depending on the presence on the building host of the J1939 CAN module headers. Bug-AGL: SPEC-2386 Change-Id: I54d4594ff01d4e509bfa0862f3cb486562024aed Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-06-14Require to run at platform scopeJosé Bollo1-0/+1
Add the required permission urn:AGL:permission::partner:scope-platform to run at platform scope. Bug-AGL: SPEC-545 Bug-AGL: SPEC-2006 Change-Id: I8878ecad50bcf2c0f8fd8419e43f1009a22a1d85 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-04-30Removing submoduleRomain Forlot1-0/+1
Migration wasn't complete, submodule deinit didn't achieve to erase the submodule or something wasn't pushed, anyway we have to manually remove the submodule to get rid of it. And this commit adds the afb-helpers library as a link dependency Bug-AGL: SPEC-2139 Change-Id: Iedbdb2d75fc75de553254b266c319bd1538d95c3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-02-27autobuild: fix warnings due to cp command exit errorRaquel Medina2-134/+0
- bring latest version of autobuild script in - move conf.d/autobuild to root folder - update autobuild script to fix warnings triggered by cp operation error. Change-Id: I81b8000f6b11ac2571a8dbb329d45ec417092c99 Bug-AGL: SPEC-2164 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2018-10-31Migrate app-templates to CMake moduleRomain Forlot2-4/+7
Bug-AGL SPEC-1682 Change-Id: I9f8e4f8bb2c7a020e41215022d2528ea9c26afe1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Migration to binding v3Romain Forlot2-4/+4
Change-Id: I0bcccb15200064bd7d83edbf06c1e7202069189a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Updated app-templates submoduleRomain Forlot1-0/+0
Submodule conf.d/app-templates f0b24b0..0f25ab2: > Adding warning message to migrate on CMake module > common.cmake: fixed erroneous search path for os-release > Fix: missing gcov symbol in compiled binaries > app-templates doc: Changed doc to fit new format. > Update Docs > Fix: typo Change-Id: Ie81d583faf3b703d773dadc82f2fe88453951c2d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-12Change the project nameRomain Forlot1-1/+1
Change the project name to be consistent with other AGL services project. Change-Id: I2dbd53f59673217c8796bc23c208ed55c1b1716f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-09Use feature 'required-binding'Jose Bollo1-1/+1
The feature "urn:AGL:widget:required-binding" is now preferred to the feature "urn:AGL:widget:required-api" for requiring a local binding. Bug-AGL: SPEC-1800 Change-Id: I67508e271b184de362597eeaf20d86bdb17fbd9a Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-08-23Cleaning, set up binding version in config.cmakeflounder_5.99.6flounder_5.99.5flounder_5.99.4flounder/5.99.6flounder/5.99.5flounder/5.99.45.99.65.99.55.99.4Romain Forlot1-0/+2
Change-Id: I2e8d89b09982c9f3770a5a3e10d281e0ad87651c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-08-20Use TEST app-templates labelsRomain Forlot1-0/+0
Change-Id: I03b12b6edd04eae51efba509e6d92be3a91702de Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-08-20Specify the API name to be testedRomain Forlot1-0/+1
Since the API is hardly guessable we need a variable to be able to build a test widget using CMake template function that will configure the config.xml file automatically Change-Id: Ibbb50c8a84356bbe39427453ccf1ebd0785286e5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-25Align config.cmake file with app-template updateflounder_5.99.2flounder/5.99.25.99.2Romain Forlot2-10/+5
Submodule conf.d/app-templates 92646f6..f94e45e: > Align sample on actual default compile options > Add support to binding version 3. > Warning if not using wgtpkg-pack to make a widget > Rework CMAKE_INSTALL_PREFIX and INSTALL_PREFIX var > Be able to overwrite BUILD_TYPE using CLI > Use CACHE variable for other common CMAKE variable > Fix:: wrong wgt using RELEASE BUILD TYPE > Fix: SYSROOT location detection... Wrong test. > Change the default debug compilation options. > Clearer coverage compilation options configuration > Don't overwrite the autobuild script if it exists > Disable the in-tree build method. > Detect Yocto as OS distribution > Fix: wrong compile options added Change-Id: I9d9f607108160e818e8d6345e9c45c02736d7355 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-11can-low-level: add missing hidden attribute to config.xml.inMatt Ranostay1-0/+1
Change-Id: I270b26f79548a784840a7466bd77a6df46741530 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-09Add testssandbox/excale/wipRomain Forlot4-5/+5
Create first tests to be used with afb-test binding The test binding is now found using pkg-config command. Change-Id: Ib1cd08236b6b8fab93ccb67ac613a9c83908d12e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-06Make Built type overwritten by cli possible.Romain Forlot1-1/+1
Settings a CMAKE CACHE variable make the first definition to be not overwritten by a next assignement. Then a cli variable is then possible more without force. Change-Id: Iaad2ffa9d51cd2c77c51e94533979d3ee3f9dd32 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-03-23Fix name to fit rename of git repository.Romain Forlot1-2/+3
Bug-AGL: SPEC-1276 Change-Id: I279620c1be00db03f06f6dd882b3b579c80480c4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-01-18Run by default with system low-can serviceRomain Forlot1-1/+1
Change-Id: I0f72898d764e2c3e50998e62cfa2a16ead02b74b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-01-02Make low-can use afb-genskel by defaultRomain Forlot2-1/+1
Cleaning header file inclusion Change-Id: Ic0dd9637ecd491692bd4b8b39e9602e85498c0a9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-05Fix wrong config.xml file used to build widgetRomain Forlot1-1/+1
Bug-AGL: SPEC-966 Change-Id: I39d226c6f6268ec880739e6b9230eb42ce475971 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-29Deprecate cmake variables not usefulRomain Forlot2-7/+0
Mechanism to build 3rdparty external libs isn't unique and should not be handled by app-templates Change-Id: Ib8a030184820da6577fa37f74331aaf7d6155916 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-17Fixed error after hard c/c ...Romain Forlot1-29/+27
Change-Id: I9dda0f1029735cab178f911d94a28b30a5c26123 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-17CleaningRomain Forlot1-2/+2
Change-Id: I61d47837feab0ead59be1b1c4c5e163c4a604df9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-17Handle space in project pathRomain Forlot1-33/+65
Change-Id: I9c39a4fec5469216df31eb14f535cfda3907cdc1 Bug-AGL: SPEC-1117 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-14Fix: wgt config file usage to build widgetRomain Forlot1-1/+1
Change-Id: Ia160a42163d47f2b92f246cf1159da9fa2110527 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-08Update app-templates and autobuild scriptRomain Forlot3-4/+12
Change-Id: I9ab84291aa785b87091cec4f775fb7e4cd31809c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-01Install step created by app-templates submoduleRomain Forlot4-7/+21
Change-Id: Iaaf81d6700b09c5a40446df41435a02e198ee3e0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-01New app-templates changes about compil flags.Romain Forlot2-5/+12
Now, all compilation options can be removed or rearranged. Change-Id: Id25b8154a42d5a7fcce7e031f5b87404d7585d9d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-01packaging: add hidden attribute to required permissionsMatt Ranostay1-0/+1
Add urn:AGL:permission::public:hidden to the required permissions to hide blank icon from HomeScreen Bug-AGL: SPEC-796 Change-Id: I3c844a5c657d267678fe6ac78caaf99170c0cc53 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-07-27Update submodule for app-templatesJan-Simon Möller1-0/+0
This brings-in c10409. Change-Id: I6ea8dd2f3e63beaebe4811584138d183cd767ff2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-27update app-templatesRonan Le Martret1-0/+0
Change-Id: I504bcd3f5c928db25757e0b932bbd84d448081a6 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-07-25Make Kernel check not mandatoryRomain Forlot2-4/+12
Use 2 different checks, one specify a mandatory kernel version and the other will output a warning and position a preprocessing variable that can be used in the code to exclude portions of code that use kernel features not available under a certain version. Bug-AGL: SPEC-772 Change-Id: I04523abe96749aeeb185e90eee154fd70a4cbf19 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-21udpate app-templatesRomain Forlot1-0/+0
Yocto fixes Cleaning left files Autobuild scripts See app-templates git log :D Change-Id: I14389a03dae5f06bf7d757031180971a09130465 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-21Examples reorganizationRomain Forlot1-0/+0
Separated by protocols and created signals from reversed engineered signals. Meld all used signals into an "agl-vcar" folder to be used as default. Change-Id: I27f7bc227a6fcea3db6672819e6a4d7bbf09863b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-21Fix: compile error initializing afb_auth struct.Romain Forlot1-2/+0
std=c++11 isn't needed. Added new class to the build and comment an other that isn't used. Change-Id: Ic32dead5e1ab55e0405f5e70224e4dad2c066116 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>