mbed-os/UNITTESTS/target_h
Kevin Bracey 3939c992d4 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-11-13 14:31:49 +02:00
..
drivers Change Doxygen groups structure, splitting first by Public/Internal (#11105) 2019-08-02 12:23:47 +01:00
events Correctly include EventQueue.h 2019-02-21 17:59:05 +02:00
platform Add enough stubs to allow drivers/* to compile. 2019-11-04 16:12:36 +02:00
rtos Add enough stubs to allow drivers/* to compile. 2019-11-04 16:12:36 +02:00
sys cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
ATCmdParser.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
PeripheralNames.h Add unit testing framework 2018-08-27 14:32:35 +03:00
PinNames.h Add enough stubs to allow drivers/* to compile. 2019-11-04 16:12:36 +02:00
arm_math.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
cmsis.h Revise MbedCRC template 2019-11-13 14:31:49 +02:00
cmsis_compiler.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
cmsis_os.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
cmsis_os2.h Add enough stubs to allow drivers/* to compile. 2019-11-04 16:12:36 +02:00
device.h Add enough stubs to allow drivers/* to compile. 2019-11-04 16:12:36 +02:00
gpio_object.h Add moduletest for SlicingBlockDevice 2019-11-04 16:13:32 +02:00
mbed.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
mbed_rtx.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
mbed_rtx_conf.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
myCellularContext.h Cellular: Fix setting of PDP context ID (cid) 2019-09-27 02:09:36 -07:00
myCellularDevice.h Cellular: Added set routine for baud rate 2019-11-01 17:21:31 +02:00
nsapi_ppp.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
nvic_wrapper.h Add unit testing framework 2018-08-27 14:32:35 +03:00
objects.h Add moduletest for SlicingBlockDevice 2019-11-04 16:13:32 +02:00
randLIB.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
rtx_lib.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
rtx_os.h unittests: fix astyle 2018-10-25 09:58:18 +01:00