implementação do sgam_mdw baseado na placa NUCLEO FZ429ZI para ser testada
Dependencies: MPU6050 Grove_temperature
mbedtls_lora_config.h@17:8789ab4067a6, 2019-07-20 (annotated)
- Committer:
- AndersonIctus
- Date:
- Sat Jul 20 14:02:50 2019 -0300
- Revision:
- 17:8789ab4067a6
- Parent:
- 8:e00fa6ea253c
- Inclusao do GPS FAKE
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AndersonIctus | 8:e00fa6ea253c | 1 | /** |
AndersonIctus | 8:e00fa6ea253c | 2 | * Copyright (c) 2017, Arm Limited and affiliates. |
AndersonIctus | 8:e00fa6ea253c | 3 | * SPDX-License-Identifier: Apache-2.0 |
AndersonIctus | 8:e00fa6ea253c | 4 | * |
AndersonIctus | 8:e00fa6ea253c | 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
AndersonIctus | 8:e00fa6ea253c | 6 | * you may not use this file except in compliance with the License. |
AndersonIctus | 8:e00fa6ea253c | 7 | * You may obtain a copy of the License at |
AndersonIctus | 8:e00fa6ea253c | 8 | * |
AndersonIctus | 8:e00fa6ea253c | 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
AndersonIctus | 8:e00fa6ea253c | 10 | * |
AndersonIctus | 8:e00fa6ea253c | 11 | * Unless required by applicable law or agreed to in writing, software |
AndersonIctus | 8:e00fa6ea253c | 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
AndersonIctus | 8:e00fa6ea253c | 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
AndersonIctus | 8:e00fa6ea253c | 14 | * See the License for the specific language governing permissions and |
AndersonIctus | 8:e00fa6ea253c | 15 | * limitations under the License. |
AndersonIctus | 8:e00fa6ea253c | 16 | */ |
AndersonIctus | 8:e00fa6ea253c | 17 | |
AndersonIctus | 8:e00fa6ea253c | 18 | #ifndef MBEDTLS_LORA_CONFIG_H |
AndersonIctus | 8:e00fa6ea253c | 19 | #define MBEDTLS_LORA_CONFIG_H |
AndersonIctus | 8:e00fa6ea253c | 20 | |
AndersonIctus | 8:e00fa6ea253c | 21 | /* |
AndersonIctus | 8:e00fa6ea253c | 22 | * Configure mbedtls for LoRa stack. |
AndersonIctus | 8:e00fa6ea253c | 23 | * |
AndersonIctus | 8:e00fa6ea253c | 24 | * These settings are just a customization of the main mbedtls config |
AndersonIctus | 8:e00fa6ea253c | 25 | * mbed-os/features/mbedtls/inc/mbedtls/config.h |
AndersonIctus | 8:e00fa6ea253c | 26 | */ |
AndersonIctus | 8:e00fa6ea253c | 27 | |
AndersonIctus | 8:e00fa6ea253c | 28 | // Ensure LoRa required ciphers are enabled |
AndersonIctus | 8:e00fa6ea253c | 29 | #define MBEDTLS_CIPHER_C |
AndersonIctus | 8:e00fa6ea253c | 30 | #define MBEDTLS_AES_C |
AndersonIctus | 8:e00fa6ea253c | 31 | #define MBEDTLS_CMAC_C |
AndersonIctus | 8:e00fa6ea253c | 32 | |
AndersonIctus | 8:e00fa6ea253c | 33 | // Reduce ROM usage by optimizing some mbedtls features. |
AndersonIctus | 8:e00fa6ea253c | 34 | // These are only reference configurations for this LoRa example application. |
AndersonIctus | 8:e00fa6ea253c | 35 | // Other LoRa applications might need different configurations. |
AndersonIctus | 8:e00fa6ea253c | 36 | #define MBEDTLS_AES_FEWER_TABLES |
AndersonIctus | 8:e00fa6ea253c | 37 | |
AndersonIctus | 8:e00fa6ea253c | 38 | #undef MBEDTLS_GCM_C |
AndersonIctus | 8:e00fa6ea253c | 39 | #undef MBEDTLS_CHACHA20_C |
AndersonIctus | 8:e00fa6ea253c | 40 | #undef MBEDTLS_CHACHAPOLY_C |
AndersonIctus | 8:e00fa6ea253c | 41 | #undef MBEDTLS_POLY1305_C |
AndersonIctus | 8:e00fa6ea253c | 42 | |
AndersonIctus | 8:e00fa6ea253c | 43 | #endif /* MBEDTLS_LORA_CONFIG_H */ |