First i runI don't understand what is a problem. Now i install debian 9 -on my laptop to test in the car, and write code, but same as if i compile on my Mac.
- "make flash" at first time, the ovms "booted" up
- and not shown in web interface,
- "vehicle list" command
- not shown peugeot
- "make size-components|grep -e 'Archive' -e peugeot"
- output same as yours
- sdkconfig
- same as yours
- make monitor
- not shown "v-peugeot: Registering Vehicle: PEUGEOT ION (9000)" row
I attach some picture, to show some state.Mark Webb-Johnson <mark@webb-johnson.net> ezt írta (időpont: 2018. szept. 14., P, 3:19):I compiled your code, and get:_______________________________________________...I (287) v-twizy: Registering Vehicle: Renault Twizy (9000)I (293) v-peugeot: Registering Vehicle: PEUGEOT ION (9000)I (300) v-obdii: Registering Vehicle: OBDII (9000)…OVMS# vehicle listType NameDEMO Demonstration vehicleFT5E Fiat 500eKS Kia Soul EVMI Mitsubishi iMievNL Nissan LeafNONE Empty vehicleO2 OBDIIPI Peugeot iOnRT Renault TwizyTGTC Think CityTR Tesla RoadsterTS Tesla Model SVA Volt/AmperaXX TRACKZEVA ZEVA BMSThe Peugeot iOn also appears in the web interface config vehicle list.My sdkconfig has:## Vehicle Support#CONFIG_OVMS_VEHICLE_NONE=yCONFIG_OVMS_VEHICLE_OBDII=yCONFIG_OVMS_VEHICLE_TRACK=yCONFIG_OVMS_VEHICLE_DEMO=yCONFIG_OVMS_VEHICLE_TESLAROADSTER=yCONFIG_OVMS_VEHICLE_TESLAMODELS=yCONFIG_OVMS_VEHICLE_NISSANLEAF=yCONFIG_OVMS_VEHICLE_RENAULTTWIZY=yCONFIG_OVMS_VEHICLE_KIASOULEV=yCONFIG_OVMS_VEHICLE_VOLTAMPERA=yCONFIG_OVMS_VEHICLE_THINKCITY=yCONFIG_OVMS_VEHICLE_MITSUBISHI=yCONFIG_OVMS_VEHICLE_PEUGEOT=yCONFIG_OVMS_VEHICLE_ZEVA=yCONFIG_OVMS_VEHICLE_FIAT500=yCONFIG_OVMS_VEHICLE_RXTASK_STACK=6144CONFIG_OVMS_VEHICLE_CAN_RX_QUEUE_SIZE=40Also:$ make size-components|grep -e 'Archive' -e peugeotArchive File DRAM .data & .bss IRAM Flash code & rodata Totallibvehicle_peugeot.a 0 54 0 3655 531 4240Can you try to recreate that? Do you get the same? If not, what differences?Regards, Mark.On 14 Sep 2018, at 1:16 AM, Tamás Kovács <kommykt@gmail.com> wrote:I use first time github, commit change, and push to my github reposytory: gitHub, and after pull request (I should not have done it)Mark Webb-Johnson <mark@webb-johnson.net> ezt írta (időpont: 2018. szept. 12., Sze, 6:46):Easiest way would be for you to commit changes, push to a github repository, then let us know where that is so that we can check. Very hard to help find where the issue is, without actually being able to see the code._______________________________________________When the module starts, it will show initialisation of modules - please check to ensure your module shows up there. If initialisation works, then check the vehicle list to be sure it is registered.Regards, Mark.On 12 Sep 2018, at 12:22 PM, Tamás Kovács <kommykt@gmail.com> wrote:In component.mk and main/Kconfig has the same name.Kconfig: config OVMS_VEHICLE_PEUGEOTcomponent.mk (in vehicle folder): CONFIG_OVMS_VEHICLE_PEUGEOTMark Webb-Johnson <mark@webb-johnson.net> ezt írta (időpont: 2018. szept. 12., Sze, 5:40):It seems your module is not compiled in / registered (if it doesn’t appear in vehicle list)._______________________________________________Can you check your component.mk (the one in your vehicle directory, not the mail project one you attached). Make sure it matches the main/Kconfig name (with CONFIG at the start).Regards, Mark.On 12 Sep 2018, at 12:11 AM, Tamás Kovács <kommykt@gmail.com> wrote:
- In attachment
- compare on attachment picture
- OvmsVehiclePeugeotInit::OvmsVehiclePeugeotInit()
{
ESP_LOGI(TAG, "Registering Vehicle: PEUGEOT ION (9000)");
MyVehicleFactory.RegisterVehicle<OvmsVehiclePeugeot>("PI","Peugeot iOn");
}{
- OvmsVehiclePeugeot::OvmsVehiclePeugeot()
ESP_LOGI(TAG, "Start Peugeot vehicle module");
mi_candata_timer = 0;
mi_est_range = 0;
mi_stale_charge = 0;
mi_QC = 0;
mi_QC_counter = 5;
mi_last_good_SOC = 0;
mi_last_good_range = 0;
memset(m_vin,0,sizeof(m_vin));
memset(mi_batttemps,0,sizeof(mi_batttemps));
RegisterCanBus(1,CAN_MODE_ACTIVE,CAN_SPEED_500KBPS);
// require GPS:
MyEvents.SignalEvent("vehicle.require.gps", NULL);
MyEvents.SignalEvent("vehicle.require.gpstime", NULL);
}
- Type Name
- DEMO Demonstration vehicle
- FT5E Fiat 500e
- KS Kia Soul EV
- MI Mitsubishi iMiev
- NL Nissan Leaf
- NONE Empty vehicle
- O2 OBDII
- RT Renault Twizy
- TGTC Think City
- TR Tesla Roadster
- TS Tesla Model S
- VA Volt/Ampera
- XX TRACK
- ZEVA ZEVA BMS
Mark Webb-Johnson <mark@webb-johnson.net> ezt írta (időpont: 2018. szept. 11., K, 3:07):Can you show the source code for your module (github repository?), or just:_______________________________________________
- Your component.mk
- The changes you have made to sdkconfig
- Your OvmsVehicle***Init::OvmsVehicle**Init() function
- Your OvmsVehicle***::OvmsVehicle***() function
- Output of ‘vehicle list’ command
Regards, Mark.On 11 Sep 2018, at 2:27 AM, Tamás Kovács <kommykt@gmail.com> wrote:Hi, i have a Peugoet iOn, some week ago i buy a OVMS v3.1 kit. Works
well the basic functions for my car with Mitsubishi profile. I want to
create a own profile for my car for testing, my own code, but i
duplicate mitsubishi files in components folder, and all mitsubishi
change to peugeot (case sensitive), and vehicle code modified to PI,
and duplicate mitsibishi code in main/Kconfig and modify to peugeot,
but i can not see in the web interface after make flash. After add it
make show a question: add Peugeot to... i write Y, but nothing happen.
I use MacOS High Sierra, and atom for modify files.
<Screen Shot 2018-09-06 at 8.17.21.png><Screen Shot 2018-09-06 at 8.17.35.png>_______________________________________________
OvmsDev mailing list
OvmsDev@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev
OvmsDev mailing list
OvmsDev@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev
--Üdvözlettel:<component.mk><Screen Shot 2018-09-11 at 6.04.29.png>_______________________________________________
Kovács Tamás
OvmsDev mailing list
OvmsDev@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev
OvmsDev mailing list
OvmsDev@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev
--Üdvözlettel:_______________________________________________
Kovács Tamás
OvmsDev mailing list
OvmsDev@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev
OvmsDev mailing list
OvmsDev@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev
--Üdvözlettel:_______________________________________________
Kovács Tamás
OvmsDev mailing list
OvmsDev@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev
OvmsDev mailing list
OvmsDev@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev
--Üdvözlettel:
Kovács Tamás
<IMG_2030.jpg>
<IMG_2026.jpg>
<IMG_2029.jpg>
<IMG_2031.jpg>
<make_monitor.pdf>
_______________________________________________
OvmsDev mailing list
OvmsDev@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev