tbox icon indicating copy to clipboard operation
tbox copied to clipboard

Using tbox in embedded platform

Open nandra opened this issue 4 years ago • 6 comments

Hi,

thanks for nice work. I browsed through library and seems interesting. Is there some embedded project which using this library? I'm in process of define and write some generic embedded framework and maybe can re-use this library. What I'm lacking is missing unit test for most of functions. Would be accepted some pull requests with some tests added? Thanks a lot.

Marek

nandra avatar Mar 31 '20 17:03 nandra

There are currently some Linux-based embedded projects in use, but not many.

And I need to simply implement the unit test framework in src/tests in these days before I can accept the test-related pr.

waruqi avatar Apr 01 '20 00:04 waruqi

I mean bare metal using like without OS or with some RTOS. Which unittest framework you plan to add? Thanks.

nandra avatar Apr 01 '20 06:04 nandra

I mean bare metal using like without OS or with some RTOS

I have not tested it on rtos, you may need to write some platform codes (src/tbox/platform/) to support them.

Which unittest framework you plan to add?

Not sure yet, I might write it myself

waruqi avatar Apr 01 '20 06:04 waruqi

OK thanks for response.

nandra avatar Apr 01 '20 06:04 nandra

I've used Unity very successfully to unit test C code for an STM32 device on Linux and Windows. The only thing I didn't like is it completely controls all output so you have to use an external tool to create log files. There was also no traceability tools for verification processes, but that's a different problem.

RussellHaley avatar Dec 03 '20 06:12 RussellHaley

Is tbox an alternative to glib that is normally for desktop applications? glib is widely used there and I actually feel tbox might be of great use in embedded space, either way it needs to have enough test cases.

where is tbox mainly used these days?

laoshaw avatar Mar 13 '22 16:03 laoshaw