So there wouldn't be anything specific for embedded, you can apply the same testing practice as other systems where you ensure you abstract out the functions in such a way that the logic can be tested.
The complexity about embedded starts want to incorporate the testing with things like IO, which is more end to end testing rather than TDD.