Nordic stack and drivers for the mbed BLE API
Dependents: Sensen-classic-v8-IAQ_copy_4
Fork of nRF51822 by
TARGET_MCU_NRF51822/sdk/source/prevent_bootloader_frame_pointer.cmake@639:7f459d371b75, 2017-11-10 (annotated)
- Committer:
- amithy
- Date:
- Fri Nov 10 20:27:44 2017 +0000
- Revision:
- 639:7f459d371b75
- Parent:
- 638:c90ae1400bf2
t
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Vincent Coubard |
638:c90ae1400bf2 | 1 | # Copyright 2015 ARM Limited |
Vincent Coubard |
638:c90ae1400bf2 | 2 | # |
Vincent Coubard |
638:c90ae1400bf2 | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
Vincent Coubard |
638:c90ae1400bf2 | 4 | # you may not use this file except in compliance with the License. |
Vincent Coubard |
638:c90ae1400bf2 | 5 | # You may obtain a copy of the License at |
Vincent Coubard |
638:c90ae1400bf2 | 6 | # |
Vincent Coubard |
638:c90ae1400bf2 | 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
Vincent Coubard |
638:c90ae1400bf2 | 8 | # |
Vincent Coubard |
638:c90ae1400bf2 | 9 | # Unless required by applicable law or agreed to in writing, software |
Vincent Coubard |
638:c90ae1400bf2 | 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
Vincent Coubard |
638:c90ae1400bf2 | 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
Vincent Coubard |
638:c90ae1400bf2 | 12 | # See the License for the specific language governing permissions and |
Vincent Coubard |
638:c90ae1400bf2 | 13 | # limitations under the License. |
Vincent Coubard |
638:c90ae1400bf2 | 14 | |
Vincent Coubard |
638:c90ae1400bf2 | 15 | message("omit frame pointer for bootloader startup asm") |
Vincent Coubard |
638:c90ae1400bf2 | 16 | |
Vincent Coubard |
638:c90ae1400bf2 | 17 | if(CMAKE_C_COMPILER_ID STREQUAL "GNU") |
Vincent Coubard |
638:c90ae1400bf2 | 18 | set_source_files_properties( |
Vincent Coubard |
638:c90ae1400bf2 | 19 | "${CMAKE_CURRENT_LIST_DIR}/nordic_sdk/components/libraries/bootloader_dfu/bootloader_util.c" |
Vincent Coubard |
638:c90ae1400bf2 | 20 | PROPERTIES COMPILE_FLAGS -fomit-frame-pointer) |
Vincent Coubard |
638:c90ae1400bf2 | 21 | endif() |