Commit Graph

25 Commits

Author SHA1 Message Date
Lephenixnoir 6df36ce8d3
cmake: install in the fxSDK sysroot 2022-08-19 16:38:35 +02:00
Lephenixnoir 5b669e5529
harden macros 2022-08-16 09:07:12 +02:00
Lephenixnoir 6d82009532
add C++ header guards 2022-02-27 16:27:45 +00:00
Lephenixnoir b6657c0834
add non-recursive, faster versions of enter/leave 2021-09-27 22:01:04 +02:00
Lephenixnoir ac348bce34
cmake: lower minimum required version to 3.15 2021-05-10 15:27:47 +02:00
Lephenixnoir c0d5b053d9
udpate to gint 2.4.0 2021-04-27 16:25:48 +02:00
Lephenixnoir fd90842b82
cmake: force linking before gint 2021-02-04 21:55:04 +01:00
Lephenixnoir 08ee98cef1
cmake: only require version 3.16 2021-02-01 22:28:11 +01:00
Lephenixnoir a9f1dc3ec8
build: fix uninstall command for sh-based OSes 2021-01-29 19:05:11 +01:00
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