Commit Graph

2680 Commits (16d38895d3af32f58e33aab336997414f879c05f)

Author SHA1 Message Date
Keyur Hariya 16d38895d3 Improve SPI block write
Replace looping construct with actual block writes.
Transaction in spi_master_block_write funtion is protected by critical
section to ensure it is completed without interruption. A hardware
limitation may cause data corruption if the TX fifo is allowed to run
empty.
2018-04-13 15:14:10 -05:00
Cruz Monrreal 96a562ab7d
Merge pull request #6550 from theotherjimmy/remove-m1
Remove MPS2 M1
2018-04-10 18:08:57 -05:00
Cruz Monrreal e913e917c0
Merge pull request #6544 from ithinuel/add_rak811_adc
add ADC_AN0-2 mapped on PA_0-2
2018-04-10 18:08:03 -05:00
Cruz Monrreal d9e5c4ba8c
Merge pull request #6505 from netanelgonen/remove_target
remove MODULE_UBLOX_ODIN_W2 from targets.json
2018-04-10 18:07:41 -05:00
Netanel Gonen 3569d2482b
replace tab with spaces 2018-04-09 23:18:56 +03:00
Martin Kojtal 8b2eb20a54
Merge pull request #6553 from theotherjimmy/stmL4-armc6
Correct armc6 detection logic for STM32L4
2018-04-09 17:36:52 +02:00
Martin Kojtal 96084a3c67
Merge pull request #6561 from LMESTM/Stm32DeepSleepClock
Stm32 deep sleep clock
2018-04-09 17:11:23 +02:00
Martin Kojtal a3faf58a9e
Merge pull request #6511 from ashok-rao/MTB_USI_BM22
Add new target USI WM-BN-BM-22
2018-04-09 17:07:00 +02:00
Martin Kojtal 1b2f63a418
Merge pull request #6503 from maximmbed/add-platform-MAX32620C
[MAX32620C] Add new target
2018-04-09 17:05:42 +02:00
Martin Kojtal 83100d20a5
Merge pull request #6497 from bcostm/PULL_REQUEST_CUBE_UPDATE_L1_V1.8.1
STM32L1: Update ST HAL driver to CubeL1 V1.8.1
2018-04-06 17:11:14 +02:00
Laurent MEUNIER ad4a250292 Style fix 2018-04-06 17:03:53 +02:00
Laurent MEUNIER 3d92af50ce Add delay to let clock stabilize when out of deep sleep
Tests have shown that there is hich-up on MSI clock during the setup phase.
If this stabilization phase happens when application has restarted again
this can have side effects, like grambled UART characters typically.

So we're adding a delay before hading-over back to application.

With this modification, on NCULEO_L476RG, the wake-up time is increased
from 2ms to 2,5ms.
If possible this should be improved in the future to save 500 microseconds
of wak-up time.  See TODO
2018-04-06 16:10:27 +02:00
Laurent MEUNIER 8007b1df7c Use temporarily MSI or HSI when exiting Deep Sleep
There are cases where HW registers are found in unpexcepted state when
exiting Deep Sleep only few micro-seconds after it was entered.

By using an internal clock that does not depend on anythin and clocking
the system without using PLL, this allows SetSysClock default configuration
to run fine whatever possible configuration we find the HW in when
exiting Deep Sleep.

Also we shall restore interrupts only after all cloks are back to
expected running state.
2018-04-06 16:10:27 +02:00
Jimmy Brisson d374bb4a5a Correct armc6 detection logic 2018-04-05 15:13:52 -05:00
Jimmy Brisson 4eff47feb4 Remove MPS2 M1
There's not a port
2018-04-05 14:05:49 -05:00
Wilfried Chauveau de4d7043c9 add ADC_AN0-2 mapped on PA_0-2 2018-04-05 08:33:55 +01:00
Keyur Hariya 2bb78d433f Fix assembly file extension 2018-04-04 10:32:46 -05:00
bcostm 8412807669 Update stm32l151xba.h 2018-04-03 15:01:07 +02:00
bcostm 293b3bfdc0 STM32L1: allow redefinition of FLASH_SIZE macro 2018-04-03 14:23:14 +02:00
bcostm 8c0ff8be79 Fix typos causing ARM build error 2018-04-03 14:01:03 +02:00
bcostm d8aa587782 L1 ST CUBE V1.8.1 2018-04-03 14:01:02 +02:00
Edmund Hsu 04eaabf579 Fix EV_COG_AD3029LZ `us_ticker_fire_interrupt()` minimal time interval
- ensure us_ticker_irq_handler() is called only when GP2 timer expires
- set us_ticker_set_interrupt() time interval to be 9.846 us
- set us_ticker_fire_interrupt() time interval to be 0.03846 us
2018-04-01 19:35:05 +10:00
Edmund Hsu ef6d93eca0 Fix EV_COG_AD4050LZ `us_ticker_fire_interrupt()` minimal time interval
- ensure us_ticker_irq_handler() is called only when GP2 timer expires
- set us_ticker_set_interrupt() time interval to be 9.846 us
- set us_ticker_fire_interrupt() time interval to be 0.03846 us
- convert tab to space
2018-04-01 19:34:24 +10:00
Cruz Monrreal c8bd08f60e
Merge pull request #6043 from ithinuel/add-rak811
add support for the RAK811
2018-03-30 01:54:19 -05:00
Jimmy Brisson eaa31dd66e
Merge pull request #6475 from SiliconLabs/feature/new/tickless
Enable tickless mode on Silicon Labs targets
2018-03-29 11:59:49 -05:00
Jimmy Brisson 897885909d
Merge pull request #6394 from OpenNuvoton/nuvoton_fix_ticker
Nuvoton: Fix us_ticker/lp_ticker
2018-03-29 11:58:53 -05:00
Jimmy Brisson 0615111785
Merge pull request #5902 from ganesh-ramachandran/master
Added Support for Toshiba TMPM46B
2018-03-29 11:58:14 -05:00
Ashok Rao 62e5dccd0b Remove irrelevant comments 2018-03-29 16:52:03 +01:00
Ashok Rao 1df5c020b9 Adding USI WM-BN-BM-22 as a new target 2018-03-29 16:20:54 +01:00
Netanel Gonen d925a04efb remove MODULE_UBLOX_ODIN_W2 from targets.json
remove this target from json file as this is not a real target
 but a parent target

fix error removing the target
2018-03-29 09:31:34 +03:00
Cruz Monrreal f895392374
Merge pull request #6413 from toyowata/lpc1768_flash_fix
LPC176X: Fix flash program size
2018-03-29 00:49:22 -05:00
Cruz Monrreal 4797b53ac8
Merge pull request #6488 from SiliconLabs/bugfix/armcc_sp
Fix initial SP for new Silicon Labs targets on ARMCC
2018-03-29 00:41:44 -05:00
Keyur Hariya da96c56d90 [MAX32620C] Add new target 2018-03-28 16:39:09 -05:00
Wilfried Chauveau 85af9f96ea add IAR to the supported toolchain 2018-03-28 10:03:23 +01:00
Steven Cooreman e487043c11 Set up the ISR stack pointer in the right location on ARMCC
EFR32MG1, EFR32MG12 and EFM32PG12 didn't have a fixed ARMCC linker script yet.
2018-03-27 23:03:49 +02:00
toyowata 3acdc81e6d Add alignment check in the flash_program_page
* Add source address word alignment check
* malloc and memcpy are called only if data is unaligned
* malloc size is now copySize (program page size), rather than whole buffer to be written
2018-03-27 23:04:26 +09:00
Wilfried Chauveau 88a2df72e2 fix device name (an mixed tab/space) 2018-03-27 13:35:35 +01:00
Steven Cooreman cbba94b2f4 Enable tickless mode on Silicon Labs targets 2018-03-27 12:44:53 +02:00
Mahesh Mahadevan c3f8cac2e3 KL82Z: Fix the clock selection for LPUART module
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-03-27 02:52:20 -05:00
Cruz Monrreal e9b234b876
Merge pull request #6424 from OpenNuvoton/m487_v3
Nuvoton: Support M487 v3.0 pin map
2018-03-26 14:26:32 -05:00
Cruz Monrreal 50773b1b75
Merge pull request #6440 from theotherjimmy/remove-supertarget
Remove supertarget
2018-03-26 14:21:53 -05:00
Wilfried Chauveau c31676306a switch to stm32l151cb-a & work around flash size field width. 2018-03-26 18:00:18 +01:00
Ganesh Ramachandran a7d8eaed9e Low power consumption mode for deepsleep 2018-03-26 15:43:21 +05:30
Ganesh Ramachandran 609441a361 Dynamic vector relocation and formatting changes 2018-03-26 15:39:05 +05:30
Ganesh Ramachandran ee1bf13f54 CI build - case sensitive include header resolved 2018-03-26 15:39:05 +05:30
Ganesh Ramachandran d7905ab81f Modified ESG reset process 2018-03-26 15:39:05 +05:30
Ganesh Ramachandran 4e7e9e95a1 Added Support for Toshiba TMPM46B 2018-03-26 15:39:05 +05:30
Martin Kojtal f4fc5e6fc3 Realtek: serial - line ending fix
One line had a window line ending
2018-03-26 08:50:32 +01:00
ccli8 ccec9d75d6 [Nuvoton] Add missing delay in lp_ticker
mbed-os-tests-mbed_drivers-lp_ticker/Test multi ticker test fails inconstantly.
This commit is mainly to fix the issue.
2018-03-26 09:45:59 +08:00
ccli8 5d453ed381 [Nuvoton] Check timer active flag after enabling timer counting in us_ticker/lp_ticker 2018-03-26 09:42:53 +08:00