Commit Graph

2804 Commits

Author SHA1 Message Date
Benjamin Vedder e296897186 Added sleep documentation 2023-02-28 16:18:53 +01:00
Benjamin Vedder c4315497d3 Doc tweak 2023-02-28 14:43:48 +01:00
Benjamin Vedder e9aa9e58ce Added documentation for vesc express extensions 2023-02-28 14:28:03 +01:00
Benjamin Vedder 2353139b97 Doc tweak 2023-02-28 12:05:16 +01:00
Benjamin Vedder a1143dc5c0 Added hw-type sysinfo 2023-02-28 12:02:18 +01:00
Benjamin Vedder 335ef5f599 Updated documentation 2023-02-28 11:36:56 +01:00
Benjamin Vedder 0606f2f3c5 Added platform and version information 2023-02-27 22:39:29 +01:00
Benjamin Vedder 7ae56c0a71 Added foc-functions to C lib, fix in eeprom extension 2023-02-27 11:57:19 +01:00
Benjamin Vedder 6578a642d1 Fixed can repl command 2023-02-23 20:33:25 +01:00
Benjamin Vedder 73aac1bf76
Merge pull request #594 from lrnd/custom_encoder_callback
typo fix for custom encoder read callback
2023-02-23 08:54:01 +01:00
Benjamin Vedder d52c79b2f6 Detect restarts in blocking extensions 2023-02-20 11:15:32 +01:00
Benjamin Vedder be0bc7dc18 Added crc16 extension 2023-02-20 10:04:14 +01:00
Benjamin Vedder 8c9b1ebf4e Incremented beta number 2023-02-18 11:07:10 +01:00
Benjamin Vedder ae882ee48f Updated for latest lbm flat values 2023-02-18 11:05:24 +01:00
Benjamin Vedder 61f48a8fc6 Squashed 'lispBM/lispBM/' changes from 20e97c4b..07baa883
07baa883 small tweak to flatten/unflatten
3baa1619 flat values now contain a copy of arrays rather than a pointer to an array
c582416d improvement in lbm_lift_array
f4229a43 changes to find_receiver_and_send
d04a77dd switched to lbm_malloc in lbm_create_ctx
4e2e8ad4 fix buf in lbm_create_ctx thatcould potentially have allocated too little memory for a context
01f3c746 bux fix get_event_value, freed already freed lbm_memory array
2ed2560a bug in unflatten_value
7971a6eb change granularity of locks
51058b80 added an undo_block_ctx_from_extension function and resolved an issue with test_memory_3 on 64 bit platforms

git-subtree-dir: lispBM/lispBM
git-subtree-split: 07baa883ab18d2f12d69f36cf22aaf9f86954624
2023-02-18 10:54:32 +01:00
Benjamin Vedder 63c1aa0f8b Merge commit '61f48a8fc6f9191b5705a2ba34f3068cee553670' 2023-02-18 10:54:32 +01:00
Benjamin Vedder ec6d7289be Fixed memory leak 2023-02-16 21:19:13 +01:00
Benjamin Vedder 6bc0ae9f26 Squashed 'lispBM/lispBM/' changes from 574c07ac..20e97c4b
20e97c4b added a mutex for blocking extensions

git-subtree-dir: lispBM/lispBM
git-subtree-split: 20e97c4b3a7e05695dbd0570494f4f0eef1be646
2023-02-16 19:15:52 +01:00
Benjamin Vedder 1468b6d1fa Merge commit '6bc0ae9f26a65d02ba4bea2c393460d2af509f7a' 2023-02-16 19:15:52 +01:00
Benjamin Vedder cc86f0c6f9 Safe handling of blocked contexts 2023-02-16 19:10:14 +01:00
Benjamin Vedder a746ac32cf Squashed 'lispBM/lispBM/' changes from e86f19c9..574c07ac
574c07ac bugfix in lbm_event_internal
4d56cc2a memory handling when it comes to events
584b6718 renamed lbm_unblock_force to lbm_unblock_ctx_unboxed and allows any unboxed value passed to the unblocked process

git-subtree-dir: lispBM/lispBM
git-subtree-split: 574c07aca2b24a59f19f6476f4ad90ac003495e2
2023-02-16 17:16:02 +01:00
Benjamin Vedder 949943b3ac Merge commit 'a746ac32cf1ec99b92b9802cca6ca92eec7deb53' 2023-02-16 17:16:02 +01:00
Benjamin Vedder dbf937541e Squashed 'lispBM/lispBM/' changes from 8cad0294..e86f19c9
e86f19c9 removal of dead code + bug fix in event
3653e80d tweak to fundamental_sub as per Benjamin's suggestion

git-subtree-dir: lispBM/lispBM
git-subtree-split: e86f19c9178b4f8b551d10c5b6c01da4c927f463
2023-02-16 15:49:10 +01:00
Benjamin Vedder 4fd68c4c10 Merge commit 'dbf937541ebc5a8bfdbdce9721260dd1ad4408c3' 2023-02-16 15:49:10 +01:00
Benjamin Vedder 857e9549f9 Squashed 'lispBM/lispBM/' changes from 751af620..8cad0294
8cad0294 Going back to old style fundamental operation handling

git-subtree-dir: lispBM/lispBM
git-subtree-split: 8cad0294dd0eaeafdc22e71d5840a36edc8cefbd
2023-02-16 10:48:34 +01:00
Benjamin Vedder a024c2c3cb Merge commit '857e9549f9d02d1832627403ac61f236dc87755e' 2023-02-16 10:48:34 +01:00
Benjamin Vedder 69f7c98eb3 Changes for lbm updates 2023-02-16 09:02:09 +01:00
Benjamin Vedder 6106081220 Added mk6_max hardware 2023-02-16 09:00:49 +01:00
Benjamin Vedder 315770dc0a Squashed 'lispBM/lispBM/' changes from d8f12fb9..751af620
751af620 revamping of variout fundamental operations.

git-subtree-dir: lispBM/lispBM
git-subtree-split: 751af620c9ecf2c5a20f34e6ad60ea054596d63e
2023-02-15 23:26:27 +01:00
Benjamin Vedder b8fd8abae7 Merge commit '315770dc0a215e8426441607d6c36c16ba239deb' 2023-02-15 23:26:27 +01:00
Benjamin Vedder 5eb89cfa25 Squashed 'lispBM/lispBM/' changes from 0b42837e..d8f12fb9
d8f12fb9 potentially some slight space improvements in regards to fundamentals

git-subtree-dir: lispBM/lispBM
git-subtree-split: d8f12fb93b4a8b00ef5edd37fdc884efe9550f61
2023-02-15 23:19:26 +01:00
Benjamin Vedder b1c1fadd80 Merge commit '5eb89cfa25107f10d25dd0eb0f17988f44cdfa9e' 2023-02-15 23:19:26 +01:00
Benjamin Vedder 5e7e4ff714 Squashed 'lispBM/lispBM/' changes from 0c731969..0b42837e
0b42837e Revamping of some of the fundamental operations

git-subtree-dir: lispBM/lispBM
git-subtree-split: 0b42837ee95f6ad230a33863940aa3956bdcbe49
2023-02-15 19:29:45 +01:00
Benjamin Vedder d843969b48 Merge commit '5e7e4ff71482b306de3b4877ee67e9665504416f' 2023-02-15 19:29:45 +01:00
Benjamin Vedder 267eb0a204 Squashed 'lispBM/lispBM/' changes from db4994ce..0c731969
0c731969 applied small fix to malloc_reserve
50e22063 bug fixes in malloc and malloc_reserve, rearragements in event processing
3ab6cba9 There is now an artificial memory use limit that prohibits lbm_malloc from allocating all lbm_memory. To allocate without regards for the artificial limit use lbm_malloc_reserve
19745d9e flat_values are freed if event delivery not possible (no event handler). Unblock event will unblock blocked process even if there is no memory to unpack the flat_value into.

git-subtree-dir: lispBM/lispBM
git-subtree-split: 0c7319699d1150c366c1322f3ff986f45b2e4c0d
2023-02-15 15:58:44 +01:00
Benjamin Vedder e26afaa310 Merge commit '267eb0a2043a849cce53df8bf800a4e3458f79b2' 2023-02-15 15:58:44 +01:00
sean 2bb7d4328d typo fix for custom encoder read callback 2023-02-15 11:24:04 +11:00
Benjamin Vedder 4d947e27b1 Squashed 'lispBM/lispBM/' changes from 8dc4c6d9..db4994ce
db4994ce unflatten restarts completely if out of memory
f9faf1f8 removed dead code from eval_cps

git-subtree-dir: lispBM/lispBM
git-subtree-split: db4994ce6876694d3f8c8b2b0f7248f7b00ac5d9
2023-02-11 14:25:24 +01:00
Benjamin Vedder 5b3894ab70 Merge commit '4d947e27b1837ccfbb2db742c7870fd5fdd82fda' 2023-02-11 14:25:24 +01:00
Benjamin Vedder bf1387e648 Squashed 'lispBM/lispBM/' changes from 1267d006..8dc4c6d9
8dc4c6d9 added updated version of test_lisp_code.c that can produce events with lists of float
49dd1d31 added event tests to punish flat_values a bit.
9a2e004a fix flat_value bug, removed dead code and correctly labeled write_word static
c9ee2c2d actually adding the flat_value files
215f3ba1 flat value implementation. A lot of testing needed
24d5184e experimental alternative way to transport values from C to LBM safely and with no need to pause. Work in progress
6d98ff61 restructuring for readability of GC and added queue locks. blocked context unblocking is done by the evaluator in a safe state. Safe state unblocking makes a bit harder to relay information about wether or not it was successful back to the thread issuing the unblock. So it may be a bad idea. It also makes the event queue obligatory
55ca904d added another arith stress test
87d21426 added another arith stress test
f64d4c04 small tweaks to the runtime-extensions
ab055958 added an arithmetic stresstest2
a802ed13 fundamentals have been unified with apply_funs. All tests pass but probably a period of bugginess ahead
f00d6b46 added lbm-version extension to runtime extensions and changed return value on allocate_list_init in case there is not enough memory
2445974a preparations for unification of apply_fun and fundamentals
114b9a60 removed rot-vector function from Math extensions and added exp
6e1e7ee0 changed return value of define and added loop extensions from Benjamin BLDC
79622417 added loop extensions. todo: add tests

git-subtree-dir: lispBM/lispBM
git-subtree-split: 8dc4c6d9c16f7fce9753737423b8700f477f75f0
2023-02-11 10:20:37 +01:00
Benjamin Vedder ea14ddbd31 Merge commit 'bf1387e648fd329303202c8364609c49f29681ab' 2023-02-11 10:20:37 +01:00
Benjamin Vedder 0d0f30650a Fixed lbm current measurement commands, some tweaks and cleanup 2023-02-07 21:40:26 +01:00
Benjamin Vedder b12bcef957 Pause before unblocking extension for now 2023-02-04 11:25:55 +01:00
Benjamin Vedder 52d4b9d0c7 Updated CAN-doc 2023-02-03 10:12:12 +01:00
Benjamin Vedder 06906e29bb PPM detach fix and other tweaks 2023-02-02 14:03:43 +01:00
Benjamin Vedder 5b6cc075d3 disable all events on reset 2023-01-24 11:49:21 +01:00
Benjamin Vedder 77906ba781 Updated version number 2023-01-24 11:16:08 +01:00
Benjamin Vedder 5d3e02afd3 Updated to latest lbm 2023-01-24 11:15:12 +01:00
Benjamin Vedder 65a3ed7ca4 Squashed 'lispBM/lispBM/' changes from 1eceb43f..1267d006
1267d006 added one more memory test
a9782eda added two tests that try to be quite hard on the lbm_memory.
5c0841f8 small additions to matvec
bcb1ad7f added vector multiplication by scalar
ce5025cc small additions to matvec.
1758b335 renamed blas_extensions to matvec extensions as they wont provide the same set of operations as a blas library usually does
2e48e6b4 fix silly typo in lbm_memory.c
62154010 only initialized mutices 1 time
d1dbfd7c added a test of events
cb97d623 only add events to the event queue if there is an event handler
7a642222 removed usage of send_message in process_events
e3a68115 events are moving into the evaluator
64239a9b tweaks to random extensions
d61950d9 removed a print from sierpinski
f8a1d586 added sierpinski and flake examples to sdlrepl
72d8e4f4 added random number extensions to sdlrepl
ba9c449a changed constants involved in the pseudorandom generator.
8806e369 remove left over debug printing
10cc7fab added random number generator extensions
184c756b added memory leakage tests for string extensions
4373713d work in progress linear_algebra extensions
135591bd added str-merge test
7bff0e97 added a test. more to follow
e1aad339 added a small set of runtime system related extensions
5495b5da updates to custom type interface.
4e3b408a rename strnlen to strlen_max
03644f64 pulling in string extensions from vedderb\bldc into string_extensions.c
294f013b grabbed a few extra array-extensions into array_extensions.c from Vedderb/BLDC
87f95e67 adding all the Math extensions from Vedder/BLDC to math_extensions.c

git-subtree-dir: lispBM/lispBM
git-subtree-split: 1267d006e90085920a3de720480dc2d19d71c8ff
2023-01-24 09:19:05 +01:00
Benjamin Vedder 1bc0baf2da Merge commit '65a3ed7ca429d343051fb687a7929c4a1201c9b5' 2023-01-24 09:19:05 +01:00