summaryrefslogtreecommitdiffstats
path: root/conf.d/cmake/config.cmake
AgeCommit message (Collapse)AuthorFilesLines
2020-01-09controller: Prepare project ot use the ControllerArthur Guyader1-1/+9
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-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-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>
2018-10-31Migrate app-templates to CMake moduleRomain Forlot1-4/+7
Bug-AGL SPEC-1682 Change-Id: I9f8e4f8bb2c7a020e41215022d2528ea9c26afe1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-15Migration to binding v3Romain Forlot1-1/+1
Change-Id: I0bcccb15200064bd7d83edbf06c1e7202069189a 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-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-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 Forlot1-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-09Add testssandbox/excale/wipRomain Forlot1-3/+3
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-02Make low-can use afb-genskel by defaultRomain Forlot1-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 Forlot1-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-09-01Install step created by app-templates submoduleRomain Forlot1-5/+13
Change-Id: Iaaf81d6700b09c5a40446df41435a02e198ee3e0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-01New app-templates changes about compil flags.Romain Forlot1-5/+12
Now, all compilation options can be removed or rearranged. Change-Id: Id25b8154a42d5a7fcce7e031f5b87404d7585d9d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-25Make Kernel check not mandatoryRomain Forlot1-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-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>
2017-07-21Default pkg dependency no pertinent.Romain Forlot1-1/+0
libmicrohttpd is a dependency of afb-daemon so no need to specify it and the project did not use it anyway Change-Id: I3de5b24d58a44a361d6aa5738179069201403c54 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-07-18fix link optionRonan Le Martret1-0/+4
Change-Id: Ibca245fc8c6ec7c68d24b9c6e693156974f186ef Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-07-05Can't set compile FLAG using set using Yocto buildRomain Forlot1-4/+2
If set, then these are the flags that are used by bitbake without append its own flags which provides toolchain variables environment mandatory to correctly build for another target. Change-Id: Id5ddfc11c3d7d2e1eee418989aabaa73a933a41a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-29Fix native build for openSUSE_TumbleweedRonan Le Martret1-2/+2
* add library specification "-pthread" to CXX_FLAGS. fix build error under gcc7 "undefined reference to `pthread_create'" Change-Id: Ic952682086744f0e3f3e5f292495c7bc8b922316 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-06-28Update config.cmakeRonan Le Martret1-22/+28
Change-Id: I24e08bbb2dc735125cea9a9fee18641c21938713 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-06-27Update to the latest app-templates versionRomain Forlot1-0/+8
No more needs to call any macro and only include config.cmake file is mandatory. Common.cmake is include from config.cmake file Generation autobuild script in conf.d/autobuild dir Change-Id: I71a18a91755d76912fd8ff93c66bab231d4db301 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-26Enable check kernel version before buildRomain Forlot1-1/+1
Upgrade app-template submodule that allows to correctly check kernel version and uncomment kernel_minimal_version variable definition. Change-Id: I97d10e2506a89780fa611dc7f96eafb3f2be29cd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-06-22Needed feature to make binder load the bindingRomain Forlot1-0/+136
Change-Id: I5c312e082bc710f3d3f381d09be055af4950cd1a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>