Commit Graph

2623 Commits

Author SHA1 Message Date
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
Benjamin Vedder 3ae1b06d92 First attempt at CAN-documentation 2023-01-23 18:24:56 +01:00
Benjamin Vedder a28eec80d9 Fixed link in readme 2023-01-09 19:33:44 +01:00
Benjamin Vedder 5eaea72df0 Lisp ICU support 2023-01-09 19:31:31 +01:00
Benjamin Vedder 5367d397a6 Cleanup 2023-01-09 12:08:25 +01:00
Benjamin Vedder 140899f2b5
Merge pull request #588 from Blevruz/vesc_c_if_nvm_access
Adds vesc_c_if nvm access
2023-01-09 10:18:55 +01:00
blevruz 547c33ebc8 switches prefix of interface functions from "if_" to "flash_helper_" 2023-01-09 10:14:05 +01:00
blevruz 910b9f69b7 comment changed to doxygen format 2023-01-06 17:15:36 +01:00
blevruz 693eab0f08 cleanup 2023-01-06 17:06:09 +01:00
blevruz d73477b057 corrects error: forgot to add sector address to variable's address when writing 2023-01-06 15:05:13 +01:00
blevruz cafbdce6a4 corrects misnomer 2023-01-04 14:32:12 +01:00
blevruz 3ed72ec152 moved nvm interface functions to "flash_helper.h", rewrote them to make use of pre-existing functions, and switched over to using lists instead of single bytes. 2023-01-04 13:56:29 +01:00
blevruz 6371ddadad moves new function pointers to the end of vesc_c_if.h for retrocompatibility purposes 2023-01-04 13:17:10 +01:00
Benjamin Vedder f77e39538d Updated lbm doc 2023-01-04 11:30:46 +01:00
blevruz 53e64c9f60 fixes warnings 2023-01-04 09:42:12 +01:00
blevruz 94f80a9e94 adds NVM access function (exclusively for region 8 of flash). TODO: fix warnings, do a test 2023-01-04 02:46:00 +01:00
Benjamin Vedder 0dec878d1d Multiple CAN RX buffers 2023-01-02 13:09:10 +01:00
Benjamin Vedder 196bb2e812 Squashed 'lispBM/lispBM/' changes from 2d281d94..1eceb43f
1eceb43f sdlrepl 1M lbm memory
d1803070 removing the done queue that is nolonger used for anything
84820a1d fix bug in recv
bb4c5f40 tweaks to SDL repl. Compiles again

git-subtree-dir: lispBM/lispBM
git-subtree-split: 1eceb43f0fa3acc88f4b79a9e0a9e5517f9e991d
2022-12-28 13:18:58 +01:00
Benjamin Vedder 9486b4d736 Merge commit '196bb2e812b49787eabe0aea8183968c740849e0' 2022-12-28 13:18:58 +01:00
Benjamin Vedder 58af4779da Removed extra line 2022-12-28 13:13:52 +01:00
Benjamin Vedder 20f92086cc Added tag-info to readme 2022-12-28 12:57:45 +01:00
Benjamin Vedder 6651ca02ec Renamed changelog and added 6.02-changes so far 2022-12-28 11:41:09 +01:00
Benjamin Vedder 53c5d0e385
Merge pull request #586 from jaykup26/changelog
Markdown format and release dates for the changelog
2022-12-28 11:23:54 +01:00
unknown f98229153c Added markdown format and release dates to the changelog 2022-12-27 11:45:46 -06:00
Benjamin Vedder 5e14654098 Context info update 2022-12-27 12:11:31 +01:00
Benjamin Vedder d5c3736ba7 Squashed 'lispBM/lispBM/' changes from 86722c10..2d281d94
2d281d94 added a allocate_list_init function and implemented mk_closure using it

git-subtree-dir: lispBM/lispBM
git-subtree-split: 2d281d94325a6e5b95833ecf0d5a370424cc09b7
2022-12-19 20:16:54 +01:00
Benjamin Vedder 7dd757fcf7 Merge commit 'd5c3736ba7710bebb9342054ddc6a5b0e5c76ffa' 2022-12-19 20:16:54 +01:00
Benjamin Vedder e96f03514f Squashed 'lispBM/lispBM/' changes from dd848f86..86722c10
86722c10 fix an off by one error in allocate_list

git-subtree-dir: lispBM/lispBM
git-subtree-split: 86722c105a3d623752002bbac9a3f387fbbd4ef6
2022-12-19 09:26:30 +01:00
Benjamin Vedder 875324dd91 Merge commit 'e96f03514faf48b72bcd06728f5446ef1e0b1704' 2022-12-19 09:26:30 +01:00
Benjamin Vedder 842f70e983 Squashed 'lispBM/lispBM/' changes from cf1214d8..dd848f86
dd848f86 small readability refactor
3853cb02 removing a dead-store in qq_expand.c
8f26a7b0 Refactoring symrepr.c for readability and code-reuse

git-subtree-dir: lispBM/lispBM
git-subtree-split: dd848f86f03698c9f34097d0e37d14841e8fcfb3
2022-12-19 00:20:54 +01:00
Benjamin Vedder 788eccec2d Merge commit '842f70e98339e3f47bb51c6100d8ab2cf43b1f74' 2022-12-19 00:20:54 +01:00
Benjamin Vedder c01de39288 Added res, ind and lambda estimation lbm commands 2022-12-19 00:14:57 +01:00