analogdevicesinc / msdk

Software Development Kit for Analog Device's MAX-series microcontrollers
Apache License 2.0
60 stars 75 forks source link

feat(ThirdParty): Unity unit test #1033

Open EricB-ADI opened 4 weeks ago

EricB-ADI commented 4 weeks ago

Pull Request Template

Description

EricB-ADI commented 4 weeks ago

Hey @Jake-Carter , I want to integrate unity into our SDK so we can have, and offer a unit test framework. I have it working ok, but it would benefit a lot more if we can integrate it better into the build system. I updated the libs.mk to include the lib. You can run the tests on target, but it is definitely meant to be ran on the PC. Looking for some pointers or help trying to integrate this better.

EricB-ADI commented 4 weeks ago

/clang-format-run

Jake-Carter commented 4 weeks ago

Hey @Jake-Carter , I want to integrate unity into our SDK so we can have, and offer a unit test framework. I have it working ok, but it would benefit a lot more if we can integrate it better into the build system. I updated the libs.mk to include the lib. You can run the tests on target, but it is definitely meant to be ran on the PC. Looking for some pointers or help trying to integrate this better.

Sounds good, I'll take a look

Jake-Carter commented 4 weeks ago

https://github.com/ThrowTheSwitch/Unity

EricB-ADI commented 3 weeks ago

Just realized it got added as a submodule and none of the folders are there. Yes I did make a unity.mk.

EricB-ADI commented 3 weeks ago

This should make more sense now.

EricB-ADI commented 3 weeks ago

/clang-format-run

EricB-ADI commented 3 weeks ago

/clang-format-run

EricB-ADI commented 3 weeks ago

@Jake-Carter Everything is working as expected. I reran MSDKGen to update all the makefiles.

Jake-Carter commented 3 weeks ago

@Jake-Carter Everything is working as expected. I reran MSDKGen to update all the makefiles.

@EricB-ADI can you revert it and just update a single project? My browser crashes now when I try to view the diff

EricB-ADI commented 2 weeks ago

@Jake-Carter Everything is working as expected. I reran MSDKGen to update all the makefiles.

@EricB-ADI can you revert it and just update a single project? My browser crashes now when I try to view the diff

done

sihyung-maxim commented 11 hours ago

Removed Unity from the linter.