Commit Graph

2804 Commits

Author SHA1 Message Date
Benjamin Vedder fd80107522 More hall sensor tweaks 2023-08-08 19:56:48 +02:00
Benjamin Vedder cba6f32b92 Simplified hall sensor code 2023-08-08 15:02:52 +02:00
Benjamin Vedder d7dfb53109 Squashed 'lispBM/lispBM/' changes from a33d675a..fa3a730e
fa3a730e added an extra condition to writing symbols to flash, the reader must now be incremental for this to happen
3b7c98b0 addition to lbmref

git-subtree-dir: lispBM/lispBM
git-subtree-split: fa3a730e3e9d90da3ea9732addd5a687af03eea7
2023-08-08 12:50:50 +02:00
Benjamin Vedder 4e42ebfbb2 Merge commit 'd7dfb531094097512a228d1d63ff51d82a402daa' 2023-08-08 12:50:50 +02:00
Benjamin Vedder 8461d5ba65 Updated lbm doc 2023-08-08 12:49:57 +02:00
Benjamin Vedder a9659c72cb Always store backup data on shutdown (as before) 2023-08-07 22:51:27 +02:00
Benjamin Vedder 90ea079389
Merge pull request #624 from Gabrielerusso/master
Duplicated include; improved shutdown.c; store data even without switch
2023-08-07 22:46:22 +02:00
Benjamin Vedder 2101b4c1e8
Fixed typo 2023-08-07 22:36:03 +02:00
Benjamin Vedder 05de2f6108 Added remote message support 2023-08-07 22:07:08 +02:00
Benjamin Vedder b60ecc8a2d Squashed 'lispBM/lispBM/' changes from a20fb514..a33d675a
a33d675a Profiler interface changed. Profiler now also reports system overhead in a category by itself. System overhead will be large if all you have are threads that do not use up their quota.

git-subtree-dir: lispBM/lispBM
git-subtree-split: a33d675ad1befd1f8046a8a3010f3afaa89db907
2023-08-06 14:47:04 +02:00
Benjamin Vedder 50157c7630 Merge commit 'b60ecc8a2dc0c196baeb094e88ff3cd10a6e7bfb' 2023-08-06 14:47:04 +02:00
Benjamin Vedder fa4600b6d4 Tweaks for latest lbm 2023-08-03 20:44:43 +02:00
Benjamin Vedder 902c8139f8 Squashed 'lispBM/lispBM/' changes from db03ff7b..a20fb514
a20fb514 flatvalues are now just normal byte-arrays

git-subtree-dir: lispBM/lispBM
git-subtree-split: a20fb514b61bfee0002b02dff148bd6f528c6ed9
2023-08-03 19:46:34 +02:00
Benjamin Vedder 1e8e3f0810 Merge commit '902c8139f8aeb5fbf80ee0b537dc9fd37ad4b3ec' 2023-08-03 19:46:34 +02:00
Benjamin Vedder 8701f9ad06 Squashed 'lispBM/lispBM/' changes from 1c98f534..db03ff7b
db03ff7b Made flatvalues identical to arrays beyond the first dereference
deca3f3f undoing an undo related mistake
21b2bc52 flatvalues can now be converted to byte-arrays using fv-to-a and back to flatvalues using a-to-fv

git-subtree-dir: lispBM/lispBM
git-subtree-split: db03ff7b29dd9ca1ba1206979ea2d0a215cac359
2023-08-03 16:59:46 +02:00
Benjamin Vedder 0d60c633c9 Merge commit '8701f9ad0695f86b3e7bf514d829119cb72d4427' 2023-08-03 16:59:46 +02:00
Benjamin Vedder 7e878b4212 Merge branch 'master' of github.com:vedderb/bldc 2023-08-03 11:05:24 +02:00
Benjamin Vedder 4bc5f66e3f
Merge pull request #644 from luna-cycle/master
Luna M600 and BBSHD: app to use define
2023-08-03 11:05:13 +02:00
Benjamin Vedder ba1bc1e669 Squashed 'lispBM/lispBM/' changes from 7ed5cc62..1c98f534
1c98f534 moving array variable in flatten_value toavoid being clobbered by longjmp

git-subtree-dir: lispBM/lispBM
git-subtree-split: 1c98f534bb2e1fb059175d0ceef407aa25a4e4b2
2023-08-03 10:24:13 +02:00
Benjamin Vedder 6c07f06ed5 Merge commit 'ba1bc1e669a8808c75238cd0d23497a80993b0d4' 2023-08-03 10:24:13 +02:00
Benjamin Vedder bc8abddbc1 Squashed 'lispBM/lispBM/' changes from c1b12e9d..7ed5cc62
7ed5cc62 simplifying eval_symbol a small bit
a378c2e2 cleaning and streamlining with a small performance benefit as bonus
f4661119 removed unused statistics fields from heap_state (functionality kind of duplicates profiler). Small reorganization of eval_symbol
96a118e5 tightened up the run_eval loop a small amount
574309a6 Laptop charger just exploded so uploading what I have locally. Additions to profiler and tweaks to GC
0278230b Added arithmetic stress tests
b0ad9619 added additional arith stress tests
5cb11cdf update lbmref and lbm_version.h
04d8483b Unified sleep and blocked queue, added profiler. Needs documentation and additional testing (WiP)
4a709753 timeout functionality added and restructuring of queue handling in main loop. Much testing needed
e2605f7b flatten value calculates the size of the memory buffer needed to create a flat value. flatten now takes only one argument, the value to flatten.
b79455aa added match test for const block
df35d9a6 attempt fix of issue showing up in pattern matching from constant code.
0021d4c5 removed left over printf and fix in flatten that could leak memory
a7abb204 flat values are now part of the language. lisp values can be flattened and unflattened. Added kill function for termination of threads
ea58c616 Added a flat value constructor for symbol as string

git-subtree-dir: lispBM/lispBM
git-subtree-split: 7ed5cc621360d19577c5b14836c5ecd9fd608a1d
2023-08-03 09:53:38 +02:00
Benjamin Vedder 53b676261c Merge commit 'bc8abddbc15628ec8e6296935d498409964a339b' 2023-08-03 09:53:38 +02:00
Benjamin Vedder 14eaf5d4eb Allow more flux linkage tracker range 2023-08-03 09:53:14 +02:00
Benjamin Vedder 6532f0b206 Set value fix 2023-08-03 09:52:59 +02:00
Benjamin Vedder bcee560d6e Added support for adding extra lispbm extension loaders 2023-07-29 20:01:14 +02:00
JohnSpintend 4ce002f91a Add HW UBOX_SIGNLE_85_200, and changed limits of UBOX_SIGNLE_
Added HW UBOX_SIGNLE_85_200, and changed limits of UBOX_SIGNLE_80.
2023-07-28 22:07:53 +08:00
Benjamin Vedder 76aedf16ac BLDC and DC motor support for one motor on dual motor hardware 2023-07-27 18:01:16 +02:00
Benjamin Vedder 1fee16de47 Hall sensor bug fix and tweaks 2023-07-16 16:00:41 +02:00
Benjamin Vedder 7bbb5e9f26 Squashed 'lispBM/lispBM/' changes from c53ee21f..c1b12e9d
c1b12e9d Fix bug: Attempt GC if creation of a symbol fails. Also added error reasons to string extensions and changed some eval_errors to type_error
141e7fb1 update lbmref
ae677d30 added a section about flash directives and functions in flash memory

git-subtree-dir: lispBM/lispBM
git-subtree-split: c1b12e9d2e30d6d6f611ed0edf905b067a43c9ac
2023-07-07 14:07:23 +02:00
Benjamin Vedder 14994c6262 Merge commit '7bbb5e9f26c8513efecdbf1b21b76d2c39077f1e' 2023-07-07 14:07:23 +02:00
Benjamin Vedder 54bf4c272e Minor fix 2023-07-07 14:07:18 +02:00
Benjamin Vedder 1c66f2c086 Added more to info-command 2023-07-05 15:03:55 +02:00
Benjamin Vedder 7b5d568437 Squashed 'lispBM/lispBM/' changes from bad046b0..c53ee21f
c53ee21f fix lbmref
cecd5f29 update buclear in lbmref
4c7dad51 Storing symtable list structure in flash when @const-symbol-strings is active
ad974fbf setting flash string counter to 0 at init of symrepr
dbc14c56 added an @const-symbol-string evaluator flag for storage of symbols in flash memory

git-subtree-dir: lispBM/lispBM
git-subtree-split: c53ee21fbaae7f419e096914d2bc5d8528037d88
2023-07-05 15:01:47 +02:00
Benjamin Vedder b9a48ba7d9 Merge commit '7b5d568437b3816019d7ada8567436eaf37157da' 2023-07-05 15:01:47 +02:00
Benjamin Vedder c43e8eb8e8 Updated beta number 2023-07-01 15:10:04 +02:00
Benjamin Vedder 9b8d65154a
Merge pull request #608 from groybe/5mohm_75100
Add 5 milliohm shunt version for Flipsky 75100v2 Hardware
2023-07-01 15:04:50 +02:00
Benjamin Vedder 5f4de598c8
Merge pull request #639 from powerdesigns/axiom_update
Fix SPI pins for encoder AD2S1205, update Axiom, add encoder errors info
2023-07-01 14:58:05 +02:00
Benjamin Vedder 96c9007314 Squashed 'lispBM/lispBM/' changes from 5f69e529..bad046b0
bad046b0 indentation fix
e7115787 bump version
fc2646ac slight improvements in read errors.
a3389b91 added env-get and env-set to runtime extensions
9ddb702d cleanup
b7472ae2 more details on flash error temporarily
0db26c7f slight cleanup, should be equivalent

git-subtree-dir: lispBM/lispBM
git-subtree-split: bad046b0ce19871caecdf061890744e6daaed095
2023-07-01 14:51:26 +02:00
Benjamin Vedder c5c050690c Merge commit '96c90073144d1923dfc949f9cdce3fafc2fb8682' 2023-07-01 14:51:26 +02:00
Benjamin Vedder 9eb978ef15 Added option to select PID speed controller source, some cleanup 2023-07-01 14:51:08 +02:00
diego_palta a5024ac3fa Luna_BBSHD: change default APPCONF_APP_TO_USE define to 10, update date 2023-06-29 10:30:15 -03:00
diego_palta 240c690816 Luna_m600: Change APP_CONF_APP_TO_USE define, update date 2023-06-27 11:42:28 -03:00
diego_palta ed4f3237fd Axiom: add entry to axiom change log 2023-06-23 14:41:22 -03:00
diego_palta 0df7884436 Encoder: Add empty SPI message and angle velocity error, add peak values for error rates
Empty SPI message occurs when the resolver IC is not respoding
Angular velocity error occurs when resolver IC is reading angular velocity instead of angle position
Add info of the peak values for resolver errors
Add clear error function, type encoder_clear_errors in terminal to clear the counters ratio and peak values of the resolver errors
2023-06-23 14:41:07 -03:00
diego_palta a4734e221a Axiom: Add axiom change log 2023-06-23 12:55:17 -03:00
diego_palta db6e4b2aa7 Axiom: Add temperature filters and temperature info terminal command (axiom_temp_status) 2023-06-23 12:54:42 -03:00
diego_palta 779cd02b09 Axiom: Update axiom HW constants 2023-06-23 11:48:11 -03:00
diego_palta 6635f14dc7 Encoder: Fix ad2s1205 spi pin configuration, fix resolver LOT errors info 2023-06-23 11:47:46 -03:00
Benjamin Vedder e3d7e8624c Added filter for the mapped input current limit 2023-06-23 11:10:37 +02:00
Benjamin Vedder a380ea8b4c Doc style fix 2023-06-21 14:50:32 +02:00