mbed official / mbed

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

Committer:
<>
Date:
Tue Mar 14 16:20:51 2017 +0000
Revision:
138:093f2bd7b9eb
Parent:
134:ad3be0349dc5
Child:
145:64910690c574
Release 138 of the mbed library

Ports for Upcoming Targets


Fixes and Changes

3716: fix for issue #3715: correction in startup files for ARM and IAR, alignment of system_stm32f429xx.c files https://github.com/ARMmbed/mbed-os/pull/3716
3741: STM32 remove warning in hal_tick_32b.c file https://github.com/ARMmbed/mbed-os/pull/3741
3780: STM32L4 : Fix GPIO G port compatibility https://github.com/ARMmbed/mbed-os/pull/3780
3831: NCS36510: SPISLAVE enabled (Conflict resolved) https://github.com/ARMmbed/mbed-os/pull/3831
3836: Allow to redefine nRF's PSTORAGE_NUM_OF_PAGES outside of the mbed-os https://github.com/ARMmbed/mbed-os/pull/3836
3840: STM32: gpio SPEED - always set High Speed by default https://github.com/ARMmbed/mbed-os/pull/3840
3844: STM32 GPIO: Typo correction. Update comment (GPIO_IP_WITHOUT_BRR) https://github.com/ARMmbed/mbed-os/pull/3844
3850: STM32: change spi error to debug warning https://github.com/ARMmbed/mbed-os/pull/3850
3860: Define GPIO_IP_WITHOUT_BRR for xDot platform https://github.com/ARMmbed/mbed-os/pull/3860
3880: DISCO_F469NI: allow the use of CAN2 instance when CAN1 is not activated https://github.com/ARMmbed/mbed-os/pull/3880
3795: Fix pwm period calc https://github.com/ARMmbed/mbed-os/pull/3795
3828: STM32 CAN API: correct format and type https://github.com/ARMmbed/mbed-os/pull/3828
3842: TARGET_NRF: corrected spi_init() to properly handle re-initialization https://github.com/ARMmbed/mbed-os/pull/3842
3843: STM32L476xG: set APB2 clock to 80MHz (instead of 40MHz) https://github.com/ARMmbed/mbed-os/pull/3843
3879: NUCLEO_F446ZE: Add missing AnalogIn pins on PF_3, PF_5 and PF_10. https://github.com/ARMmbed/mbed-os/pull/3879
3902: Fix heap and stack size for NUCLEO_F746ZG https://github.com/ARMmbed/mbed-os/pull/3902
3829: can_write(): return error code when no tx mailboxes are available https://github.com/ARMmbed/mbed-os/pull/3829

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 132:9baf128c2fab 1 /* mbed Microcontroller Library
<> 132:9baf128c2fab 2 * Copyright (c) 2006-2013 ARM Limited
<> 132:9baf128c2fab 3 *
<> 132:9baf128c2fab 4 * Licensed under the Apache License, Version 2.0 (the "License");
<> 132:9baf128c2fab 5 * you may not use this file except in compliance with the License.
<> 132:9baf128c2fab 6 * You may obtain a copy of the License at
<> 132:9baf128c2fab 7 *
<> 132:9baf128c2fab 8 * http://www.apache.org/licenses/LICENSE-2.0
<> 132:9baf128c2fab 9 *
<> 132:9baf128c2fab 10 * Unless required by applicable law or agreed to in writing, software
<> 132:9baf128c2fab 11 * distributed under the License is distributed on an "AS IS" BASIS,
<> 132:9baf128c2fab 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
<> 132:9baf128c2fab 13 * See the License for the specific language governing permissions and
<> 132:9baf128c2fab 14 * limitations under the License.
<> 132:9baf128c2fab 15 */
<> 132:9baf128c2fab 16 #ifndef MBED_OBJECTS_H
<> 132:9baf128c2fab 17 #define MBED_OBJECTS_H
<> 132:9baf128c2fab 18
<> 132:9baf128c2fab 19 #include "cmsis.h"
<> 132:9baf128c2fab 20 #include "PortNames.h"
<> 132:9baf128c2fab 21 #include "PeripheralNames.h"
<> 132:9baf128c2fab 22 #include "PinNames.h"
<> 132:9baf128c2fab 23 #if DEVICE_SPI_ASYNCH
<> 132:9baf128c2fab 24 #include "fsl_dspi_edma.h"
<> 132:9baf128c2fab 25 #endif
<> 134:ad3be0349dc5 26 #if DEVICE_SERIAL_ASYNCH
<> 134:ad3be0349dc5 27 #include "fsl_uart_edma.h"
<> 134:ad3be0349dc5 28 #endif
<> 132:9baf128c2fab 29 #include "dma_api_hal.h"
<> 132:9baf128c2fab 30
<> 132:9baf128c2fab 31 #ifdef __cplusplus
<> 132:9baf128c2fab 32 extern "C" {
<> 132:9baf128c2fab 33 #endif
<> 132:9baf128c2fab 34
<> 132:9baf128c2fab 35 struct gpio_irq_s {
<> 132:9baf128c2fab 36 uint32_t port;
<> 132:9baf128c2fab 37 uint32_t pin;
<> 132:9baf128c2fab 38 uint32_t ch;
<> 132:9baf128c2fab 39 };
<> 132:9baf128c2fab 40
<> 132:9baf128c2fab 41 struct port_s {
<> 132:9baf128c2fab 42 PortName port;
<> 132:9baf128c2fab 43 uint32_t mask;
<> 132:9baf128c2fab 44 };
<> 132:9baf128c2fab 45
<> 132:9baf128c2fab 46 struct pwmout_s {
<> 132:9baf128c2fab 47 PWMName pwm_name;
<> 132:9baf128c2fab 48 };
<> 132:9baf128c2fab 49
<> 132:9baf128c2fab 50 struct serial_s {
<> 132:9baf128c2fab 51 int index;
<> 134:ad3be0349dc5 52 #if DEVICE_SERIAL_ASYNCH
<> 134:ad3be0349dc5 53 uint8_t txstate;
<> 134:ad3be0349dc5 54 uint8_t rxstate;
<> 134:ad3be0349dc5 55 uint32_t events;
<> 134:ad3be0349dc5 56 uart_handle_t uart_transfer_handle;
<> 134:ad3be0349dc5 57 uart_edma_handle_t uart_dma_handle;
<> 134:ad3be0349dc5 58 dma_options_t uartDmaTx;
<> 134:ad3be0349dc5 59 dma_options_t uartDmaRx;
<> 134:ad3be0349dc5 60 #endif
<> 132:9baf128c2fab 61 };
<> 132:9baf128c2fab 62
<> 132:9baf128c2fab 63 struct analogin_s {
<> 132:9baf128c2fab 64 ADCName adc;
<> 132:9baf128c2fab 65 };
<> 132:9baf128c2fab 66
<> 132:9baf128c2fab 67 struct i2c_s {
<> 132:9baf128c2fab 68 uint32_t instance;
<> 132:9baf128c2fab 69 uint8_t next_repeated_start;
<> 132:9baf128c2fab 70 };
<> 132:9baf128c2fab 71
<> 132:9baf128c2fab 72 struct spi_s {
<> 132:9baf128c2fab 73 uint32_t instance;
<> 132:9baf128c2fab 74 uint8_t bits;
<> 132:9baf128c2fab 75 #if DEVICE_SPI_ASYNCH
<> 132:9baf128c2fab 76 status_t status;
<> 132:9baf128c2fab 77 dspi_master_handle_t spi_master_handle;
<> 132:9baf128c2fab 78 dspi_master_edma_handle_t spi_dma_master_handle;
<> 132:9baf128c2fab 79 dma_options_t spiDmaMasterRx;
<> 132:9baf128c2fab 80 dma_options_t spiDmaMasterTx;
<> 132:9baf128c2fab 81 dma_options_t spiDmaMasterIntermediary;
<> 132:9baf128c2fab 82 #endif
<> 132:9baf128c2fab 83 };
<> 132:9baf128c2fab 84
<> 132:9baf128c2fab 85 struct dac_s {
<> 132:9baf128c2fab 86 DACName dac;
<> 132:9baf128c2fab 87 };
<> 132:9baf128c2fab 88
<> 132:9baf128c2fab 89 struct trng_s {
<> 132:9baf128c2fab 90 uint8_t dummy;
<> 132:9baf128c2fab 91 };
<> 132:9baf128c2fab 92
<> 132:9baf128c2fab 93 #include "gpio_object.h"
<> 132:9baf128c2fab 94
<> 132:9baf128c2fab 95 #ifdef __cplusplus
<> 132:9baf128c2fab 96 }
<> 132:9baf128c2fab 97 #endif
<> 132:9baf128c2fab 98
<> 132:9baf128c2fab 99 #endif