Skip to content

Commit

Permalink
Requiring GCC 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-kirienko committed Aug 3, 2018
1 parent 402758b commit b1354f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -57,7 +57,7 @@ factory fresh MCU.

Prerequisites:

* [GCC ARM 4.9 or newer](https://launchpad.net/gcc-arm-embedded) (beware that *some* newer versions of GCC segfault during linking)
* GCC ARM 7.2
* Python 3.2+
* Linux or OSX host computer (Windows is not supported)

Expand Down
2 changes: 1 addition & 1 deletion firmware/src/main.cpp
Expand Up @@ -219,6 +219,6 @@ int main()
#define MATCH_GCC_VERSION(major, minor) \
((__GNUC__ == (major)) && (__GNUC_MINOR__ == (minor)))

#if !(MATCH_GCC_VERSION(7, 2) || MATCH_GCC_VERSION(4, 9))
#if !(MATCH_GCC_VERSION(7, 2))
# error "This compiler is not supported"
#endif

0 comments on commit b1354f4

Please sign in to comment.