Milosch Meriac / CThunk

Dependents:   cthunk_example

Files at this revision

API Documentation at this revision

Comitter:
meriac
Date:
Wed Aug 20 13:36:46 2014 +0000
Parent:
5:df90d98292a6
Child:
7:289963aeee06
Commit message:
added gcc thumb2 detection;

Changed in this revision

CThunk.h Show annotated file Show diff for this revision Revisions of this file
--- a/CThunk.h	Wed Aug 20 12:18:33 2014 +0000
+++ b/CThunk.h	Wed Aug 20 13:36:46 2014 +0000
@@ -23,7 +23,7 @@
 #ifndef __CTHUNK_H__
 #define __CTHUNK_H__
 
-#ifdef __CORTEX_M3
+#if defined(__CORTEX_M3) || defined(__thumb2__)
 #  define CTHUNK_OPCODE 0x8007E89F;
 #  define CTHUNK_ADDRESS 1
 #else