-Minialistic buzzer on servo pin:
-trigger short beep on boot
-short 20ms beep to let you know powerdown time has been reached
-long beep to let you know force-powerdown time has been reached
Signed-off-by: Dado Mista <dadomista@gmail.com>
fd0f1fab Added a rewind heuristic to lbm_free that moves the allocation offset to the lowest free address reachable from the free point without jumping over allocated blocks.
e220591a update to lbmref
d1b4da3a update to lbmref
69d78238 fix typo refman
d8f3f706 added some more text to the semantics section
a2b6d52d some additions and tweaks to refman
4667a69d a small amount of work on the semantics section in the refman
2883988a update lbmref with sleep
c28ddb1d fix typo ion previous commit
86205e1c refactor for readability
cbe5d384 refactoring for readability
git-subtree-dir: lispBM/lispBM
git-subtree-split: fd0f1fabd387f6a8d78b953815cda2f58c1b1366
shutdown can now only be triggered by a long-press
-500ms of button press triggers shutdown provided erpm < 100
-above 100 erpm the button must be held for 3 seconds to force shutdown
Actual shutdown happens on release of the button
Signed-off-by: Dado Mista <dadomista@gmail.com>
Store data only after shutdown hold has been disabled, this ensure all data to be stored, otherwise some data could be missed if we hold the shutdown for a long period of time.
The previous strategy of relaxing the torque sensor range has been
suboptimal.
By measuring and storing the TS offset all sensors work seamlessly.
Signed-off-by: Marcos Chaparro <marcos@lunacycle.com>
b2c9089e added two more tests related to progn var
72977a90 added comment
90516324 small refactorings in eval_cps
dd12f7a3 shortcut saving one roundtrip in call-cc
git-subtree-dir: lispBM/lispBM
git-subtree-split: b2c9089e81ae2f7ed25a10362d33e5dbb70309f9
a0f97629 remote leftover debugcode
1b6446d8 added documentation for the trap error handling special form
09a5dbf7 a first attempt at a trap that does not require spawning a thread.
5fdaef42 added 2 tests related to the setassoc bugfix!
a430d3d2 bugfix related to setassoc
e35992d5 some experimentation
601d51c4 towards byte-code compilation
54249110 minitweak
bed397b4 If a value is returned after the call to lbm_block_ctx_from_extension, this value is protected against GC until after the context is unblocked
5855144f a way to protect data from GC while in a blocked extension added.
git-subtree-dir: lispBM/lispBM
git-subtree-split: a0f976296e4e88f24e12ca0a2b7f5d45b8aec216
Implement cadence input check to ensure the output is forced to zero
when the cranks are not spinning.
This addresses a specific failure mode where a torque sensor could
incorrectly produce a non-zero output even when the rider is not pedaling.
Signed-off-by: Marcos Chaparro <marcos@lunacycle.com>
3b309a7a lift_array had a similar problem to flatten
82416070 fix crash related flat values
657fc80e refactor flatten so that one jumpbuf can be removed - More refactoring to do here
a9b92906 removed whitespace before comment in one place
dd3a2111 Fixing the 64bit GC issue in a slightly different way and adding notes to how it works. Also added a note about a potential optimization in the GC
2d214410 64 bit lbm is happy again
2061925e something is wrong with 64bit LBM
0e0430f0 refactoring to be able to remove seldomly used function get_caar
git-subtree-dir: lispBM/lispBM
git-subtree-split: 3b309a7a8137b04b1e9a6705a1ab7474864f7d66
fe287450 Fix bug in GC related to callcc using the lisp-array as its storage. Also renaming for compatibility with old C code that interfaces with LBM
git-subtree-dir: lispBM/lispBM
git-subtree-split: fe287450786605c3118397d25a7246e0c35eeedf
85675e29 refactor of COND to be able to remove the single-use cddr function.
9d0bb92c added a reminder note in heap.c
e0f7403a small refactor in env and addition of high-level array eq comparison
463e9c32 Change to how reader flags are saved and restored.
8271b1ed fix bug: some constant values were not flattenable.
7bf86cf9 small refactor and added caching of clean-cl-env symbol in case of CLEAN_UP_CLOSURES.
ea3ec7da Marking an array is now an O(N) operation with an additional storage of one 32bit value per array.
872355a4 added a self-reminder in heap.c about how to make array marking linear in size of array.
a0c7afb9 be more explicit in what the INCREMENTA_READ context flag is set to upon launching a read
d71c218a added an example of how to implement map over an array
449075bb added note about garbage collection of arrays (so that I remember)
89bff1c9 updated array mark algorithm and added a note about why it is a bit of a tricky problem to mark arrays
fa1e1e41 adding a note about why GC for high-level arrays is a bit of a tricky problem
384c45d0 array-to-list and list-to-array, length now also returns the size of an array
1f226ec7 fixing two issues in print indicated by sa
9abbeddc clean up in print.c
059295c8 high level arrays can now be stored in flash.
32d162b4 high level arrays can be flattened and unflattened
2f96314c experimental high-level arrays
835e1f22 internal renaming of ARRAY to BYTEARRAY has begun
9e733c42 more cases where symbol decoding has been removed
d23995cf removing a number of encodes/decodes of symbols
c6171530 Version 0.24.0
0d4fb1d0 added some info about index into rest-args
9fb71256 made a few cases of floating point literals in lbmref more readable
9bd5e055 fix typo
0961f4bc update lbmref with more text about rest-args
24959852 a start of a flat-value specification in the lbmref.md
37c9fe3a updated 64 bit tests to follow same approach as run_tests.sh and run_tests_gc.sh. Also added 64bit tests to the release script
0d323069 sdlrepl has been absorbed into the standard repl and can be made by 'make sdl'
37f28977 closing some warnings when doing 64bit build. Some things should be specified better.. such as allowed range of array sizes
376f10f8 small tweak, cleaning
05326ef2 removed old notes
a89aa19b remove old scripts related to building of previously removed examples
238d4752 removing a bunch of old examples that I will not have the endurance to keep updating
fb741051 examples have been moved into repl.
6d52ae40 tweak typo
c63863a8 rename to md
ad7dacee update README
ef0a75d9 update Makefile for change in directory hierarchy
012a82ea cleaning and updating examples in repl directory
35074ebc improved rendering of examples containing float literals
d558c580 started a section about functional and imperative in lbmref
a3c7fda1 update lbmref with latest arithmetic performance
5eb0f0d5 added new charts to show arithmetic performance. TODO update lbmref to display correct info
4d784e27 fix bug introduced into 64bit version by recent changes
git-subtree-dir: lispBM/lispBM
git-subtree-split: 85675e29a299664697476a5b8d64bd50b450f575