CMSIS-DAP + mbed as a Professional Training Platform - Emilio Monti


CMSIS-DAP + mbed as a Professional Training Platform - Emilio Monti.

http://mbed.org/blog/entry/mbed-professional-training-platform/

CMSIS-DAP using the mbed and the Keil uVision IDE. The details of which are:
  1. Native C/C++ Application development for the mbed using CMSIS-DAP
  2. User I/O from mbed with CMSIS-DAP
  3. Rehosting ARMCC for the mbed with CMSIS-DAP
  4. Test Driven Development (TDD) with the mbed
.END


Test Driven Development (TDD) with the mbed
  1. Test Driven Development (TDD) with the mbed
One of the most useful fallout’s from the acceptance of Agile techniques is the use of Test-Driven-Development (TDD) and the growth of associated test frameworks, such as GoogleTest and CppUTest, etc.

I won’t get into the details of TDD here as they are well covered elsewhere (I recommend James Grenning’s book “Test Driven Development for Embedded C” for a good coverage of the subject area), but the principle is

Write a test
Develop enough code to compile and build (but will fail the test)
Write the application code to pass the test
repeat until done

Obviously that is massively simplifying the process, but that’s the gist. The key to it all is automation, in that you want to write a new test and then the build-deploy-test-report (BDTR) cycle is automated.

...

.END2

No comments:

Post a Comment