Commit Graph

2776 Commits

Author SHA1 Message Date
Benjamin Vedder 8c1e6c53de Added firmware update extension documentation 2023-10-25 13:24:22 +02:00
Benjamin Vedder 11dce840a7 Squashed 'lispBM/lispBM/' changes from 93b566b8..c99bf0f6
c99bf0f6 Fix bug related to handling of flat value buffers created either from lisp (flatten) or from the event handling system

git-subtree-dir: lispBM/lispBM
git-subtree-split: c99bf0f6fd9b10a7cb005b8a4be08a0a550f06a2
2023-10-22 15:43:01 +02:00
Benjamin Vedder aebcf240c4 Merge commit '11dce840a71bce884ff58510c8ef5284f1613020' 2023-10-22 15:43:01 +02:00
Benjamin Vedder edf0a326ee Added more possible adc channels to get-adc 2023-10-22 12:50:18 +02:00
Benjamin Vedder badbe615c6 Squashed 'lispBM/lispBM/' changes from 9e5d4044..93b566b8
93b566b8 removed a call to lbm_free from unflatten
68635765 removal of dead code, removal of pointless conditional in lbm_memory_shrink and switch to structural equality in comma-qualified symbol matching
9470f8ba small update to flatten_value that removes an superfluous call to finish_flatten
f8470b0f update cr note in lbm_memory
8b70f8ed added 0 check for malloc and malloc_reserve
87311c92 modification to how GC handles constant values. incremented version
344ce225 added a lbm_get_gc_stack_size function for easier access to this field

git-subtree-dir: lispBM/lispBM
git-subtree-split: 93b566b8a7c63f566c3408140bba01976163783b
2023-10-22 12:47:00 +02:00
Benjamin Vedder 348f8dce67 Merge commit 'badbe615c62abc09fe2ab95f8399d64fc33d4825' 2023-10-22 12:47:00 +02:00
Benjamin Vedder 3f2af5e99c Updated doc 2023-10-19 10:20:49 +02:00
Benjamin Vedder 308567670d Fixed native cube example 2023-10-18 12:54:24 +02:00
Benjamin Vedder 2ec6bbe5a0 Much faster i2c error timeout 2023-10-18 12:45:38 +02:00
Benjamin Vedder 058abe4d79 Use braking current limit in duty mode when braking 2023-10-16 13:37:15 +02:00
Benjamin Vedder 5070ba34ad Avoid briefly entering duty-mode just when starting to brake 2023-10-16 12:00:41 +02:00
Benjamin Vedder c7591716a2 Added more current get extensions 2023-10-15 20:56:49 +02:00
Benjamin Vedder e0bc115454 Always add vesc id to imu values as there were no bits left in mask. Changing mask size would break compatibility with old code. 2023-10-15 09:13:59 +02:00
Benjamin Vedder 004af85dc1 Take both current override limits into account in the relative current mode 2023-10-13 13:56:03 +02:00
Benjamin Vedder c5d89c4b74 Return offset list from conf-dc-cal on success 2023-10-10 21:09:33 +02:00
Benjamin Vedder f32ee99852 Allow passive flux linkage measurement 2023-10-08 10:07:11 +02:00
Benjamin Vedder e06a179943 GC stack error handling 2023-10-06 16:54:49 +02:00
Benjamin Vedder 7e82cff0b9 Squashed 'lispBM/lispBM/' changes from 948bb6bc..9e5d4044
9e5d4044 gc stack is allocated from lbm_memory, it is possible to resize the gc stack by allocating a new one and replace the old. see runtime_extensions for example
77561a9e added a function that returns maximum gc stack level and added an error message when GC stack exhausts
4dfcabf1 added a callback for when a critical unrecoverable error occurs so.
63919e22 Slight opmitmization of stack usage in GC mark phase
38c677e9 Merge branch 'master' of github.com:svenssonjoel/lispbm
fd88cd7e Small overlook of match machinery with minor changes to environment handling and gc roots
173e256b added test of match
0478d16c added 3 tests of match

git-subtree-dir: lispBM/lispBM
git-subtree-split: 9e5d4044c2d36efdd01b080d0db150186922a6d7
2023-10-06 15:54:52 +02:00
Benjamin Vedder 14eb7d4e6c Merge commit '7e82cff0b997eaf39b0b72b0cf7a18a7f1564619' 2023-10-06 15:54:52 +02:00
Benjamin Vedder d70da86198
Merge pull request #659 from TechAUmNu/master
Fix typo in packaged firmware name
2023-10-04 08:27:57 +02:00
Euan Mutch e0a6becd6a
Fix typo in packaged firmware name 2023-10-04 00:50:04 +01:00
Benjamin Vedder 2a783d6e5f Fixed some app adc override behavior 2023-10-01 21:21:30 +02:00
Benjamin Vedder fd47441472 Added more settings 2023-10-01 20:12:00 +02:00
Benjamin Vedder 9e6a9648df Do range check earlier so that it works when app output is disabled 2023-10-01 19:48:37 +02:00
Benjamin Vedder d6f042dda5 Tweak 2023-09-29 16:08:18 +02:00
Benjamin Vedder 60a872809f Added hwconf-example 2023-09-29 16:03:05 +02:00
Benjamin Vedder 00724ebd4f Use all currents in sampled data 2023-09-29 13:50:50 +02:00
Benjamin Vedder 191a45fd88 Added another parameter 2023-09-26 17:41:44 +02:00
Benjamin Vedder fa328689cf Make copy of repl-buffer to avoid overwrite while the reader is running 2023-09-26 17:00:49 +02:00
Benjamin Vedder 369b723a16 Squashed 'lispBM/lispBM/' changes from 3047e3a3..948bb6bc
948bb6bc fix example evaluator with resent changes
c1a4112b added test of var definition already existing overwrite
2bedc6fb added a test of setq and progn-var
cfe513eb added a test involving setq and closure environments
9eaef7e5 removing a plethora of needless assignments
f38f20bb fix bug related to incremental read having an incorrect flag
512acc16 merge
03727930  fix problem in assoc and cossa
46825aab fix concerning floats on 64bit version

git-subtree-dir: lispBM/lispBM
git-subtree-split: 948bb6bc44c60d63eed89de0aad100d9b281d17d
2023-09-26 16:21:00 +02:00
Benjamin Vedder 234ee30416 Merge commit '369b723a16b8c660845f22cbe8894970366427d4' 2023-09-26 16:21:00 +02:00
Benjamin Vedder caff67ef95 Added more configuration parameters to lbm 2023-09-26 15:47:12 +02:00
Benjamin Vedder 2d7ab3e1cf Added extension to check if the adc-app voltage is within range 2023-09-26 13:33:23 +02:00
Benjamin Vedder 5484cf4cae
Merge pull request #657 from TechAUmNu/A200S_V41_HW
Add support for A200S V4.1, add alternative DC Cal, expose I2C for LSM6DS3
2023-09-26 12:16:23 +02:00
Benjamin Vedder 40e6f0b6e2
Merge pull request #635 from TechAUmNu/Calibrate-offsets-before-detection
Perform FOC offsets calibration when running FOC detection
2023-09-26 12:13:01 +02:00
Euan 31f238849c Add support for A200S V4.1, add alternative DC Cal, expose I2C for LSM6DS3
Adds support for A200S V4.1
Move A200S V4 to its own folder.
Expose I2C for LSM6DS3 to allow other devices on the same I2C bus. (It is now setup the same as the other IMUs)

Add alternative DC Calibration routine for Low side shunt hardware with very high mosfet output capacitance. The usual calibration routine causes an offset in the current calibration at high voltage from the capacitance discharging through the motor inductance when the single phase goes low. The alternative routine switches all phases at 50% to give a clean V0 state. This routine should not be run while the motor is spinning, so automatic calibration on startup is disabled when this routine is selected.
2023-09-26 10:07:06 +01:00
Euan Mutch 6ae5b63f61
Don't calibrate undriven 2023-09-26 09:41:07 +01:00
Benjamin Vedder c4a43fd8d7 Doc-tweaks 2023-09-25 21:50:13 +02:00
Benjamin Vedder f9adcfb6dc Add current off delay on relative current functions to make the rpm-limit more smooth on the apps 2023-09-25 21:27:36 +02:00
Benjamin Vedder d01b74bff2 Added documentation for the file system extensions 2023-09-25 14:30:01 +02:00
Benjamin Vedder c67946039b Normalize angle after interpolation 2023-09-25 13:43:43 +02:00
Benjamin Vedder aac50698af Added UART interrupt priority hack 2023-09-24 20:19:12 +02:00
Benjamin Vedder 3d8df40d7d Updated changelog 2023-09-23 15:08:01 +02:00
Benjamin Vedder 79c86db6e6 New current sampling modes, FOC interpolation support 2023-09-23 14:45:00 +02:00
Benjamin Vedder b6f26be5b4 Updated interrupt priorities 2023-09-23 14:42:59 +02:00
Benjamin Vedder 4e0288d37f Added buf-find 2023-09-07 14:31:06 +02:00
Benjamin Vedder 95227daa1e Use float-version of sqrt in fft 2023-09-05 11:20:35 +02:00
Benjamin Vedder 7c99a5d575 Added more extension-slots 2023-09-02 10:02:52 +02:00
Benjamin Vedder 2734eb4d9f
Merge pull request #652 from manoukianv/master
Fix BissC encoder stat
2023-08-29 09:10:47 +02:00
manoukianv 508220676e Fix encoder reset stat when all is ok 2023-08-28 23:01:19 +02:00