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
Jimmy Brisson
18bb6fdc1f
Merge pull request #4620 from bulislaw/thread_tests
...
Extend tests for RTOS Thread class
2017-07-17 11:03:34 -05:00
Jimmy Brisson
80121e51e5
Merge pull request #4648 from Patater/uvisor-tests-sync
...
Update uVisor to v0.29.0
2017-07-17 11:02:29 -05:00
Jaeden Amero
6f1bb67b55
uVisor: Import v0.29.0
2017-07-13 16:47:47 +01:00
Jaeden Amero
f080a0ea6c
uVisor: importer: Copy uvisor-tests pointer
...
This enables mbed-os and uvisor-tests to stay synchronized.
2017-07-13 16:47:43 +01:00
Martin Kojtal
692d9055b1
Merge pull request #4725 from theotherjimmy/extra_targets_exporters
...
Parse and use custom targets in exporters
2017-07-13 17:00:38 +02: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
Martin Kojtal
b685fe89b1
Merge pull request #4592 from KariHaapalehto/connect_timeout
...
[ONME-3089] - Adjust lowpan ND interface connect timeout
2017-07-13 16:50:19 +02:00
Martin Kojtal
1849370100
Merge pull request #4652 from geky/fat-fix-unaligned-ioctl
...
fatfs: Fix unaligned access in disk_ioctl
2017-07-13 16:49:01 +02:00
Martin Kojtal
5a5d159a3c
Merge pull request #4666 from chrissnow/tests-mbed_hal-flash-Timing_fix
...
Fix timing issues found in "Flash - clock and cache test"
2017-07-13 16:48:32 +02: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
7d1e87a5b3
Merge pull request #4677 from u-blox/ppp_stack_increase
...
Increase default PPP stack size from 512 bytes to 768 bytes.
2017-07-13 16:44:30 +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
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
5ba9636824
Merge pull request #4747 from Archcady/rm_code
...
Remove unused headfile includes for REALTEK_RTL8195AM
2017-07-13 16:36:06 +02:00
Martin Kojtal
8148329fc8
Merge pull request #4749 from 0xc0170/fix_inc_paths
...
tools: fix toolchain extend inc paths
2017-07-13 16:35:24 +02:00
Martin Kojtal
56cb1582be
ticker test: add test for set interrupt with timestamp in the past
...
2 test cases added, one for event in the past, one for event in future but very close
to the current time, thus once is set, it is already in the past, and we fire
interrupt immediately.
2017-07-13 12:23:25 +01:00
Martin Kojtal
4ff432904e
ticker test: add fire now stub
2017-07-13 12:23:25 +01: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
Martin Kojtal
441fda979d
tools: fix toolchain extend inc paths
...
inc paths might be a list or might not be (just single string). If they don't, we are ending up with non valid include paths (one letter include paths).
This as result would not compile.
2017-07-12 16:24:06 +01: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
Yuguo Zou
c7111c429e
mute wifi_conf messages
2017-07-12 12:13:05 +08: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
Jimmy Brisson
aae62bd990
Merge pull request #4674 from andreaslarssonublox/ublox_evk_nina_b1_fix_led4
...
Fix LED4 for UBLOX_EVK_NINA_B1
2017-07-10 12:06:11 -05:00
Jimmy Brisson
a052fa3d45
Merge pull request #4561 from geky/fat-fs-volume-prefixes
...
fatfs: Add full support for multiple fs volume prefixes
2017-07-10 12:05:43 -05:00
Jimmy Brisson
b38c85cafe
Merge pull request #4525 from fahhem/patch-1
...
Improve the startup code on the STM32F070
2017-07-10 12:04:42 -05:00
Jimmy Brisson
868adafe57
Merge pull request #4518 from mazimkhan/mbed-tls-test-deploy
...
Add new target in mbedtls importer Makefile for mbedtls tests
2017-07-10 12:03:47 -05:00
Jimmy Brisson
3d86959dd8
Merge pull request #4485 from kegilbert/f429_sdk_flash_driver-rebase
...
Replace CMSIS flash driver by SDK flash driver
2017-07-10 12:03:03 -05:00
Jimmy Brisson
efc5c47e55
Merge pull request #4720 from marcuschangarm/flashiap_read
...
FlashIAP: Add explicit read function to flash_api.h
2017-07-07 17:47:49 -05:00
Jimmy Brisson
50fdca88e8
Merge pull request #4599 from studavekar/timing_tests_update
...
Update timing tests to be robust
2017-07-07 16:22:09 -05:00
Jimmy Brisson
e6bdc324ec
Allow custom_targets.json exporting
2017-07-07 14:45:58 -05:00
Jimmy Brisson
81446f69be
Generate exporter suppored lists when needed
2017-07-07 14:45:32 -05:00
Laurent MEUNIER
61648a53f5
Fix alignement
2017-07-07 17:27:46 +02:00
Anna Bridge
744b2a2579
Merge pull request #4546 from bridadan/fix_test_prints
...
Fix bad test print and move locks for printf into macro.
2017-07-07 12:44:50 +01:00
Anna Bridge
8224dab741
Merge pull request #4547 from bridadan/sort_config_data
...
Sort the config parameters before printing them
2017-07-07 12:44:18 +01:00
Anna Bridge
4890261c98
Merge pull request #4548 from deepikabhavnani/os_warn
...
Resolve Warnings for mbed-os-examples
2017-07-07 12:43:27 +01:00
Anna Bridge
28df3aeb87
Merge pull request #4635 from deepikabhavnani/spi_acquire
...
_acquire() function added & removed duplication in format/freq calls
2017-07-07 12:41:34 +01:00
Anna Bridge
292b4082ef
Merge pull request #4636 from theotherjimmy/quote-cflags
...
Double escape defines in gnuarmeclipse export
2017-07-07 12:40:40 +01:00
Anna Bridge
9ebac18596
Merge pull request #4710 from amq/patch-1
...
Correct a typo in the github issue template
2017-07-07 12:39:06 +01:00
Anna Bridge
e1bc3efd0c
Merge pull request #4711 from LordGuilly/verbose_missing
...
added the missing verbose=verbose to printout the command line correctly at build_api.py
2017-07-07 12:38:23 +01:00