Commit Graph

1831 Commits

Author SHA1 Message Date
Benjamin Vedder d45900ddc4 Merge commit '3dd1bd9c626dda5c4efba1ba7df830227fafc1f8' 2022-05-10 19:32:01 +02:00
Benjamin Vedder 3dd1bd9c62 Squashed 'lispBM/lispBM/' changes from a136db86..94df9e23
94df9e23 a bit hacky but should be in the right direction
234f9782 unused arguments

git-subtree-dir: lispBM/lispBM
git-subtree-split: 94df9e23ceeeec9d6e28b0c84f4d96a7440244cf
2022-05-10 19:32:01 +02:00
Benjamin Vedder 0d2b0baac9 Added printf 2022-05-10 19:31:58 +02:00
Benjamin Vedder 92b2a8830b Squashed 'lispBM/lispBM/' changes from 748a3a97..a136db86
a136db86 Bug fix towards adding capability to dynamically load an extension

git-subtree-dir: lispBM/lispBM
git-subtree-split: a136db86d29f0808811af2d8b50ba36ca1d2a399
2022-05-10 19:05:51 +02:00
Benjamin Vedder 1f4018a32a Merge commit '92b2a8830bb59c82f5e2d3f101fa77110c46d776' 2022-05-10 19:05:51 +02:00
Benjamin Vedder e6f31eb5f6 Added stop function 2022-05-10 19:05:43 +02:00
Benjamin Vedder e00b9d1dde Merge branch 'master' of github.com:vedderb/bldc 2022-05-10 16:27:23 +02:00
Benjamin Vedder 558ccafdbe
Merge pull request #493 from avlasic/get_config_fix
Send back app and mc config to requester port
2022-05-10 16:27:15 +02:00
Benjamin Vedder cfb5e8b522 Squashed 'lispBM/lispBM/' changes from 4d6badc8..748a3a97
748a3a97 added a way to make up symbols on the fly in the extensions array. Symbol names starting with ext are allocated to the extensions table
5c934bd7 added a profiling script that uses callgrind
d5c14c2a cleaning out old unused code from heap.c

git-subtree-dir: lispBM/lispBM
git-subtree-split: 748a3a974f80c47c59a1252abc4db4cfb1fb875e
2022-05-10 16:19:07 +02:00
Benjamin Vedder 0a53c4a4cd Merge commit 'cfb5e8b522dfa9acb3987bb2be194095bca02797' 2022-05-10 16:19:07 +02:00
Benjamin Vedder 1af7e84402 Added library loader and reserved 1k ram for libraries 2022-05-10 16:19:01 +02:00
Andrej Vlašić 710a2e9a6d Send back app and mc config to requester port 2022-05-10 13:27:09 +02:00
Benjamin Vedder 08da2db380 Squashed 'lispBM/lispBM/' changes from 5c7c28f5..4d6badc8
4d6badc8 Merge branch 'master' of github.com:svenssonjoel/lispbm
44b05640 adding an extension with the same name as an earlier added extension should now replace the previous extension with the new one
2e878154 added lbm_memory macros for 10, 12 and 14 K of lbm_memory
37c3bff6 store size of symbol table and provide function for getting table size and total size of strings stored in table
5658f36c fix comment

git-subtree-dir: lispBM/lispBM
git-subtree-split: 4d6badc89760869504d4dbf0e9e1c51934b10ce2
2022-05-09 16:24:00 +02:00
Benjamin Vedder 0d70c06f6b Merge commit '08da2db380048f9f99cef39bbfa63470550c14f4' 2022-05-09 16:24:00 +02:00
Benjamin Vedder e474102bec Disable app output when receiving UAVCAN commands 2022-05-07 00:37:03 +02:00
Benjamin Vedder 594e3bc789 UAVCAN stability improvements 2022-05-07 00:33:03 +02:00
Benjamin Vedder 910f741e21 Fixed typos 2022-05-06 23:46:38 +02:00
Benjamin Vedder f2d9303e2e Also wait for fault codes to go away before attempting offset calibration at boot 2022-05-06 22:20:32 +02:00
Benjamin Vedder f3dffaaa73 Set offsets to hw defauls on failed measurement 2022-05-06 22:08:41 +02:00
Benjamin Vedder 02a1ce030e Fixed typo 2022-05-06 20:09:29 +02:00
Benjamin Vedder d87ada9b1a Added FOC detection command 2022-05-06 19:49:58 +02:00
Benjamin Vedder 452254d73c Add argument to get setting limits 2022-05-06 18:41:50 +02:00
Benjamin Vedder cf63e3c77b Added many more settings to lispbm 2022-05-06 14:37:08 +02:00
Benjamin Vedder d5619f98f1 Added optional fault info string and implemented it for the phase filter fault 2022-05-06 00:49:35 +02:00
Benjamin Vedder a1bbc1041a
Merge pull request #491 from powerdesigns/hw_backups
Add hw specific backups
2022-05-05 22:34:12 +02:00
Marcos Chaparro 46d132a2d7 Add hw specific backups
Data stored in this memory will be persistent across firmware updates.

This uses the same method used in the VESC BMS firmware.

Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2022-05-05 16:28:58 -03:00
Benjamin Vedder 8553e6deec Macro symbol name changes 2022-05-05 20:02:20 +02:00
Benjamin Vedder 3991b47281 Squashed 'lispBM/lispBM/' changes from 26c1b54c..5c7c28f5
5c7c28f5 added explanatory reasons for read errors

git-subtree-dir: lispBM/lispBM
git-subtree-split: 5c7c28f55fdb2fbda9df90755f5be481b5d8d2a7
2022-05-05 19:51:17 +02:00
Benjamin Vedder 3ca6067b52 Merge commit '3991b47281aa1e0be0f13b6e100861a007d681db' 2022-05-05 19:51:17 +02:00
Benjamin Vedder ac1ef5fbb0 Major loop performance and memory optimization, gave lbm more memory 2022-05-05 19:50:22 +02:00
Benjamin Vedder a67222bcf0 Merge branch 'master' of github.com:vedderb/bldc 2022-05-05 13:25:46 +02:00
Benjamin Vedder 3473a107f5
Merge pull request #489 from secupol/master
Fixed typo
2022-05-05 13:25:33 +02:00
secupol 8475f3ef4d
Fixed typo 2022-05-05 07:13:28 +09:00
secupol 2b5f63b6e1
Fixed typo 2022-05-05 07:02:23 +09:00
Benjamin Vedder 8470944cc5 Squashed 'lispBM/lispBM/' changes from be981ff1..26c1b54c
26c1b54c read errors now have line and column numbers associated with them.

git-subtree-dir: lispBM/lispBM
git-subtree-split: 26c1b54c6c4affd86dfc92cf8550c757ad42891b
2022-05-04 22:16:07 +02:00
Benjamin Vedder b83f6db413 Merge commit '8470944cc53de689b98108cee6c753a3d0cde3b1' 2022-05-04 22:16:07 +02:00
Benjamin Vedder da7dd09839
Merge pull request #488 from TechAUmNu/better-fault-handling
Improve fault handling during detection routines
2022-05-04 22:15:51 +02:00
Euan 5e5c6f6d0e Stop on fault in flux linkage measurement 2022-05-04 20:17:38 +01:00
Euan 3db2860cf4 Improve fault handling during detection routines
Added more checks for faults during detection routines.
Always return an error if a fault occured.
Handing for returned errors.
2022-05-04 19:41:09 +01:00
Benjamin Vedder 4dbe8c6837 Squashed 'lispBM/lispBM/' changes from 90b18761..be981ff1
be981ff1 added setix to refman and a way to block a context from a c extension together with a way to later unblock such a blocked context from C
8d4ec0e3 small tweak to the main evaluation case (function application).
289c69a6 a small tweak for closure argument evaluation efficiency
664347f4 added the lbm_stack_reserve function for allocation of multiple words on the stack in one go

git-subtree-dir: lispBM/lispBM
git-subtree-split: be981ff1f8e40b40dfa1dcbc43075e9e8ec9fa9c
2022-05-03 22:58:33 +02:00
Benjamin Vedder 5a7f769d27 Merge commit '4dbe8c6837099ad4a676f74a04f62ef0041afd1a' 2022-05-03 22:58:33 +02:00
Benjamin Vedder 099aeb5b56
Merge pull request #487 from powerdesigns/extra_fw_version_name
Extra fw version name
2022-05-03 22:53:47 +02:00
Benjamin Vedder 9ec5fec4cf Added lispbm gpio-support for adc1 and adc2 2022-05-03 22:53:10 +02:00
Benjamin Vedder 2f9faf8ac9 Package fix 2022-05-03 22:22:27 +02:00
Benjamin Vedder 112a0af934 Added 60v2_alva_mk2 2022-05-03 22:11:55 +02:00
Marcos Chaparro df9097a0a3 Show no_hw_limits as FW_NAME for builds with disabled limits
FW_NAME can still be overridden at hwconf level

Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2022-05-03 11:23:20 -03:00
Marcos Chaparro d290f61ddf Send FW_NAME
See https://github.com/vedderb/vesc_tool/pull/229

Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2022-05-03 09:54:36 -03:00
Benjamin Vedder 21a8967831
Merge pull request #485 from Mitchlol/increase_odr_to_match_sampling
Increase bmi160 output data rates to match oversampling
2022-05-02 11:01:54 +02:00
Mitch Lustig 458febdad1 Increase bmi160 output data rates to match oversampling 2022-05-01 19:39:53 -07:00
Benjamin Vedder 503a55005e Do not block on tx with half duplex uart 2022-05-01 20:55:05 +02:00