mbed-os/TESTS/mbed_drivers
Kevin Bracey a995c162ac Revise MbedCRC template
* Use compile-time detection of hardware CRC capability, so unneeded
  code and tables do not go into the image.
* Add global JSON config option to allow choice between no tables,
  16-entry tables or 256-entry tables for software CRC. Default set
  to 16-entry, reducing ROM size from previous 256-entry.
* Allow manual override in template parameter to force software or
  bitwise CRC for a particular instance.
* Micro-optimisations, particularly use of `RBIT` instruction and
  optimising bitwise computation using inline assembler.

Incompatible changes:

* Remove special-case "POLY_32BIT_REV_ANSI" - users can use standard
  POLY_32BIT_ANSI, which now uses the same 16-entry tables by default,
  or can use hardware acceleration, which was disabled for
  POLY_32BIT_REV_ANSI. MbedCRC<POLY_32BIT_ANSI, 32, CrcMode::TABLE> can
  be used to force software like POLY_32BIT_REV_ANSI.
* The precomputed table for POLY_16BIT_IBM had errors - this has been
  corrected, but software CRC results will be different from the previous
  software calculation.
* < 8-bit CRC results are no longer are shifted up in the output value,
  but placed in the lowest bits, like other sizes. This means that code
  performing the SD command CRC will now need to use `(crc << 1) | 1`,
  rather than `crc | 1`.
2019-12-02 14:45:37 +02:00
..
c_strings Integrated minimal-printf in mbed-os 2019-08-01 12:41:59 +01:00
crc Revise MbedCRC template 2019-12-02 14:45:37 +02:00
dev_null tests: astyle fix 2018-08-03 10:23:38 +01:00
echo tests: astyle fix 2018-08-03 10:23:38 +01:00
flashiap FlashIAP: Get erase value from HAL instead of hardcoding it 2019-10-26 14:11:42 -07:00
generic_tests tests: astyle fix 2018-08-03 10:23:38 +01:00
lp_ticker Incorporated the review comments 2019-11-07 07:19:13 -08:00
lp_timeout Error message correction and rx_lib header filer removed on systimer test case 2019-11-08 16:11:11 -08:00
lp_timer Incorporated the review comments 2019-11-07 07:19:13 -08:00
mem_trace Newline at the end of files 2019-08-01 08:44:58 +02:00
race_test Incorporated review comments 2019-11-08 06:49:28 -08:00
reset_reason Change reset_reason timeout. 2019-09-13 13:29:56 +02:00
rtc Incorporated the review comments 2019-11-07 07:19:13 -08:00
sleep_lock Newline at the end of files 2019-08-01 08:44:58 +02:00
stl_features tests: astyle fix 2018-08-03 10:23:38 +01:00
ticker Incorporated the review comments 2019-11-07 07:19:13 -08:00
timeout Incorporated the review comments 2019-11-07 07:19:13 -08:00
timer Incorporated the review comments 2019-11-07 07:19:13 -08:00
timerevent Incorporated the review comments 2019-11-07 07:19:13 -08:00
watchdog Error message correction and rx_lib header filer removed on systimer test case 2019-11-08 16:11:11 -08:00
watchdog_reset Merge pull request #11773 from fkjagodzinski/fix-watchdog_reset_test 2019-11-22 22:26:44 +01:00