ccli8
39a9f05491
[M487] Fix ARM mbed CI pwm test failed
2017-08-01 10:31:50 +08:00
ccli8
f182d7fcae
[M487] Add internal configuration control_01
2017-08-01 10:31:48 +08:00
ccli8
9c90cfd304
[M487] Add Arduino UNO pins D14 and D15
2017-08-01 10:31:45 +08:00
ccli8
d709deffc6
[M487] Fix emitting uvisor core debug message through USB VCOM
2017-08-01 10:31:43 +08:00
ccli8
e49ceb173e
[M487] Support initial stack allocated on SPIM CCM memory
2017-08-01 10:31:41 +08:00
ccli8
694838b706
[M487] Guard from initial stack allocated on SPIM CCM memory not initialized yet
...
Not add this guard in IAR toolchain due to its unsupported ILINK syntax
2017-08-01 10:31:38 +08:00
cyliangtw
aa47503435
[M487] Revise CAN & AES to fulfill real-chip
2017-08-01 10:31:36 +08:00
cyliangtw
8f67774fd9
[M487] Revise EMAC to fulfill real-chip
2017-08-01 10:31:26 +08:00
ccli8
b516019b12
[M487] Add comment in gpio_irq_init()
2017-08-01 10:24:07 +08:00
ccli8
b7dedbe917
[M487] Align with BSP
2017-08-01 10:24:04 +08:00
ccli8
23672b09a2
[M487] Support bootloader
2017-08-01 10:23:58 +08:00
ccli8
cc2ab31d2c
[M487] Divert SRAM bank2 (32 KB) to CCM from SPIM cache
...
Extend SRAM from 128 KB to 160 KB
2017-08-01 10:23:56 +08:00
ccli8
30ab1007e4
[M487] Support one-to-many mapping in the same pin map
2017-08-01 10:23:55 +08:00
ccli8
bcb96a12e1
[M487] Add SPI MOSI0/MISO0 into pin map
...
SPI MOSI0/MISO0 can use as SPI standard MOSI/MISO pins
2017-08-01 10:23:54 +08:00
ccli8
ef50c180fc
[M487] Add LED4 to pass ATS
2017-08-01 10:23:52 +08:00
ccli8
280d767700
[M487] Update startup files
...
1. Add SYS_DISABLE_POR() in startup_M480.c
2. Fix FMC_T::CYCCTL access is not unlocked
3. Sync system_M480.c with BSP
2017-08-01 10:23:51 +08:00
ccli8
82a5b5dd34
[M487] Fix board header for real chip
2017-08-01 10:23:50 +08:00
ccli8
12536436f8
[M487] Conform to mbed TLS H/W acceleration support released with mbed OS 5.3
2017-08-01 10:23:48 +08:00
ccli8
7578541021
[M487] Fix some compile warnings
2017-08-01 10:23:47 +08:00
ccli8
4d4d1a89f9
[M487] Change OS_CLOCK to 192 MHz
2017-08-01 10:23:45 +08:00
ccli8
aaf26a12e1
[M487] Fix compile error with GCC_ARM toolchain
2017-08-01 10:23:44 +08:00
ccli8
90e35febc1
[M487] Alpha support for real chip
...
Real chip is incompatible with test chip due to change of pinout. From this on, test chip is unsupported.
2017-08-01 10:23:43 +08:00
ccli8
59acfb3a47
[M487] Correct comment for RTC time error in 1 sec after boot
2017-08-01 10:23:40 +08:00
ccli8
2fc3d1721b
[M487] Fix RTC time doesn't continue across reset cycle
2017-08-01 10:23:39 +08:00
ccli8
00b69c7ddd
[M487] Change comment for serial_getc/serial_putc
2017-08-01 10:23:38 +08:00
ccli8
e3fb76f0d9
[M487] Fix region end address error with IAR toolchain
2017-08-01 10:23:37 +08:00
ccli8
3f97ad3cdd
[M487] Rename sleep/deepsleep to hal_sleep/hal_deepsleep
2017-08-01 10:23:36 +08:00
ccli8
4cc90e54d5
[M487] Fix serial error with sync/async calls interlaced
2017-08-01 10:23:34 +08:00
ccli8
3f650566d9
[M487] Fix pwmout power-down condition
2017-08-01 10:23:33 +08:00
ccli8
bea7548717
[M487] Fix DMA channel over-allocate
2017-08-01 10:23:32 +08:00
ccli8
5e9999424a
[M487] Fix flash algorithm
...
1. Remove setting of not released register ICPCON
2. Enable FMC_APUEN to update APROM
2017-08-01 10:23:31 +08:00
ccli8
3a8be6c711
[M487] Remove 'FIXME' comment in flash_api.c
2017-08-01 10:23:29 +08:00
ccli8
bced49325a
[M487] Support flash
2017-08-01 10:19:54 +08:00
ccli8
898a4bb4bd
[M487] Refine serial PDMA code
2017-08-01 10:19:50 +08:00
ccli8
422871ab4d
[M487] Refine SPI PDMA code
2017-08-01 10:19:48 +08:00
ccli8
a76d55a555
[M487] Add dma_modbase() to get PDMA base address
2017-08-01 10:19:45 +08:00
ccli8
aeee0e8b57
[M487] Fix pwmout power-down condition
2017-08-01 10:19:42 +08:00
ccli8
ae33f9eed7
[M487] Fix PDMA error on timeout
2017-08-01 10:19:39 +08:00
ccli8
0c574f6a98
[M487] Add missing support for ANALOGIN
2017-08-01 10:19:36 +08:00
ccli8
65de13454e
[M487] Prepare support for one-to-many mappings in the same pin map
...
Also fix bumped bug which doesn't call NU_MODBASE() to retrieve module base address
2017-08-01 10:19:33 +08:00
ccli8
04bd652a56
[M487] Add configuration option MBED_CONF_M480_USB_DEVICE_HSUSBD
2017-08-01 10:19:30 +08:00
cyliangtw
d32607294f
[M487] Support CAN feature
2017-08-01 10:19:25 +08:00
ccli8
95e0bc094a
[M487] Change sbrk() allocation to be 32-byte aligned
2017-08-01 10:19:22 +08:00
ccli8
acee0379c7
[M487] Remove power-down support from us_ticker
2017-08-01 10:19:19 +08:00
ccli8
3dc5f2da34
[M487] Support uvisor debug message through stdio uart
2017-08-01 10:19:16 +08:00
ccli8
ebe56466cc
[M487] Fix us_ticker drift error > 5%
2017-08-01 10:19:14 +08:00
ccli8
44572cf1a8
[M487] Fix link error in uvisor-enabled application
2017-08-01 10:19:11 +08:00
ccli8
ee622a0c51
[M487] Fix compile error with Travis CI
...
Use MBED_CONF_RTOS_PRESENT to filter out des/sha alternative for mbed OS 2.
2017-08-01 10:19:09 +08:00
cyliangtw
b91f064be7
[M487] Add CAN, AES and Eth
2017-08-01 10:18:54 +08:00
ccli8
98a79c872b
[M487] Support NuMaker-PFM-M487 board
2017-08-01 10:14:24 +08:00
Jimmy Brisson
50c616ec74
Merge pull request #4750 from andreaslarssonublox/ublox_enable_hw_acc_odin_w2
...
Enable crypto HW acceleration for UBLOX_EVK_ODIN_W2
2017-07-31 15:24:47 +00:00
Jimmy Brisson
66c3385727
Merge pull request #4398 from maximmbed/max326xx_ble_update
...
MAX326xx: BLE updates, fixed sleep, open-drain LEDs
2017-07-31 15:23:47 +00:00
Jimmy Brisson
f08d5a496c
Merge pull request #4623 from LMESTM/analogin_handle
...
Improve management handling of multiple instances of analogin ojects
2017-07-31 15:23:31 +00:00
Jimmy Brisson
74387f8c78
Merge pull request #4765 from iotvietmember/add_vbluno52
...
Add support for the VBLUno52 board
2017-07-27 09:45:53 -05:00
Jimmy Brisson
66805f5c67
Merge pull request #4755 from LordGuilly/bluepill_hse_config
...
Bluepill: hse config fix
2017-07-27 09:44:42 -05:00
jacobjohnson-ON
bd60addf40
Changed 36510 -> NCS36510 in targets.json
2017-07-26 08:15:06 -06:00
jacobjohnson-ON
41a0941d53
mbed OS 5.5.3, including the changes needed to enable 640k. Includes the proposed changes by Mac. 7/25/17
2017-07-25 17:37:14 -06:00
Wolfgang Betz
4fe8e8ca44
Align HAL & US tickers
2017-07-25 13:25:09 +02:00
MS30 CCChang12
38e78fa8b3
[NANO130] Ticker: add fire interrupt now function
2017-07-25 18:07:47 +08:00
MS30 CCChang12
c7cd9b607c
[NANO130] Change dummy to spi_fill in spi_api.c
2017-07-25 18:03:27 +08:00
Martin Kojtal
c8d43aeb2d
LPC MCUXpresso: fix write_fill argument for block write function
...
The latest HAL extension was not applied to the LPC MCUXpresso targets.
2017-07-25 10:26:40 +01:00
lordguilly
909a8343f5
Change HSE for blupill,can only be XTAL
...
The BLUEPILL board does have XTAL soldered, cannot be used with an external oscillator
2017-07-24 22:36:40 +01:00
Mahadevan Mahesh
cb95458c44
K64F: Update the DSPI SDK driver to support the new API to change DUMMY_DATA
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-07-24 15:26:13 -05:00
Jimmy Brisson
1f94ede86c
Merge pull request #4744 from deepikabhavnani/spi_issue_4743
...
Allow user to set default transfer byte for block read
2017-07-24 14:45:30 -05:00
Jimmy Brisson
d5108e5a7a
Merge pull request #4714 from bulislaw/expose_systemcoreclock
...
Expose SystemCoreClock via cmsis.h to support new CMSIS/RTX
2017-07-24 10:59:47 -05:00
Jimmy Brisson
456607b170
Merge pull request #4794 from jeromecoutant/PR_F767
...
NUCLEO_F767ZI : boot issue with GCC
2017-07-24 10:59:23 -05:00
Jimmy Brisson
f4de24bae1
Merge pull request #4793 from jeromecoutant/PR_F4_I2C
...
STM32 I2C : correct async issue
2017-07-24 10:59:03 -05:00
Jimmy Brisson
579bb3e994
Merge pull request #4778 from c1728p9/rebase_4161
...
Add AES HW encryption for NUCLEO_F756ZG in mbedtls
2017-07-24 10:58:32 -05:00
Jimmy Brisson
2098af5919
Merge pull request #4764 from jeromecoutant/PR_F0_PIN
...
STM32F0 : remove unavailable pins
2017-07-24 10:57:31 -05:00
Jimmy Brisson
732f7328f8
Merge pull request #4762 from jeromecoutant/PR_L4_ADC
...
DISCO_L475VG_IOT : pin update
2017-07-24 10:57:18 -05:00
Jimmy Brisson
c20154234f
Merge pull request #4756 from 0xc0170/fix_4613
...
Fix #4613 : remove duplicated startup files for MICRONFCBOARD
2017-07-24 10:56:57 -05:00
Jimmy Brisson
7a153ce337
Merge pull request #4754 from Archcady/TLS
...
Resolve TLS handshake failing issue for REALTEK_RTL8195AM
2017-07-24 10:55:30 -05:00
Jimmy Brisson
9e443e9d14
Merge pull request #4734 from LMESTM/stm32_uart_irq
...
Avoid data loss with serial interrupt used at high baudrates
2017-07-24 10:55:07 -05:00
Jimmy Brisson
57a4c95d2e
Merge pull request #4717 from monkiineko/master
...
STM32: Remove i2c_read() and i2c_write() redirects to HAL_I2C_IsDeviceReady()
2017-07-24 10:53:49 -05:00
Jimmy Brisson
a3359d6a9c
Merge pull request #4721 from marcuschangarm/flashiap_rtl8195am
...
REALTEK_RTL8195AM: FlashIAP read and address scope
2017-07-24 10:53:26 -05:00
Jimmy Brisson
742d98a9ed
Merge pull request #4696 from pan-/max32630_fix_uart
...
Max32630 UART: Fix IRQ dispatching and CTS/RTS line configuration
2017-07-24 10:46:36 -05:00
Jimmy Brisson
93ae6f99aa
Merge pull request #4290 from NXPmicro/Add_LPC54114_Support
...
Add mbed support for LPCXpresso54114 & LPCXpresso54608 boards
2017-07-24 10:46:14 -05:00
bcostm
cef5133092
STM32 CAN: Fix issue with speed function calculation
2017-07-24 16:35:39 +02:00
iotvietmember
bd49f4303e
Add support for the VBLUno52 board
...
Fix ERROR_PATTERN in VBLUNO52 config
Signed-off-by: iotvietmember <robotden@gmail.com>
2017-07-22 11:23:51 +07:00
Deepika
1b797e9081
Closed review comments
...
1. Doxygen and Grammar related
2. Change dummy to spi_fill
3. Remove NXP driver and add default loop in spi block read (same as all
other drivers)
2017-07-21 09:46:22 -05:00
jeromecoutant
9e334a6b4a
NUCLEO_F767ZI : boot issue with GCC
2017-07-21 14:46:39 +02:00
jeromecoutant
c8cba15be7
STM32 I2C : correct async issue
2017-07-21 13:35:58 +02:00
Mahadevan Mahesh
316b859baf
LPC: Move platform specific code out of the analog api file
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-07-20 13:16:06 -05:00
Mahadevan Mahesh
7d8b6d7684
LPC: Move platform specific code out of sleep api file
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-07-20 13:15:59 -05:00
Mahadevan Mahesh
dfe2d3ba4c
Add support for LPC54608
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-07-20 13:15:51 -05:00
Mahadevan Mahesh
aee6f7b227
Add mbed support for LPCXpresso54114 board
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-07-20 13:15:36 -05:00
Laurent MEUNIER
7414b1266b
STM32: ADC: Fix PinMap_ADC_Internal
...
The instance needs to be searched in PinMap_ADC_Internal, not PinMap_ADC.
This was a copy paste error...
2017-07-20 14:15:37 +02:00
Russ Butler
7a9a22e2cd
Change 'macros' to 'macros_add' for NUCLEO_F756ZG
...
Address PR feedback by renaming 'macros' to 'macros_add'.
2017-07-19 13:09:45 -05:00
jeromecoutant
b654af2d80
STM32L4 : json clock source configuration
...
- default value is the same as before patch
- system_stm32l4xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
- nvic_addr.h file is now in TARGET_STM level
2017-07-19 16:39:26 +02:00
jeromecoutant
912c0de938
STM32L1 : json clock source configuration
...
- default value is the same as before patch
- system_stm32l1xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
2017-07-19 16:39:17 +02:00
jeromecoutant
341713b2ae
STM32L0 : json clock source configuration
...
- default value is the same as before patch
- system_stm32l0xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
2017-07-19 16:23:43 +02:00
jeromecoutant
26cd51f42a
STM32F7 : json clock source configuration
...
- default value is the same as before patch
- system_stm32f7xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
2017-07-19 16:23:43 +02:00
jeromecoutant
bc40b735d4
STM32F3 : json clock source configuration
...
- default value is the same as before patch
- system_stm32f3xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
2017-07-19 16:23:42 +02:00
jeromecoutant
df6a570a41
STM32F2 : json clock source configuration
...
- default value is the same as before patch
- system_stm32f2xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
2017-07-19 16:23:41 +02:00
jeromecoutant
68e1b2b465
STM32F1 : json clock source configuration
...
- default value is the same as before patch
- system_stm32f1xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
2017-07-19 16:23:41 +02:00
jeromecoutant
c13998f306
STM32F0 : json clock source configuration
...
- default value is the same as before patch
- system_stm32f0xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c (target level)
2017-07-19 16:23:40 +02:00
Marcus Chang
1930c4b136
REALTEK_RTL8195AM: FlashIAP read and address scope
...
The FlashIAP is supposed to have access to the full application
memory, so the address scope has been changed to encompass
the entire external flash.
The address translation has also been changed to reflect the memory
layout in the documentation:
Realtek Ameba1 Memory Layout: 5.1 Flash Memory
2017-07-19 14:24:50 +01:00
adustm
1ae5f8cdaa
Add AES HW encryption for NUCLEO_F756ZG in mbedtls
2017-07-18 17:09:54 -05:00
MS30 CCChang12
5f58104640
[NANO130] Fix the file name case problem, verified on Ubuntu Linux
2017-07-18 20:00:08 +08:00
Jimmy Brisson
953b9250f1
Merge pull request #4751 from andreaslarssonublox/ublox_remove_redundant_odin_target_folder
...
Remove redundant ODIN-W2 target folder
2017-07-17 11:09:58 -05:00
Jimmy Brisson
e62b61c9a5
Merge pull request #4745 from Wiznet/master
...
WIZnet W7500*: Remove support for RTC
2017-07-17 11:09:39 -05:00
Jimmy Brisson
a0231db0b9
Merge pull request #4727 from u-blox/c030_peripheral_pins
...
Update UART3 pins for UBLOX_C030 platform.
2017-07-17 11:09:19 -05:00
Jimmy Brisson
1f23f74b93
Merge pull request #4732 from theotherjimmy/bcostm-pinmap
...
Correct DAC pin assignment
2017-07-17 11:08:57 -05:00
Jimmy Brisson
a2896cbd8d
Merge pull request #4708 from mattot01/CM3DS_enable_MPS2_test
...
Enable greentea testing on CM3DS_MPS2 target
2017-07-17 11:07:35 -05:00
Jimmy Brisson
775b935ed0
Merge pull request #4687 from bcostm/update_mbed_rtx_h
...
STM: cleanup mbed_rtx.h file
2017-07-17 11:07:07 -05:00
Jimmy Brisson
185b7233da
Merge pull request #4676 from LMESTM/issue_2959
...
Correctly enable / disable InterruptIn Edges detection
2017-07-17 11:06:27 -05:00
Jimmy Brisson
a75f935348
Merge pull request #4664 from bperry730/fix/st_can_api_freq
...
STM32: Fix the CAN initializing to the wrong frequency
2017-07-17 11:06:04 -05:00
Jimmy Brisson
adfed0f9de
Merge pull request #4644 from 0xc0170/fix_ticker_delta_negative
...
Ticker: add fire interrupt now function
2017-07-17 11:05:46 -05:00
Jimmy Brisson
6593d5bc7f
Merge pull request #4640 from chrissnow/xDot-Bootloader
...
STM32L1 Flash API and xDot bootloader support
2017-07-17 11:04:53 -05:00
Laurent MEUNIER
b9d801fe72
STM32: L0: adc struct member does not exist anymore
2017-07-17 16:29:09 +02:00
jeromecoutant
7da7af6cc4
STM32F0 : remove unavailable pins
...
Pins used for STDIO_UART_TX and STDIO_UART_RX are not available
2017-07-17 16:19:15 +02:00
jeromecoutant
a98594d132
DISCO_L475VG_IOT: remove unavailable pins
2017-07-17 14:09:01 +02:00
jeromecoutant
e0e332f5d9
STM32L4 AnalogIn init issue with _ALT pins
2017-07-17 13:33:50 +02:00
Laurent MEUNIER
ea33f8bf94
STM32: F2: adc; struct member not needed
...
Same as other families applied here
2017-07-17 13:27:22 +02:00
Laurent MEUNIER
efbeb0d057
STM32: analogin: adc struct member not needed anymore
...
The adc in analogin_t has the same value as the Instance member of
ADC_HandleTypeDef. So we can only rely on the later one.
2017-07-17 13:27:22 +02:00
Laurent MEUNIER
8540e8a1dd
STM32: Analogin - define handle in object not as a global
...
In this commit, the analogin_s structure is moved to commonn_objects.h file
to limit the duplicaion.
The ADC handle is moved from a global variable to a struct member of the
analogin object. This allows multiple ADC instances to work correctly.
Note that State needs to be explicitely set to HAL_ADC_STATE_RESET
because the object is not zero initialized.
2017-07-17 13:23:45 +02:00
Laurent MEUNIER
b5cbaaa0d0
STM32: Serial - use TXE as tx_irq instead of TC
...
TXE indicates that a byte can be written to UART register for sending,
while TC indicates that last byte was completely sent. So the TXE flag
can be used in case of interrupt based Serial communication, to allow
faster and efficient application buffer emptying.
Also TXE flag will be erased from the interrupt when writing to register.
In case there is nothing to write in the register, the application is
expected to disable the interrupt.
2017-07-17 08:46:00 +02:00
Laurent MEUNIER
85711eb09e
STM32: Serial - do no clear RXNE flag
...
The RXNE flag is getting cleared when reading Data Register so it should
not be cleared here. Especially in case of high data rate, another byte of
data could have received during irq_handler call and clearing the flag
would read and discard this data which would be lost for application.
2017-07-17 08:46:00 +02:00
Jesse Marroquin
3a4138369d
Update BLE, fix sleep and open-drain LEDs in MAX326xx
...
MAX32630FTHR gets BLE, uses timer peripheral 5 for HCI timing
libexactLE update for 610,620
Fixup hal_sleep and hal_deepsleep for 620
LEDn outputs now forced to open-drain
2017-07-14 17:36:56 -05:00
Yuguo Zou
2ec8b04074
Resolve TLS handshake failing issue
...
this issue, relating to wifi thread priority, makes blocking TCP socket
failing
2017-07-14 11:21:53 +08:00
MS30 CCChang12
4f66d2d809
[NANO130] Fix the file name case problem for building code in Linux system
2017-07-14 09:39:08 +08:00
Martin Kojtal
a7f9dc66b8
Fix #4613 : remove duplicated startup files for MICRONFCBOARD
...
Inherits from LPC11U34_421, that defines startup. They were identical.
2017-07-13 17:03:29 +01:00
Martin Kojtal
c295187750
Merge pull request #4634 from nvlsianpu/bugfix/issue_4357_I2C_SPI_simultaneously
...
Fix the issue #4357 : NRF52 doesn't support simultaneous use of I2C and SPI.
2017-07-13 16:53:33 +02:00
Bartek Szatkowski
693a3a8837
sara_nbiot_evk: Expose SystemCoreClock via cmsis.h
...
This change is necessary as updated CMSIS/RTX require the
SystemCoreClock symbol.
2017-07-13 15:49:34 +01:00
Bartek Szatkowski
03e80119b5
REALTEK_RTL8195AM: Expose SystemCoreClock via cmsis.h
...
This change is necessary as updated CMSIS/RTX require the
SystemCoreClock symbol.
2017-07-13 15:49:33 +01:00
Martin Kojtal
43a361214a
Merge pull request #4667 from Archcady/mute_debug_msg
...
Update and mute debug messages of REALTEK_TRL8195AM
2017-07-13 16:47:31 +02:00
Martin Kojtal
1e821499df
Merge pull request #4668 from bcostm/update_f429zi_pinouts
...
DISCO/NUCLEO_F429ZI: Enable all alternate functions and pins
2017-07-13 16:45:59 +02:00
Martin Kojtal
42548f3dce
Merge pull request #4691 from LMESTM/analogin_sample_time
...
STM32: F4: Increase ADC sampling time for VBAT
2017-07-13 16:43:40 +02:00
Martin Kojtal
06ff4f8bf2
Merge pull request #4693 from pan-/fix#4658
...
Nordic: Fix multiple defined symbol.
2017-07-13 16:43:09 +02:00
Rob Meades
1c7a7bc6a3
Add bootloader support for the UBLOX_C030 platforms.
2017-07-13 15:42:54 +01:00
Martin Kojtal
58d0aa5ce8
Merge pull request #4694 from bcostm/typo_pins_disco_l475vg
...
DISCO_L475VG_IOT01A: typo corrections in PeripheralPins.c
2017-07-13 16:42:00 +02:00
Martin Kojtal
29fefe8639
Merge pull request #4699 from jeromecoutant/PR_L0_InternalADC
...
STM32L0 : internal ADC channels
2017-07-13 16:40:54 +02:00
Martin Kojtal
59dd859210
Merge pull request #4707 from LMESTM/stm32_serial_it_source
...
STM32: serial: use proper macro to check interrupt
2017-07-13 16:40:16 +02:00
Martin Kojtal
08dfc8458e
Merge pull request #4736 from pan-/fix_nrf52_idle_stack
...
NRF52832: Extend idle thread stack size to 512 bytes.
2017-07-13 16:36:38 +02:00
Martin Kojtal
10ea63b8e7
Ticker: add fire interrupt now function
...
fire_interrupt function should be used for events in the past. As we have now
64bit timestamp, we can figure out what is in the past, and ask a target to invoke
an interrupt immediately. The previous attemps in the target HAL tickers were not ideal, as it can wrap around easily (16 or 32 bit counters). This new
functionality should solve this problem.
set_interrupt for tickers in HAL code should not handle anything but the next match interrupt. If it was in the past is handled by the upper layer.
It is possible that we are setting next event to the close future, so once it is set it is already in the past. Therefore we add a check after set interrupt to verify it is in future.
If it is not, we fire interrupt immediately. This results in
two events - first one immediate, correct one. The second one might be scheduled in far future (almost entire ticker range),
that should be discarded.
The specification for the fire_interrupts are:
- should set pending bit for the ticker interrupt (as soon as possible),
the event we are scheduling is already in the past, and we do not want to skip
any events
- no arguments are provided, neither return value, not needed
- ticker should be initialized prior calling this function (no need to check if it is already initialized)
All our targets provide this new functionality, removing old misleading if (timestamp is in the past) checks.
2017-07-13 12:23:25 +01:00
andreas.larsson
969d44d833
Remove redundant ODIN-W2 target folder
2017-07-12 15:05:25 +02:00
andreas.larsson
e776e0ee54
Added HW acceleration for ODIN-W2
2017-07-12 12:13:22 +02:00
Yuguo Zou
d46cc2ad3f
Remove unused headfile
...
This shall prevent confusion
2017-07-12 17:49:52 +08:00
Yuguo Zou
b435ff4a16
Enable/Disable debug from argument of constructor
2017-07-12 17:40:24 +08:00
MS30 CCChang12
2050095b0f
[NANO130] remove usage of mktime/localtime in rtc_api.c
2017-07-12 13:53:59 +08:00
justinkim
66500c0917
Unsupported RTC
...
delete rtc_api.c -> PWM3 pin enable
2017-07-12 13:43:08 +09:00
Yuguo Zou
c7111c429e
mute wifi_conf messages
2017-07-12 12:13:05 +08:00
MS30 CCChang12
83f395c07c
[NANO130] Fix symbol of IAR toolchain
2017-07-12 11:01:03 +08:00
MS30 CCChang12
00fa0f64c1
[NANO130] Remove dead code
2017-07-12 10:49:40 +08:00
Deepika
fd43405ffe
Allow user to set dummy tranfer byte for block read
2017-07-11 15:46:32 -05:00
Vincent Coubard
bf419ca1b3
Max32630 UART: Fix P5_5 mapping.
2017-07-11 17:53:58 +01:00
Laurent MEUNIER
be8024de28
STM32: serial: use proper GET_IT macro
...
Depending on families, different HAL macros are defined to check the
state of serial interrupts. In several cases, we can find only 1 macro:
__HAL_UART_GET_IT_SOURCE
Checks whether the specified UART interrupt has occurred or not
But in F0, F3, F7, L0, L4 there are 2 different macros
__HAL_UART_GET_IT
Checks whether the specified UART interrupt has occurred or not
__HAL_UART_GET_IT_SOURCE
Checks whether the specified UART interrupt source is enabled.
In the later case, __HAL_UART_GET_IT_SOURCE was being used so far,
but actually needs to be replaced by __HAL_UART_GET_IT. Using the right
macro, we also check the proper flags accordingly.
2017-07-11 17:22:33 +02:00
Vincent Coubard
3f4e839957
NRF52832: Extend idle thread stack size to 512 bytes.
...
Fix a crash where the idle thread stack size overflows. This crash
was depending on the compiler and standard library used.
2017-07-11 11:55:47 +01:00
MS30 CCChang12
3bbacad6a7
[NANO130] Remove mbed_sdk_init_forced()
...
1. With mbed OS 5, mbed_sdk_init() is ensured to call before C++ global object constructor.
2. Refine startup file with GCC_ARM toolchain related to this modification.
2017-07-11 17:50:20 +08:00
Jimmy Brisson
668d47305b
Correct DAC pin assignment
2017-07-10 13:33:21 -05:00