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.
Dependencies: BLE_API X_NUCLEO_IDB0XA1 mbed
Fork of N06_NAND by
bricks/target.h@22:d467526abc4a, 2016-12-18 (annotated)
- Committer:
- hux
- Date:
- Sun Dec 18 05:33:58 2016 +0000
- Revision:
- 22:d467526abc4a
some new stuff added - works now
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| hux | 22:d467526abc4a | 1 | // bricks/target.h - define target specifics |
| hux | 22:d467526abc4a | 2 | |
| hux | 22:d467526abc4a | 3 | #ifndef _BRICKS_TARGET_H_ |
| hux | 22:d467526abc4a | 4 | #define _BRICKS_TARGET_H_ |
| hux | 22:d467526abc4a | 5 | |
| hux | 22:d467526abc4a | 6 | // platform specific defines - comment out platforms which are not used |
| hux | 22:d467526abc4a | 7 | // We work only with two kinds of platform: |
| hux | 22:d467526abc4a | 8 | // |
| hux | 22:d467526abc4a | 9 | // a) a NUCLEO platform from STMicroelectronics |
| hux | 22:d467526abc4a | 10 | // b) a nRF51 platform from Nordic Semiconductor |
| hux | 22:d467526abc4a | 11 | // |
| hux | 22:d467526abc4a | 12 | // If we have not a nRF51 target then we coclude it is a NUCLEO target. This is |
| hux | 22:d467526abc4a | 13 | // not really clean, but under above assumptions it works so far! |
| hux | 22:d467526abc4a | 14 | |
| hux | 22:d467526abc4a | 15 | #ifdef TARGET_NRF51822 |
| hux | 22:d467526abc4a | 16 | # define LED_INVERTED // inverted LED for nRF51 targets |
| hux | 22:d467526abc4a | 17 | #endif |
| hux | 22:d467526abc4a | 18 | |
| hux | 22:d467526abc4a | 19 | #endif // _BRICKS_TARGET_H_ |
