Jaeden Amero
12a47f0031
RTX5: uVisor: Extend thread control block with context
...
OsEventObserver objects expect a context to be maintained per thread on
their behalf. Add this context to the thread control block and extend
the thread creation functions with the ability to supply a context.
2017-11-01 09:25:43 +00:00
Jaeden Amero
f363ccbb59
RTX5: uVisor: Add OsEventObserver
...
Add the OsEventObserver mechanism. A client interested in receiving
notifications on certain OS events can register to receive notifications
with osRegisterForOsEvents. This is useful for clients like the secure
memory allocator, which observes thread switching events in order to
swap in and out different memory allocator objects.
2017-11-01 09:25:42 +00:00
Jaeden Amero
372b7b8b47
RTX5: uVisor: Defer to uVisor for SVCall priority
...
Only set the SVCall priority if uVisor is not present. If uVisor is
present, keep using whatever priorities it has already set up.
2017-11-01 09:25:42 +00:00
Bartek Szatkowski
b8aa068def
CMSIS/RTX: Rename asm files to upper case .S
2017-11-01 09:25:42 +00:00
Bartek Szatkowski
4523b5d266
CMSIS/RTX: Allow overwriting _mutex_initialize symbol for ARMC
2017-11-01 09:25:42 +00:00
Bartek Szatkowski
20357bc1fa
CMSIS/RTX: Reintroduce core_cmSecureAccess.h lost during CMSIS update
2017-11-01 09:25:42 +00:00
Martin Kojtal
02d01f42a6
CSMIS/RTX: cmain IAR: add mbed main
...
This fixes #4602 issue, mbed_main should be invoked right before the real main
2017-11-01 09:25:42 +00:00
Bartek Szatkowski
3f97e57364
CMSIS/RTX: Remove os_tick_gtim.c
...
This implementation of timer conflicts with the default ptim, we will
keep the default and let the timer override the implmenetation if
needed.
2017-11-01 09:25:42 +00:00
Bartek Szatkowski
1b131edd69
CMSIS/RTX: Patch RTX so irq_cm4f.s files work with no FPU targets
2017-11-01 09:25:42 +00:00
Bartek Szatkowski
5d6abd6572
CMSIS/RTX: Patch RTX includes to match mbed OS scheme
2017-11-01 09:25:42 +00:00
Bartek Szatkowski
d5933f198c
CMSIS/RTX: Patch RTX4 to preserve osThreadDef compatibility
...
mbed OS used older RTX4 version and with osThreadDef accepting only 3
parameters, to preserve compatibility we hardcode the 'instances'
parameter to 1.
2017-11-01 09:25:42 +00:00
Bartek Szatkowski
a03591d6e3
CMSIS/RTX: Update CMSIS and RTX to 22b68c
...
This includes Cortex A support and directory reshuffle.
2017-11-01 09:25:42 +00:00
Jimmy Brisson
7b2e9b1ad1
Merge pull request #5385 from kegilbert/slicingbd-ctor-rework
...
SlicingBD: replace second constructor with default parameter
2017-10-30 10:12:19 -05:00
Jimmy Brisson
12dace0a4b
Merge pull request #5377 from maciejbocianski/semaphore_mem_fix
...
semaphore test: fix out of memory problem for NUCLEO_F070RB
2017-10-30 10:11:29 -05:00
Jimmy Brisson
3749f2d469
Merge pull request #5376 from maciejbocianski/mail_mem_fix
...
mail test: fix out of memory problem for NUCLEO_F070RB
2017-10-30 10:10:47 -05:00
Jimmy Brisson
27533ff16e
Merge pull request #5375 from kegilbert/chainingbd-address-iter-fix
...
ChainingBlockDevice: changing blocks address fix
2017-10-30 10:09:51 -05:00
Jimmy Brisson
acb384c88a
Merge pull request #5332 from adbridge/master
...
Improve domain handling and status checking of updated examples.
2017-10-30 10:08:42 -05:00
Jimmy Brisson
02f1d0185a
Merge pull request #5320 from kegilbert/fix-build-warnings-lpc4088
...
Fix ethernet API build warnings for LPC4088
2017-10-30 10:08:15 -05:00
Jimmy Brisson
55197e78f3
Merge pull request #4936 from mprse/memPool_test_and_fixes
...
Add MemoryPool test.
2017-10-30 10:07:49 -05:00
Przemyslaw Stekiel
b7e27760d9
Add MemoryPool test.
...
Add test for MemoryPool.
2017-10-27 08:07:34 +02:00
Kevin Gilbert
84e3110b6f
Replace second SlicingBD ctor with default arg
...
Replace second ctor in SlicingBlockDevice with default parameter for the end address in first ctor
2017-10-26 11:49:35 -05:00
Kevin Gilbert
901157b305
Replace PACKED attribute on lpc4088 ethernet structs with MBED_PACKED. Placement of packed attribute was causing warnings due to following typedef
2017-10-26 11:34:48 -05:00
Maciej Bocianski
adb3dacd9d
mail test: fix out of memory problem for NUCLEO_F070RB
2017-10-26 14:33:14 +02:00
Maciej Bocianski
1c39f5b37e
semaphore test: fix out of memory problem for NUCLEO_F070RB
2017-10-26 14:32:42 +02:00
Anna Bridge
97e2d4a8c5
Merge pull request #5025 from grygorek/master
...
LPC1769 port
2017-10-26 11:35:35 +01:00
Anna Bridge
38ba693c57
Merge pull request #5327 from bcostm/remove_warnings
...
STM32: Remove compilation warnings
2017-10-26 11:05:20 +01:00
Anna Bridge
ea43b437a6
Merge pull request #5352 from Archcady/fix-event-lockup
...
Fix us_ticker collision and race for RTL8195AM
2017-10-26 11:01:06 +01:00
Anna Bridge
ffb7ae0c9e
Merge pull request #5365 from 0xc0170/fix_reduntant_tst
...
Remove redundant ISR test.
2017-10-26 10:59:50 +01:00
Anna Bridge
9c88d063a5
Merge pull request #5324 from ARMmbed/g-filesystemhandle-platform
...
doxygen: Change FileSystemHandle group to platform
2017-10-26 10:57:59 +01:00
Kevin Gilbert
a746f95a8b
Change address subtraction when moving through block devices to be the size of the entire block device not the block size
2017-10-24 18:31:46 -05:00
Anna Bridge
c7e51daf41
Combine string constants passed to 'join' function
2017-10-24 15:08:41 +01:00
Przemyslaw Stekiel
cbd402e426
Remove redundant ISR test.
2017-10-23 17:51:54 +01:00
Jimmy Brisson
1566395323
Merge pull request #5347 from 0xc0170/nxp_fix_lptimer
...
MCUXpresso: Fix LPTimer issue when using multiple timeout objects
2017-10-23 10:34:50 -05:00
Jimmy Brisson
2a8023180f
Merge pull request #5340 from 0xc0170/nxp_fix_us_timer_replacement
...
MCUXpresso: Fix issue of ticker interrupt incorrectly firing
2017-10-23 10:34:07 -05:00
Jimmy Brisson
ab8a8de1a7
Merge pull request #5317 from theotherjimmy/fix-arm-supported-check
...
Tools: Check for toolchain and core support for Arm Compilers
2017-10-23 10:33:22 -05:00
Jimmy Brisson
d2b762092c
Merge pull request #5260 from tung7970/fix-iar
...
RTL8195AM - Fix IAR ielftool zero-padding issue
2017-10-23 10:32:29 -05:00
Jimmy Brisson
3354327a9f
Merge pull request #5188 from bcostm/fix_dac_f207zg
...
NUCLEO_F207ZG: Analogout improvement
2017-10-23 10:31:17 -05:00
Jimmy Brisson
656aa8279b
Merge pull request #5179 from LMESTM/trng_deprecated_call
...
STM32: TRNG: remove call to deprecated HAL_RNG_GetRandomNumber
2017-10-23 10:29:04 -05:00
Martin Kojtal
c644cfefed
Merge pull request #5354 from LMESTM/flash_activate
...
Activate FLASH hal support on 2 STM32 boards
2017-10-23 15:04:14 +01:00
Jimmy Brisson
b0fc103de6
Check for core support in ARM toolchain
2017-10-20 10:05:37 -05:00
Jimmy Brisson
3a2f58ebc8
Test the supported check in the ARM toolchains
...
They fail right now, Cores are not checked
2017-10-20 10:05:17 -05:00
Laurent MEUNIER
38488623c8
Activate FLASH hal support on 2 STM32 boards
...
The generic Flash support for L4 and L0 families is already there,
but was not activated by default on 2 recentely added boards:
DISCO_L475VG_IOT01A and DISCO_L072CZ_LRWAN1
This is done now.
2017-10-20 15:11:01 +02:00
Anna Bridge
9c1fd48529
Merge pull request #5278 from maciejbocianski/heap_and_stack_tests
...
Move heap_and_stack tests to TESTS/mbed_bootstrap
2017-10-20 10:25:07 +01:00
Anna Bridge
4d25bccbb1
Merge pull request #5081 from maciejbocianski/events_flags_tests
...
Extends test set for EventFlags class
2017-10-20 10:24:31 +01:00
Anna Bridge
e9e0595188
Merge pull request #5042 from tung7970/fix-tools
...
RTL8195AM - Respect Toolchains paths in post bulid script.
2017-10-20 10:23:25 +01:00
Tony Wu
1ee88fb0f6
rtl8195am - fix us_ticker collision and race
...
Switch to timer 2 for us_ticker for timer 6 might be used
for power saving.
Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-10-20 17:10:02 +08:00
Martin Kojtal
cbb8a1f994
Merge pull request #4947 from fkjagodzinski/rtostimer_tests
...
Rtostimer tests
2017-10-19 16:46:12 +01:00
Martin Kojtal
0c679a8f7d
Merge pull request #4989 from maclobdell/k66f_flash_iap_bootloader_noflashdrvr
...
add flash iap and bootloader support to K66F
2017-10-19 16:45:52 +01:00
Martin Kojtal
2af7213c51
Merge pull request #5104 from architech-boards/master
...
add support for SILICA_SENSOR_NODE platform
2017-10-19 16:44:17 +01:00
Martin Kojtal
919e145bde
Merge pull request #5243 from maciejbocianski/basic_tests
...
Basic test refactoring
2017-10-19 16:43:49 +01:00