IRC logs for #automotive for Wednesday, 2015-08-12

*** bharmon has quit IRC00:14
*** bbranch has quit IRC00:44
*** bbranch has joined #automotive01:56
*** bbranch has quit IRC02:08
*** bbranch has joined #automotive02:37
*** bbranch has left #automotive02:39
*** weston has joined #automotive05:25
westongood morning all05:35
CTtpollardmorning weston07:35
*** KlausUhl has joined #automotive08:05
*** fredcadete has quit IRC08:08
*** jonathanmaw has joined #automotive08:41
*** jacobo has joined #automotive08:46
CTtpollardok just did a quite upate to the readme for meta-gdp, both koelsh and porter point to newer commits08:49
CTtpollardfixes and re-inclusion of driver scripts08:49
* CTtpollard replies to some mailing list questions 09:01
*** fredcadete has joined #automotive09:02
*** fredcadete has left #automotive09:05
*** fredcadete has joined #automotive09:05
*** weston has quit IRC09:07
*** wschaller has joined #automotive09:08
*** fredcadete has quit IRC09:23
*** fredcadete has joined #automotive09:39
*** FaHfah has joined #automotive09:53
*** FaH_auto has joined #automotive09:55
*** FaH_auto has quit IRC09:57
*** FaH_auto has joined #automotive09:59
*** jacobo has quit IRC09:59
*** FaH_auto has quit IRC10:01
*** FaH_auto has joined #automotive10:07
*** jacobo has joined #automotive10:08
*** wschaller has quit IRC10:26
*** fury has joined #automotive10:41
*** FaHFah has joined #automotive11:34
*** FaH_auto has quit IRC11:36
*** weston has joined #automotive11:40
*** wschaller has joined #automotive11:49
*** FaH_auto has joined #automotive12:12
*** FaHFah has quit IRC12:12
westonhi guys, any idea on how to do static analyis for C++ code written in QT12:24
KlausUhlweston: is there anything that would make static analysis of Qt based C++ code any different from "plain" C++ code?12:29
KlausUhlOtherwise, you can probably go through the following list and take what best suits your needs feature and, potentially, money wise: https://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis#C.2FC.2B.2B12:30
westonThe Qt creator can check it during coding itself in editor right?12:30
KlausUhlProbably not. But that is only a limitation of Qt Creator. You will have to perform the static analysis outside of it.12:31
KlausUhlI think I have been wrong.12:32
KlausUhlThere seems to be a Qt Creator plug-in for at least Cppcheck: http://sourceforge.net/projects/qtc-cppcheck/12:32
rjekI've had good success with clang's scan-build12:32
rjekIt's kinda like coverity, but somewhat less advanced.12:33
KlausUhlYou may want to research if there is a Qt Creator plug-in for that one.12:33
rjekYou launch scan-build with "scan-build make"12:33
rjekAssuming you use make12:33
KlausUhlCheck this: http://doc.qt.io/qtcreator/creator-clang-static-analyzer.html12:34
rjekscan-build is a wrapper that replaces calls to your compiler with clang's static analyser (while also generating code)12:34
rjekSo it's pretty transparent12:34
KlausUhlclang scan-build seems to be integrated into Qt Creator by default12:34
westonKlausUhl: great thanks12:36
KlausUhlyou are welcome12:36
rjekThe open source project I'm involved in uses all of scan-build, coverity, and cppcheck as part of CI12:37
*** CTtpollard has quit IRC12:37
KlausUhlThat's the big gun :-)12:40
KlausUhlBut you are doing it right. In my experience, no single static analysis tool is able to catch everything.12:41
KlausUhlThe only drawback of using multiple static analysis tools it that you also get false positives from multiple sources.12:42
westonKlausUhl: I was using QAC and QAC ++12:44
westonit is good12:45
westonand Tessy for Unit testing12:45
*** emaj has joined #automotive12:46
*** kratz00_work has quit IRC12:50
*** FaHFah has joined #automotive12:50
*** CTtpollard has joined #automotive12:52
*** FaH_auto has quit IRC12:53
fredcadeteclang scan-build integration in qtcreator seems to be only for the commercial version though13:14
rjekYou should still be able to use it in an unintegrated fashion though, yeah?13:16
*** alex_h has quit IRC13:26
*** wschaller_ has joined #automotive13:34
*** wschaller has quit IRC13:34
CTtpollardgah, doing a fresh checkout of everything has made me realise gdp still can't build with the specified meta-ivi commit13:34
*** alex_h has joined #automotive13:40
*** alex_h has joined #automotive13:41
* CTtpollard points meta-ivi to a newer commit as suggest by gunnar and rebuilds13:43
*** kratz00_work has joined #automotive13:50
*** FaHFah has quit IRC14:33
*** bbranch has joined #automotive14:50
*** bbranch has left #automotive14:58
*** jlrmagnus has joined #automotive15:05
jlrmagnusMOrning15:06
CTtpollardwhen building GDP has anyone ever had the error "No recipes available for meta-genivi-demo/recipes-multimedia/audiomanager/audiomanager_6.1.bbappend"15:06
CTtpollardI've never had this error before, this is after switching to a newer commit of meta-ivi which fixes the common api c++ error15:07
FelixHHi jlrmagnus15:09
jlrmagnusHello Felix15:09
FelixHI saw your can firewall yesterday, looks very interesting!15:09
jlrmagnusThanks.15:10
* rjek too15:10
rjekSweet little PCB design too!15:11
jlrmagnusYeah. We did miss to add a CAN controller to the PCB, which is a bit embarrasing.15:16
jlrmagnus*embarrassing15:17
jlrmagnusThat will be fixed.15:17
jlrmagnusI didn't double check the design and thought the tranceiver had the necessary features to implement the protocol itself.15:17
* rjek finds that lots of small micros can only support one CANbus interface at a time :-/15:21
rjekIt also sounds like something that could almost be implemented in a CPLD or FPGA: list of masks to allow, otherwise store and forward15:22
jlrmagnusYes.15:25
jlrmagnusIt depends on how much frame transformation you want.15:26
*** bharmon has joined #automotive15:26
*** KlausUhl has quit IRC15:30
jlrmagnusDown the road you may want to implement a very simplistic scripting language (lua?) that you transfer OTA to implement frame filtering and transformation.15:35
jlrmagnusThat allows you to keep state and create outbound frames with a payload composed of the input from several frames.15:36
* rjek rubs thighs at mention of Lua15:36
rjekAlthough it's beginning to sound too complex for my taste15:36
rjekI will always advocate Lua, though.  But for complete disclosure, I host lua.org (and the mailing lists) and lua-users.org on my personal infrastructure.  So perhaps I'm bias.15:38
jlrmagnusIf we are to keep this safe, we need to delete recursion and non-finite loops from the equation.15:50
jlrmagnusElse we risk locking the firewall through shitty scripts.15:51
*** jonathanmaw has quit IRC16:07
*** bbranch has joined #automotive16:07
*** wschaller_ has quit IRC16:34
*** persia has quit IRC16:42
myselfrjek: most small micros speaking CAN are using SPI to hang an arbitrary number of MCP2515's off16:54
myselfI haven't looked to see if there's a dropin CanFD-capable replacement16:55
jlrmagnusWe are taking the MCP2515 route.16:55
jlrmagnusWe blew the original design (that is checked into github) and just put the tranceiver in there, forgetting the CAN controller.16:56
jlrmagnusIn my review I thought the board had  a combined CAN controller / tranceiver. We will fix that.16:57
myselfhttps://github.com/CANBus-Triple/CANBus-Triple-Hardware/blob/master/CANBusTriple_f.pdf16:57
myselfgood example of multiple 2515's off a single 8-bit micro16:57
*** ulf` has quit IRC16:59
*** ulf` has joined #automotive17:00
*** jlrmagnus has quit IRC17:02
*** joone has quit IRC17:08
*** ulf` has quit IRC17:10
*** bbranch has quit IRC17:12
*** joone has joined #automotive17:12
*** persia has joined #automotive17:24
*** persia has joined #automotive17:24
*** bbranch has joined #automotive17:26
*** gmacario has quit IRC17:28
*** jimmy1 has joined #automotive17:31
*** jacobo has quit IRC17:44
*** ulf` has joined #automotive18:08
*** jlrmagnus has joined #automotive18:27
jlrmagnusmyself: Thank you. I've sent this off to our hardware designer.18:28
*** jlrmagnus has quit IRC18:34
*** jlrmagnus has joined #automotive18:50
*** jlrmagnus has quit IRC19:13
*** jlrmagnus has joined #automotive19:57
*** bharmon has quit IRC20:15
*** bharmon has joined #automotive20:22
*** emaj has quit IRC20:29
*** bbranch1 has joined #automotive21:03
*** bbranch has quit IRC21:05
*** bbranch1 has quit IRC21:32
*** bbranch has joined #automotive21:48
*** jlrmagnus has quit IRC22:04
*** jlrmagnus has joined #automotive22:32
*** bharmon has quit IRC23:02
*** jlrmagnus has quit IRC23:31
*** bharmon has joined #automotive23:36

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!