Commit Graph

16 Commits

Author SHA1 Message Date
Lephenixnoir 8c34abe3ca
update README 2021-01-28 22:53:20 +01:00
Lephenixnoir 6b5685a35e
add version and a find_package() module 2021-01-28 22:23:33 +01:00
Lephenixnoir 91bb658d6c
update README 2021-01-27 15:20:55 +01:00
Lephenixnoir 02774004a2
switch build system to CMake 2021-01-27 15:04:26 +01:00
Lephenixnoir 05e6463139
add support for quick build with GiteaPC 2021-01-25 15:58:52 +01:00
Lephenixnoir a15c193ab7
renew the timer if it underflows 2020-10-20 16:28:57 +02:00
Lephenixnoir 7ae42ac662
explicitly specify the default Pϕ/4 prescaler
This makes no difference since this is the default.
2020-10-20 15:12:28 +02:00
Lephenixnoir 5be56fe2eb
let the user allocate contexts locally
This incompatible change modifies the allocation method for contexts.
Instead of managing a set of IDs in an malloc()-backed array, contexts
can now be allocated on the stack or static RAM.

Contexts are values of type [prof_t] and can be initialized to the value
provided by prof_make(). lvalues to contexts replace context IDs.

Finally, prof_exec() no longer requires a context to be specified, it
creates one on the fly.
2020-10-13 19:30:45 +02:00
Lephenixnoir 8a0bcfe903
fix a dead wrong call to free(prof_time) 2020-07-20 20:22:09 +02:00
Lephenixnoir 8b074a4e58
update to upcoming timer API of gint 2.1 2020-06-20 23:20:20 +02:00
Lephenixnoir f79e6d2cc6
add support for DESTDIR for packaging 2020-06-01 23:19:29 +02:00
Lephenixnoir ef49aa8da4
build with sh-elf by default (fixes #1) 2020-02-18 07:52:01 +01:00
Lephenixnoir e4cedf72a9 use the target's archiver to create the library 2019-07-29 10:17:21 -04:00
Lephenixnoir 0566fad0c5 add README 2019-07-17 14:39:05 -04:00
Lephenixnoir 2c78a2cfeb basic working implementation with manual calls 2019-07-17 13:00:49 -04:00
Lephenixnoir d8883da3c0 build system 2019-07-17 13:00:20 -04:00