![](/media/cache/profiles/momo.jpg.50x50_q85.jpg)
for check gcc version.
Diff: main.cpp
- Revision:
- 1:74efec1a152d
- Parent:
- 0:c90924697e25
- Child:
- 2:50d77aa2ab58
--- a/main.cpp Wed Oct 21 10:31:19 2015 +0000 +++ b/main.cpp Thu Oct 22 10:14:15 2015 +0000 @@ -3,6 +3,7 @@ Serial pc(USBTX, USBRX); int main() { + pc.printf("ARMCC_VERSION=%d\n", __ARMCC_VERSION); #if defined(__GNUC__) # define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) pc.printf("GCC_VERSION=%d\n", GCC_VERSION);