Commit Graph
19 Commits
Author SHA1 Message Date
nqtronix 1327282bac [change] index type set by typedef instead of macro 2018-10-29 21:47:55 +01:00
nqtronix 1f7a82d0ed [fix] _fff_init_a() can now be used to globaly initialise a variable v0.4.1 2018-10-26 20:29:27 +02:00
nqtronix 8612c57557 [snapshot 0.4.0] Arrays of fifos now possible... [+2]
... Example code is included ath the end of fifofast_demo.c
[change] structure name generation has been unified. This requires no change in the user's code
[note] optimisation has been disabled, because else GCC optimizes fifos away, DESPITE volatile declaration (at least for testing in the simulator)
2018-10-24 18:18:08 +02:00
nqtronix 75b568ff94 [fix] 0.3.5 did not compile because of missing defined
I've no idea why I forgot to compile last version, but the issue is fixed now.
2018-10-24 07:15:13 +02:00
nqtronix 6708be55ae [new] aligned data example in fifofast_demo.c [+1]
[cleanup] in preparation to re-introduce the inline functions the three pointable fifo-types have been unified. You can gloabally select the desired max size with 'FIFOFAST_INDEX_TYPE'
2018-10-23 21:57:09 +02:00
nqtronix 9e92c11435 [fix] unused debug variables don't cause warnings anymore 2018-10-22 19:56:51 +02:00
nqtronix e7fb8a1de8 [cleanup] only include what is really needed 2018-10-22 18:19:50 +02:00
nqtronix 86116f0325 [fix] macro file structure correct in the .cproj file 2018-10-22 17:52:32 +02:00
nqtronix a3bd4c5a56 [update] optimised log2 macro by using a GCC build-in function...
... This also fixed a bug with the log2_16 and log2_32 macros (which was not further investigated, because both macros have been replaced now).
2018-10-14 17:07:26 +02:00
nqtronix 4d78697143 [update] changed underlying macro file structure 2018-10-14 16:14:31 +02:00
nqtronix 24dad3d100 [snapshot 0.3.0] _fff_remove is now proven to work... [+3]
... because I totaly forgot to test it properly in last snapshot
[change] _fff_remove re-written and _fff_remove_lite variant added
[new] tests for _fff_remove added
[new] test for _fff_peek idx overflow added
2018-10-03 13:58:16 +02:00
nqtronix 6e323ce62a [update] corrected a few comments 2018-10-03 11:49:39 +02:00
nqtronix 41e2b28d27 [fix] _fff_read() returns now any type correctly 2018-09-26 11:39:07 +02:00
nqtronix a74df4e663 [update] readme.md contains now mention of the license 2018-09-26 09:59:58 +02:00
nqtronix f90439df30 [new] now under MIT license! 2018-09-26 09:42:55 +02:00
nqtronix 9f77287f45 [update] readme.md to 0.2.0 ...
... readme updated to match latest version of the code and changed some phrasing.
2018-09-26 09:36:58 +02:00
nqtronix be8ab9635c [snapshot 0.2.0] all macros tested and working as expected [+3]
[new] test file for all macros added. It also shows how macros are used.
[change] member "min_w" has been changed to its inverse meaning "level". This improves readability and speeds up common loops like "while(!_fff_is_empty(...))" slightly
[change] inline functions temporary commented
2018-09-26 09:19:46 +02:00
nqtronix de49e94b1f [pre-release] fifofast seperated from my usual working directory...
...  and is now compilible on its own. It comes with all helper macros required and a (very) crude demo file. Documentation and demo file will be extended soon.

version 0.1.0+wip
2018-09-17 21:07:45 +02:00
nqtronix e129cf121b Initial commit 2018-09-17 21:06:13 +02:00