Mikhail Antropov
8ea575856a
OSCBS-23 Fix PR#2
2022-06-21 18:37:43 +03:00
Mikhail Antropov
1b147e2edc
OSCBS-23 Scalable BACnet object arrays, part #2
...
Add processing object table as section iterable for zephyr
- zephyr/subset/object/device.c
- zephyr/subset/object/objects.ld
Add object descriptor array as dynamic list
- zephyr/subset/object/object.h
- zephyr/subset/object/*.c
2022-06-17 11:56:17 +03:00
Mikhail Antropov
adbbbeef64
OSCBS-23 Add backport.h for all ports
...
BACNET_OBJECT_TABLE will be use in zephyr port for create iterable section
2022-06-15 09:52:52 +03:00
Steve Karg
c3a4c229fe
Issue 87 execute tests with GitHub ci ( #234 )
...
* Enable lcov coverage in unit testing via cmake.
* fix pipeline build error
* add compile options for unit test to silence some warnings
* remove all BAC_TEST unit tests in src/bacnet/ folder. They are now in test/bacnet/ folders using ztest.
* removed key.c - only used for unit test.
* produce XML test result output for parsing
* produce junit XML test result output
* change lint workflow to quality
* update readme badge for quality results
Co-authored-by: Steve Karg <skarg@users.sourceforge.net >
2022-02-28 20:09:46 -06:00
Steve Karg
295f127c2b
Feature/makefile add apps library ( #218 )
...
* add BACnet stack library at apps/lib
* convert apps to use apps/lib for smaller binary
* fix -DBACDL_ALL=1 build
* fix piface build
* datalink MAX_MPDU and MAX_HEADER cleanup
* add bip6 to git workflow
* fix system library dependency of BACnet library
Co-authored-by: Steve Karg <skarg@users.sourceforge.net >
2022-01-29 15:55:40 -06:00
Greg Shue
8b8ef8f338
Issue 187 enable skipped ztest suites ( #189 )
...
* Fix some ztests that were skipped
* Expose bacapp_same_value()
* Fix bacapp, ptransfer tests
* Fix bugs in Load_Control object & tests
* refactor days functions from datetime module
* fix legacy ctests
* Add bacnet/basic/sys/days.[ch] to Zephyr build
* Update ztest to match from Zephyr v2.6.0; update ringbuf, datetime to build
* Fixup ztest test for object/acc
* Fix bvlc_address_from_ascii; enable/fix bvlc test
* Comment cleanup
* test/bacnet/basic/object/lc partially enabled
* Fix bacapp_decode_data_len return status on erroneous input
* fix ztest include fatal error
* fix ztest strsignal reference fatal error
* fix zassert_mem_equal reference syntax error
* fix zassert_mem_equal reference syntax error
Co-authored-by: Gregory Shue <gregory.shue@legrand.us >
Co-authored-by: Steve Karg <skarg@users.sourceforge.net >
2021-08-16 17:29:40 -05:00
Greg Shue
9acca32ba8
Moved west.yml to root; updated to zephyr v2.6.0 ( #186 )
...
Co-authored-by: Gregory Shue <gregory.shue@legrand.us >
2021-08-03 09:12:45 -05:00
Greg Shue
c5f59af14b
Zephyr cleanup (fix date-time.c, cleanout device.c, use full C lib) ( #124 )
...
Co-authored-by: Gregory Shue <gregory.shue@legrand.us >
2020-09-23 14:27:52 -05:00
Greg Shue
a95b7d597e
Zephyr core bacnet server port; bacnet/device test ( #123 )
...
Co-authored-by: Gregory Shue <gregory.shue@legrand.us >
2020-09-22 09:24:38 -05:00
Greg Shue
19869dccdb
Feature/zephyr ztest ( #118 )
...
* Leverage (older) embedded unit tests into external unit tests build upon copy of Zephyr's ztest library and CMake.
* Expand top-level CMake build to run external unit tests.
* Expand Zephyr module extension to run external unit tests via west or sanitycheck.
Co-authored-by: Gregory Shue <gregory.shue@legrand.us >
2020-09-16 07:33:34 -05:00
Gregory Shue
6ccc9505f3
Simplest Zephyr module + bacnet_stack config and hello sample
2020-08-29 13:08:08 -07:00