From db0a19edd8c4cd62c6784d8bb1d91c61a6447a2a Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 24 Oct 2020 18:34:11 +0200 Subject: Remove Template Code --- my-common-code/api-asm.S | 19 ------------------- my-common-code/api-asm.h | 7 ------- my-common-code/api.c | 7 ------- my-common-code/api.h | 1 - 4 files changed, 34 deletions(-) delete mode 100644 my-common-code/api-asm.S delete mode 100644 my-common-code/api-asm.h delete mode 100644 my-common-code/api.c delete mode 100644 my-common-code/api.h (limited to 'my-common-code') diff --git a/my-common-code/api-asm.S b/my-common-code/api-asm.S deleted file mode 100644 index 93419fd..0000000 --- a/my-common-code/api-asm.S +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Example of a pure assembly file - * For most people, this is normally unnecessary, you can use inline - * ASM in a C file, if you even need to use ASM at all. - * However, if you reallllly like doing this sort of thing, here's how :) - */ - -.syntax unified -.thumb -.section .text - -#include - -.global rev_bytes -.func rev_bytes /* only used for debugger */ -.type rev_bytes, STT_FUNC -rev_bytes: - rev r0, r0 - bx lr diff --git a/my-common-code/api-asm.h b/my-common-code/api-asm.h deleted file mode 100644 index b153620..0000000 --- a/my-common-code/api-asm.h +++ /dev/null @@ -1,7 +0,0 @@ -#include -/** - * Reverse bytes in words - * @param in word in form abcd - * @returns word in form dcba - */ -uint32_t rev_bytes(uint32_t in); diff --git a/my-common-code/api.c b/my-common-code/api.c deleted file mode 100644 index ec24e0c..0000000 --- a/my-common-code/api.c +++ /dev/null @@ -1,7 +0,0 @@ - -#include "api.h" - -int my_func(int a) -{ - return a * 3; -} diff --git a/my-common-code/api.h b/my-common-code/api.h deleted file mode 100644 index b5a9c98..0000000 --- a/my-common-code/api.h +++ /dev/null @@ -1 +0,0 @@ -int my_func(int a); -- cgit v1.2.3-70-g09d2