Commit Graph

370 Commits

Author SHA1 Message Date
andreas ebd4a8907a send n2k message for rudder angle 2024-03-02 18:36:58 +01:00
andreas 0c94293ccb working spi task, measure with dms22b 2024-03-02 17:51:23 +01:00
andreas 5356b783c3 intermediate: add SPI/SSI task and DMS22B sensor 2024-03-01 20:36:29 +01:00
andreas b3d065abd1 make SensorBase more generic 2024-03-01 15:13:11 +01:00
wellenvogel e1044821a7 switch to own main loop, avoid warning in getTalkerId 2023-11-13 12:19:03 +01:00
andreas a179de5239 doc for 20231105 2023-11-05 21:31:24 +01:00
andreas d0018c6726 make configs without sensors working again 2023-11-05 16:26:19 +01:00
andreas bf6efd1cd4 avoid compile error without iic sensors 2023-11-05 15:00:34 +01:00
andreas 5a79e0584f simplify sensor config handling 2023-11-05 12:15:39 +01:00
andreas cf1e0d1224 add some compile time checks for necessary i2c definitions 2023-11-04 20:07:15 +01:00
andreas 1202b6d81f improve logging for sensors, correct bus assigment 2023-11-04 19:50:26 +01:00
andreas adf55fcade correct compilation of SHT3X and QMP6988 2023-11-03 20:00:16 +01:00
andreas 28ae7d3bbd avoid multiple logs, test multi sensor config 2023-11-03 18:58:39 +01:00
andreas 0c736bd24a move SHT3X to separate file 2023-11-03 18:36:43 +01:00
andreas e8e3262a0d move QMP6988 to separate file 2023-11-03 18:28:44 +01:00
andreas 899aa3fe4a move BME280 to separate file 2023-11-03 18:19:16 +01:00
andreas b581fe9537 generic sensor handling for enviii 2023-11-03 18:03:30 +01:00
andreas f2e5115d93 restructure bme280 handling 2023-11-03 17:25:12 +01:00
andreas 41b9f1e675 intermediate: concentrate sensor cfg into sensro configs 2023-11-03 16:51:00 +01:00
andreas e449b7836d intermediate: QMP6988 new config 2023-11-03 16:19:10 +01:00
andreas 2052f07a81 intermediate: SHT3X working with new config 2023-11-03 15:53:57 +01:00
andreas 2505b87967 intermediate: generic iic sensor handling 2023-11-03 15:49:20 +01:00
andreas 16b7652f1d intermediate: allow for config array definitions, prepare multiple sensors 2023-11-03 12:34:33 +01:00
andreas 259901abe3 put the prefix for logs/counter into the sensor config 2023-11-01 18:06:14 +01:00
andreas d3641668fb generic sendN2k handling for sensors 2023-10-31 16:13:47 +01:00
andreas ab53d2b626 generic addXdrMapping functions 2023-10-31 15:58:13 +01:00
andreas a4f5153440 unify sensor parameter names 2023-10-31 15:35:52 +01:00
andreas 9d3390b086 unify sensor parameter names 2023-10-31 15:32:08 +01:00
andreas f606b78929 separate sensor libs 2023-10-29 09:46:54 +01:00
andreas 6281067afa BME20 with offsets 2023-10-28 21:11:22 +02:00
andreas d78f0d201f intermediate: BME280 reading 2023-10-28 21:04:40 +02:00
andreas 9308cca898 intermediate: read BME280 2023-10-28 20:25:00 +02:00
andreas 09eb59510d avoid overflow of update counter on task interfaces 2023-10-28 19:16:17 +02:00
andreas 14dcc75271 add some counters to iic measures 2023-10-28 19:03:22 +02:00
andreas 1d0f131758 QMP6988 pressure measurements 2023-10-28 18:55:56 +02:00
andreas eb3a01b060 intermediate: support for QMP6988 2023-10-28 11:33:16 +02:00
andreas 8271347713 rename env for m5 env3 2023-10-28 11:19:47 +02:00
andreas 1ff7c44220 forbid the include of GwHardware.h in user task headers 2023-10-28 11:09:48 +02:00
andreas a98693a9b1 avoid the need for additional includes for task interfaces 2023-10-28 11:04:40 +02:00
andreas ff1bc50607 allow to hide config values by calling setValue 2023-10-27 21:32:55 +02:00
andreas 51065acc8d allow to hide config values by calling setValue 2023-10-27 21:32:16 +02:00
andreas 95d9025f8e update example task to new handling for the task data api 2023-10-27 21:09:57 +02:00
andreas c03e54601c added claiming for task interface 2023-10-27 20:54:39 +02:00
andreas a6c1511298 remove task from declare_taskif 2023-10-27 20:29:16 +02:00
andreas 34dd3434fe use template functions instead of statics for taskInterfaces 2023-10-27 20:19:02 +02:00
andreas 9e05a86820 allow for dynamic user task registration 2023-10-27 19:55:22 +02:00
andreas 682bbb5bb4 make the N2K source configurable for humidity and temperature 2023-10-27 19:34:12 +02:00
andreas 80017af0b4 intermediate: move to ldf none mode 2023-10-27 12:26:10 +02:00
andreas 62124cb22d 1st step for M5 ENV3 iic module support 2023-10-26 21:44:47 +02:00
andreas 8266fba42a intermediate: add iic task 2023-10-26 11:55:57 +02:00
andreas 30facdbf4d change numbering of groove pins 2023-10-25 17:37:02 +02:00
andreas ffdfd917ae generate XDR field and selector defines 2023-10-24 18:47:39 +02:00
andreas f0643b636a allow to set XDR mappings from user tasks 2023-10-24 18:20:01 +02:00
andreas 4b3c6f13b4 simplify xdr type mapping 2023-10-24 16:19:00 +02:00
andreas 0e10fcfee2 handle buttons and leds completely as user tasks 2023-10-24 15:58:43 +02:00
andreas 91c1e6f85c handle the leds as user task 2023-10-24 15:23:54 +02:00
andreas 155c7a8d1c add error example, improve debug messages 2023-10-24 15:10:13 +02:00
andreas 0db0dd4322 add example for task data exchange usage 2023-10-24 14:59:02 +02:00
andreas 6758c59a3a introduce a type safe task adta exchange interface 2023-10-24 14:48:47 +02:00
andreas b5210a79e8 allow to change the Wifi AP Ip address and mask 2023-10-20 20:40:44 +02:00
andreas 371372f1f4 intermediate: allow to exchange simple data between tasks 2023-10-14 20:21:20 +02:00
andreas 015b4762f8 allow for multiple counters in user task 2023-10-14 19:43:50 +02:00
andreas 6cdaab4d60 allow a counter for user tasks, reorganize generated config handling 2023-10-14 19:20:21 +02:00
andreas 723713b69d allow to control LEB brightness via config UI 2023-10-14 13:44:13 +02:00
Andreas Vogel d1032bc231
Merge pull request #55 from free-x/twai
[WIP] Update NMEA Libraries
2023-10-13 19:39:05 +02:00
andreas cb579e3584 add more predefined configs 2023-10-13 19:10:11 +02:00
andreas ce9dceb589 add reset button, led to node mcu 2023-10-11 17:51:05 +02:00
andreas 4fa40b98b3 allow to set a read only mode for config items, output compiler messages for overwritten configs, add m5 gps unit defs 2023-10-05 18:52:30 +02:00
andreas 9572b1e95e allow to set default and hide for cfg values in hardware defs 2023-10-05 16:57:05 +02:00
andreas 27de94b1ae move groove serial to serial2 if also serial base is used 2023-10-04 18:11:47 +02:00
andreas 4f2a630687 #57: make the conversion of AIS ship dimensions more robust 2023-09-29 19:54:03 +02:00
andreas c87c38fca4 revert back for chip id in app info 2023-09-09 17:11:32 +02:00
andreas 2b42cc53e7 add handling for board type to images and webflasher 2023-09-07 16:53:32 +02:00
andreas 8c7540d956 move serial channel mode to serial channel type (integer) 2023-08-31 22:03:23 +02:00
andreas f36dd37b8b better handling if no CAN Pins are configured 2023-08-31 19:12:10 +02:00
andreas 1b3840f207 #48: add a second serial config to the example task 2023-08-31 12:32:48 +02:00
andreas cb98324604 make the counter display and the channel names dynamic in the UI 2023-08-31 12:24:21 +02:00
andreas 019fb8ff6a intermediate, untested: second serial channel 2023-08-30 21:10:00 +02:00
andreas 17615adca5 cleanup unused code, make fallback_serial working again 2023-08-30 20:20:28 +02:00
andreas dc2f353893 using the externals for USBSerial and Serial1 2023-08-30 19:55:26 +02:00
andreas ac91aeb491 reorganize HW defs again, add generic boards, allow undefined CAN rx/tx 2023-08-30 16:42:08 +02:00
free-x 55207473a7 bump nmea2000 library 2023-08-30 11:08:49 +02:00
andreas 5dc2c98642 intermediate: reorganize hardware definitions 2023-08-30 10:15:25 +02:00
free-x 74f4937844 clean up atom/atoms3 2023-08-26 16:17:21 +02:00
free-x 5a8b30235c adjust Grove GPIO for atoms3 2023-08-26 16:05:04 +02:00
free-x e17ab3be58 add atoms3 with canunit env 2023-08-26 15:53:25 +02:00
andreas b7a7dad290 better display for bus off condition 2023-08-26 11:06:11 +02:00
andreas 28431bfdcf add timer class for periodic runs 2023-08-26 10:53:46 +02:00
andreas 0d5215e00f handle bus recovery in driver class 2023-08-25 20:14:26 +02:00
andreas f5e48fcab3 count timeouts to detect offline state 2023-08-25 19:48:53 +02:00
andreas 9fd25ab6a8 improve status handling for twai, add n2k state to UI 2023-08-25 19:35:38 +02:00
andreas ec95007d9d use driver_uninstall for bus recovery to avoid crashes 2023-08-24 21:15:37 +02:00
andreas 475652ff6e intermediate: recovery 2023-08-24 21:04:28 +02:00
andreas 41d8578681 add bus off recovery 2023-08-24 20:00:19 +02:00
andreas 3be08a0c26 correctly initialize send messages, increase queue 2023-08-24 19:30:20 +02:00
andreas 80486eff75 get rid of esp32_nmea2000 2023-08-24 18:39:51 +02:00
andreas 7baa5688ef 1st twai version with send/receive 2023-08-24 17:32:13 +02:00
andreas f025fddc71 move to newest framework 6.3.2 2023-08-24 15:22:02 +02:00
andreas 435654a3f6 correctly map pressure from bar to pascal in xdr 2023-03-17 20:54:00 +01:00
andreas df8b26dc0c #49: parse MTW and convert to 130310 2023-03-08 16:18:53 +01:00