Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: WebSocket-Client-Example SharkMQ-LED-Demo
Revision 1:d5e0e1dcf0d6, committed 2016-05-23
- Comitter:
- wini
- Date:
- Mon May 23 13:56:30 2016 +0000
- Parent:
- 0:e0adec41ad6b
- Commit message:
- Type conflict fix (U8-U32) for latest mbed release.
Changed in this revision
inc/TargConfig.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/inc/TargConfig.h Wed Apr 06 00:46:36 2016 +0000 +++ b/inc/TargConfig.h Mon May 23 13:56:30 2016 +0000 @@ -99,7 +99,12 @@ #define baFree(m) free(m) #endif -#ifndef __MBED__ +/* Some mbed releases use conflicting types. Undo the two macro + definitions commented out below if you get 'undefined' compile + errors. +*/ +/* #ifndef __MBED__ */ + #ifndef INTEGRAL_TYPES #define INTEGRAL_TYPES #if (__STDC_VERSION__ >= 199901L) || defined( __GNUC__) @@ -123,7 +128,9 @@ typedef signed long long S64; #endif #endif -#endif + +/* #endif */ /* __MBED__ */ + typedef U8 BaBool; #ifdef EXT_SHARK_LIB