Commit Graph

872 Commits (2ac978fd530af1db0adda130a05e3d7bd9f0914a)

Author SHA1 Message Date
Mahadevan Mahesh 7f1ffbdb06 MCUXpresso: Update ARM linker files to reduce RAM reserved for stack & heap
Heap and stack size is determined via the RTOS.

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-04-21 15:42:22 +01:00
jeromecoutant 8e4c9c3238 STM32 increase IAR heap size for big RAM targets 2017-04-21 15:42:22 +01:00
Andrzej Puzdrowski 6b4acbbf7e us_ticker: - extarct for check rtc overflow - make common_rtc_32bit_ticks_get safe against preemption. 2017-04-21 15:42:21 +01:00
Andrzej Puzdrowski 3a2718b5c5 If rtc overflow occurr while setting of timestam then the ccompara-event ocurre (erroneusly) in 512s. - move ovf handler at the begining of rtc handler for mitigate the case (mitigate issue for exexution from rtc handler) - add repeating of operation of set a timestamp in cas that rtc overflow occured during the operation. 2017-04-21 15:42:21 +01:00
Seppe Stas eeba630ca8 EFM32: Fixed `pwmout_all_inactive` being inversed
If one of the CC channel pins is enabled, `pwmout_all_inactive` it
means a channel is active so it should return `true`.

This commit also contains some cleanup in `pwm_init`.
2017-04-21 15:42:21 +01:00
Rob Meades 708d606600 U-BLOX_C030: Default XTAL is now 12MHz onboard. Option to use Debug 8MHz XTAL by using Macro USE_DEBUG_8MHz_XTAL 2017-04-21 15:42:19 +01:00
Steven Cooreman 10e67bb837 Update pinmap of EFM32PG12 as well 2017-04-21 15:42:19 +01:00
Steven Cooreman 946321032c Support SPI CPP objects with different pinouts sharing the same peripheral 2017-04-21 15:42:19 +01:00
Steven Cooreman 15c28056c2 Update TB Sense 2
* Update i2c driver to tackle multiple I2C object instances on different pins
* Update pinmap to enable the extra peripherals of EFx32xG12 over EFx32xG1
2017-04-21 15:42:19 +01:00
jeromecoutant 4c166fc8b7 STM32F4 Internal ADC channels rework
Internal ADC pin are now out of PinMap_ADC array.
2017-04-21 15:42:18 +01:00
Sam Grove f98e0388cb Revert "STM32F4 Internal ADC channels rework" 2017-04-21 15:42:18 +01:00
jeromecoutant a8650d8e82 STM32F4 : remove SERIAL_TX and SERIAL_RX from available pins
Pins are used for debug printf
2017-04-21 15:42:17 +01:00
jeromecoutant 04e99642b1 STM32F4 Internal ADC channels rework
Internal ADC pin are now out of PinMap_ADC array.
2017-04-21 15:42:16 +01:00
Willie Walker c25eea9441 Add SCL and SDA defs for I2C[0-2]; redefine I2C_[SCL,SDA] to I2C2 2017-04-21 15:42:16 +01:00
ccli8 ac186bc3b9 Fix flash algorithm
1. Remove setting of not released register ICPCON
2. Enable FMC_APUEN to update APROM
2017-04-21 15:42:16 +01:00
cyliangtw d29223e80d remove stray tabs to avoid formatting slips 2017-04-21 15:42:15 +01:00
cyliangtw e210e8a424 remove redundant comment of flash_api 2017-04-21 15:42:15 +01:00
cyliangtw b54a55fb66 Fixed scatterAssert of ROM limit 2017-04-21 15:42:15 +01:00
cyliangtw a6151cf4c4 Enable HW AES 2017-04-21 15:42:15 +01:00
cyliangtw 31f1d03959 Support bootloader 2017-04-21 15:42:14 +01:00
cyliangtw 3478664d1e Support bootloader 2017-04-21 15:42:14 +01:00
ccli8 c878a91627 Support flash 2017-04-21 15:42:14 +01:00
Rob Meades 703817c1e0 Introducing UBLOX_C030 platform. 2017-04-07 14:02:53 +01:00
mjrgh 047059837f Update us_ticker.c 2017-04-07 14:02:46 +01:00
mjrgh 9229772c92 Force events into the future 2017-04-07 14:02:40 +01:00
jeromecoutant 85db457b9e NUCLEO_L476RG : minor serial pin update
SERIAL_TX and SERIAL_RX pins used for debug printf cannot be set as available
2017-04-07 14:02:21 +01:00
jeromecoutant f7c392eb75 reduce IAR heap and stack size for small targets 2017-04-07 14:01:41 +01:00
Mahadevan Mahesh 88b3a7b1a5 Issue 3763: Reduce heap allocation in the GCC linker file
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-04-07 14:01:35 +01:00
Mahadevan Mahesh 4d3a34ee29 K66F: Move bss section to m_data_2 Section
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-04-07 14:01:29 +01:00
jeromecoutant f50accc03c NUCLEO_L011K4 remove unsupported tool chain files 2017-04-07 14:01:09 +01:00
Bradley Scott 72c7cedf12 STM32: Correct I2C master error handling
If I2C slave support is included, then the I2C error handler would
always reset the I2C address, resulting in incorrectly changing the
I2C state to listen for a controller configured as I2C master.  This
change conditionalizes the address setting to only occur if the
controller was in slave mode when the error occurred.
2017-04-07 14:01:03 +01:00
Seppe Stas 79c79a4347 Fixed OBOE in async serial tx for NRF52 target, fixes #4002 2017-04-07 14:00:57 +01:00
Rob Meades 31d1338c82 Construct a ticker-based wait, rather than calling wait_ms(), in the C027 board startup code since, for mbed 5, wait_ms() is an RTOS function and the RTOS is not initialised at this stage in start-up. 2017-04-07 14:00:44 +01:00
Mahadevan Mahesh a0aacd607a KW24D: Add missing SPI defines and Arduino connector definitions
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-04-07 14:00:38 +01:00
Jimmy Brisson cebf64a7a3 Remove the nrf_soc_nosd directory
This removes the duplicate header files from the build. We were getting
lucky on most invocations of `mbed compile` in that these headers were
searched for after some others, but not when exporting to uvision.
2017-04-07 14:00:32 +01:00
Brian Daniels 87cc3d599a Fixing a macro to detect when RTOS was in use for the NRF52840_DK 2017-04-07 14:00:26 +01:00
Andrzej Puzdrowski 1d1df9e172 use core_util_critical_section_enter/exit instead of __enable_irq/__disable_irq 2017-04-07 14:00:19 +01:00
Ron Eldor 7e2a2ca1df Fix compilation errors on linux machine
Change path of include from '\' to '/', which works on linux as well.
2017-04-07 14:00:13 +01:00
Andrzej Puzdrowski ff5ad3ff92 Removed nrf52 targets files form nrf5_sdk13 sources. 2017-04-07 14:00:06 +01:00
Andrzej Puzdrowski 842bfc70f7 code formating, CR changes corrected spi_init() to properly handle re-initialization… #3842 2017-04-07 14:00:00 +01:00
Andrzej Puzdrowski afdbcd3db9 i2c_api implementation has been changed in order to support single byte reads and writes (the latter are used in I2CEeprom module used in CI tests, and this caused that tests-i2c-api were failing). These operations (single byte transfers) are not possible to achieve with the driver from nrf5 SDK (nrf_drv_twi), so the new implementation uses TWI HAL only. 2017-04-07 13:59:53 +01:00
Andrzej Puzdrowski 8731015202 fix mbed-os-rtos-rtx-target_cortex_m-tests-memory-heap_and_stack@IAR by increasing heap size for IAR. Corected initial MSP for ARMCC. 2017-04-07 13:59:47 +01:00
Andrzej Puzdrowski bb1f316ad5 Changes from CR. - fix typso, renaming, repharse commnets. - fix alghoritm of white/id lists setup functions in nRF5xGap class. 2017-04-07 13:59:15 +01:00
Andrzej Puzdrowski f7aa6e5efe fix: - bad number of pin from nRF52840 , - bad type of mask of gpio for nRF52940 - typo (object.h) - revert abort func. to spi_master driver - update twi_master driver to the newest (e8527f65e90eee6a4dd48ca55d3fc051a556320a master SDK nRF5) 2017-04-07 13:59:09 +01:00
Andrzej Puzdrowski 69919a45e5 upgrade implementationof gap::connect in case of private address and whitelisting for SD API 3 and further 2017-04-07 13:59:02 +01:00
Andrzej Puzdrowski 3a969c6748 introduce API update to (v3.x.x and further)in BLE_GAP_EVT_CONNECTED service. whitelist and identiti list settings provider now takes into account scaner filter po0licy and advertise r filter policy 2017-04-07 13:58:56 +01:00
Andrzej Puzdrowski 8c4c1bd4d6 nrf5_SDK13 update copyright clause 2017-04-07 13:58:50 +01:00
Andrzej Puzdrowski d6a7eeb94c nRF5: whitelisting update fo SD API >-3.x.x 2017-04-07 13:58:44 +01:00
Andrzej Puzdrowski 1730def8b6 add mising fds configuration 2017-04-07 13:58:38 +01:00
Andrzej Puzdrowski 0e8a393d54 NRF5_SDK13: Make BLE sources compilable - this is not redy to use! - Remove ble_advertising.h/c - it was unused, redundant code - includes for SD header ble.h were changed to headers\ble.h in order to distingusch form feature-ble BLE.h - btle_init() introduced PM for disable <B>privacy</B> for API 3 and further. - temporary removed or mocked real implemantation of whitelist-ing support functionalities: btle_security.createWhitelistFromBondTable , gap::startAdvertising, gat::startRadioScan, gap::stopAdvertising Gap::generateStackWhitelist, Gap::getStackWhiteIdentityList-(mock) - Characteristic Descriptor Discoverer - aligned to the apply SD API - long uuid service's read spupport - add BLE features support to sdk configurations file - publicate sdk's id_manager.ah() function. - cutted out f. app_error_handler for mbed-os - removed PACKED definition form app_util_platform (redefined by mbed-os) - Gap::setAddress - allign to new SD API using peer manager - extend Gap::getPermittedTxPowerValues for nRF52840 2017-04-07 13:58:32 +01:00