Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 4, 2019. It is now read-only.

Fixed ARDUINO define #37

Merged
merged 1 commit into from
Dec 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Change Log

### Version 2.0.0 (Dec 13th 2017)
# Version [2.0.1](https://github.com/arduino-cmake/arduino-cmake/compare/v2.0.0...v2.0.1) (Dec 19th 2017)

### Bug fixes

* fixed `-DARDUINO` define for Arduino SDK versions between 1.0.0 and 1.5.8. This bug caused to included `WProgram.h` instead of `Arduino.h` for aforementioned versions.

# Version 2.0.0 (Dec 13th 2017)

An epic version which integrates too many changes to be listed and recorded since the latest stable version, which was **1.0.0**. It has been released almost <u>4 years ago</u>!

Expand Down
4 changes: 1 addition & 3 deletions cmake/Platform/Core/BoardFlags/FlagsSetter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ function(_get_normalized_sdk_version OUTPUT_VAR)
# -DARDUINO format after 1.0.0 combines all 3 version parts together,
# e.g. for 1.5.3 version -DARDUINO=153
set(NORMALIZED_VERSION
"${ARDUINO_SDK_VERSION_MAJOR}\
${ARDUINO_SDK_VERSION_MINOR}\
${ARDUINO_SDK_VERSION_PATCH}")
"${ARDUINO_SDK_VERSION_MAJOR}${ARDUINO_SDK_VERSION_MINOR}${ARDUINO_SDK_VERSION_PATCH}")
endif ()
endif ()

Expand Down