This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum class ASCII : char | |
{ | |
eNUL, | |
eSOH, | |
eSTX, | |
eETX, | |
eEOT, | |
eENQ, | |
eACK, | |
eBEL, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Architecture options usage | |
-------------------------------------------------------------------- | |
| ARM Core | Command Line Options | multilib | | |
|----------|--------------------------------------------|----------| | |
|Cortex-M0+| -mthumb -mcpu=cortex-m0plus | armv6-m | | |
|Cortex-M0 | -mthumb -mcpu=cortex-m0 | | | |
|Cortex-M1 | -mthumb -mcpu=cortex-m1 | | | |
| |--------------------------------------------| | | |
| | -mthumb -march=armv6-m | | | |
|----------|--------------------------------------------|----------| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set(GCC_INCLUDE_DIRECTORIES) | |
if(WIN32) | |
execute_process( | |
COMMAND ${CMAKE_CXX_COMPILER} -v -x c++ -E NUL | |
ERROR_VARIABLE _gcc_output | |
OUTPUT_QUIET) | |
else() | |
execute_process( | |
COMMAND ${CMAKE_CXX_COMPILER} -v -x c++ -E - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstddef> | |
#include <tuple> | |
template<class F> | |
struct function_traits; | |
// function pointer | |
template<class R, class... Args> | |
struct function_traits<R(*)(Args...)> : public function_traits<R(Args...)> | |
{}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo | g++ -dM -E - | |
echo | clang++ -dM -E - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A PAINLESS GUIDE TO CRC ERROR DETECTION ALGORITHMS | |
================================================== | |
"Everything you wanted to know about CRC algorithms, but were afraid | |
to ask for fear that errors in your understanding might be detected." | |
Version : 3. | |
Date : 19 August 1993. | |
Author : Ross N. Williams. | |
Net : ross@guest.adelaide.edu.au. |