Martin Kojtal
dd49382061
RTOS - update for RTX v4.79 for Cortex-M
...
Thread - stack methods are not available for now, as tcb pointer was removed from
internal structure. To obtain it, we could get it from the kernel, but this should be
reconsidered. Either RTOS should provide it, or these methods will become deprecated.
2016-04-06 17:41:08 +01:00
Martin Kojtal
e422824ea1
RTX - update to v4.79 for Cortex-M
...
Changes to the original kernel:
Cortex-M requires to define __CMSIS_OS_RTX, and __MBED_CMSIS_RTOS_CM. The macro __MBED_CMSIS_RTOS_CM
is mbed specific macro, to track changes to the kernel. This should keep us aware what has changed. For instance,
one breaking change was thread adding instances variable, which were not in mbed. This can be find as
it's protected via __MBED_CMSIS_RTOS_CM ifdef.
```
// added for mbed compatibility
// original RTX code
```
Startup for toolchains - mbed defines own stack pointer (set_main_stack()), therefore it should be called in the startup.
IAR added low level init calls and dynamic intialization to the IAR startup. All defined in RTX_CM_lib.h.
The timer thread has task id 0x01, main task 0x02. There are exception for main task not to check for
overflows. This is mbed specific, was reapplied from mbed code base.
IAR fixed SVC calls, this fix had to be reapplied (repo mbed PR 736 for more information).
2016-04-06 15:14:30 +01:00
Bogdan Marinescu
a215fe48fd
Fixed build tools
2016-04-05 19:00:39 +03:00
Bogdan Marinescu
35e8c143cc
Removed non needed tools/data directory
2016-04-05 16:46:18 +01:00
Bogdan Marinescu
c786800234
Added reference to mbedtls
2016-04-05 16:41:13 +01:00
Bogdan Marinescu
0c2d2b8c22
Preparing new layout - added networking deps
2016-04-05 16:40:58 +01:00
Bogdan Marinescu
dc939f27ce
Preparing new layout - ignored unused networking libs
2016-04-05 16:40:58 +01:00
Bogdan Marinescu
1fd427fc59
Preparing new layout - moving lwip (2)
2016-04-05 16:40:57 +01:00
Bogdan Marinescu
fa71088cdc
Preparing new layout - moving lwip (1)
2016-04-05 16:40:57 +01:00
Bogdan Marinescu
882d3f4e48
Preparing new layout - added net/NetworkSocketAPI
...
Origin: https://developer.mbed.org/teams/NetworkSocketAPI/code/NetworkSocketAPI/
2016-04-05 16:40:57 +01:00
Marcus Shawcroft
f2ddf68b80
Increase iteration count on toolchain wait loop
2016-04-05 16:40:50 +01:00
Marcus Shawcroft
d54b280afe
Support debug-info in build.
2016-04-05 16:40:16 +01:00
Marcus Shawcroft
1a7efa8787
Define __CMSIS_RTOS
2016-04-05 16:39:24 +01:00
Marcus Shawcroft
b0fa89205c
Define K64F_UV
2016-04-05 16:38:58 +01:00
Marcus Shawcroft
e74b59cc94
Adding --source and -D iptions on project.py
2016-04-05 16:38:34 +01:00
Marcus Shawcroft
dc7df8caeb
Switch MBED_BASE from .../mbed to .../sdk
2016-04-05 16:38:05 +01:00
Marcus Shawcroft
4f7804b221
Remove yaml exporter
2016-04-05 16:32:01 +01:00
Marcus Shawcroft
3b2b06197a
move workspace to tools
2016-04-05 16:30:51 +01:00
Bogdan Marinescu
dca69e022b
Preparing new layout - moved ./workspace_tools to ./tools
2016-04-05 16:26:31 +01:00
Bogdan Marinescu
3feff63592
Preparing new layout - moved hal+mbed-drivers to ./hal
2016-04-05 16:26:29 +01:00
Bogdan Marinescu
db76c7fc37
Preparing new layout - moved rtos in core/mbed-rtos
2016-04-05 16:26:11 +01:00
Bogdan Marinescu
1efcfd46b4
Preparing new layout - moving unused libraries
2016-04-05 16:26:10 +01:00
Martin Kojtal
582a1cb688
Export - add export log yaml file
...
Exporters should provide additional information - what templates
are they using. For progen, it should be version, and we might add more
information later.
2016-04-05 16:26:08 +01:00
dbestm
864ff2c937
[XXX_F746XG] Move erasing of BkUpR in RTC API
...
The erasing of back up register is only needed when using LSI in RTC API
2016-04-05 16:26:07 +01:00
dbestm
a3ff2c53fe
[XXX_F10XRB] enhance RTC API
...
Add a define to select between LSE or LSI
2016-04-05 16:26:07 +01:00
dbestm
10c9469b6d
[XXX_L15XX] Move erasing of BkUpR in RTC API
...
the erasing of back up register is only needed when using LSI
2016-04-05 16:26:07 +01:00
dbestm
e7801d7a48
[XXX_L0X3XX] Move erasing of BkUpR in RTC API
...
The erasing of back up register is needed only when using LSI in RTC API
2016-04-05 16:26:07 +01:00
Russ Butler
85be4b7898
Prevent recursive processing of us_ticker in FSL
...
When a ticker is scheduled to run so fast that it is pending again
before the previous event has been processed then this next event
is processed (recursively) by calling into us_ticker_irq_handle().
This can lead to a stack overflow.
This patch prevents this recursion by replacing the call to
us_ticker_irq_handler() with a call to set the interrupt to pending
again. This allows the next timer event to be processed without
making the stack deeper.
2016-04-05 16:26:06 +01:00
dbestm
1d0aee9065
[XXX_F3XX] enhance rtc api
...
add define to select LSI or LSE, update rtc api accordingly
2016-04-05 16:26:06 +01:00
dbestm
310c61a071
[xxx_F746XG] enhance RTC api
...
to support LSI and LSE with a define in device.h
2016-04-05 16:26:06 +01:00
dbestm
1e473b891c
[XXX_F0XX] enhance RTC api
...
add define to select LSI or LSE
modify rtc api accordingly
2016-04-05 16:26:05 +01:00
dbestm
bdbc85ac64
[xxx_L476XG] remove erase of BkUpR in RTC API
...
the erase of back up regsiters are needed only when using RTC+LSI
2016-04-05 16:26:05 +01:00
Martin Kojtal
5ebcc34601
Merge pull request #1643 from dbestm/dev_xxx_f4xx_rtc
...
[XXX_F4XX] remove erasing of BkUpR in RTC API
2016-04-01 17:38:14 +01:00
dbestm
31defa8bcd
[xxx_F4XX] remove erasing of BkUpR in RTC API
...
the erasing of back up register is only needed when using LSI in RTC API
2016-04-01 11:39:51 +02:00
dbestm
e42e174852
[XXX_L15XXX] enhance RTC files
2016-03-30 17:49:39 +02:00
0xc0170
58c0b22c8c
mbed lib revision - 117
2016-03-30 12:40:37 +01:00
Martin Kojtal
4694003b10
Merge pull request #1633 from ducky64/master
...
Make Nucleo F303K8 number of interrupts consistent with amount of SRAM allocated
2016-03-29 11:11:17 +02:00
Martin Kojtal
232c046801
Merge pull request #1635 from ducky64/nucleo_rpc
...
Add Nucleo F303K8 pin parsing for RPC
2016-03-29 10:23:49 +02:00
ducky64
0bbfa7ddbf
Add Nucleo F303K8 support to RPC
2016-03-26 20:09:57 -07:00
ducky64
c74a616be6
Make Nucleo F303K8 number of interrupts consistent with amount of SRAM
...
reserved by linker scripts
2016-03-26 12:44:43 -07:00
Martin Kojtal
4e40445b73
Merge pull request #1629 from bcostm/dev_L0_rtc
...
[STM32L0] RTC update
2016-03-25 15:39:04 +01:00
bcostm
18f90871db
Replace tabs with spaces
2016-03-25 14:56:56 +01:00
bcostm
481a451f2c
Update LSI typical value to 38MHz (datasheet value)
...
MBED_16 test re-checked ok with LSI on the 3 STM32L0 platforms.
2016-03-25 14:56:01 +01:00
bcostm
3d6e522177
Move rtc_api.c in upper folder
...
This file should be common for all L0 targets.
2016-03-25 14:08:04 +01:00
Martin Kojtal
286b61db8a
Merge pull request #1554 from bcostm/stm32l4_arm_startup_files
...
[STM32L4] Update ARM_MICRO startup files
2016-03-24 10:21:16 +01:00
dbestm
3e896871e6
[xx_L476xx] update LSI timeout defines
...
move hal_conf.h in device folder
clean define related to LSI timeout
2016-03-24 07:44:00 +01:00
Martin Kojtal
c8a58335b5
Merge pull request #1623 from 0xc0170/fix_uvision_asm
...
uvision exporter - fix - asm does not like string defined macros
2016-03-24 07:40:35 +01:00
Martin Kojtal
dd3cba536f
Merge pull request #1622 from c1728p9/fix_kl05_uart_clock
...
Prevent KL05 from using an unstable clock
2016-03-24 07:15:23 +01:00
Martin Kojtal
ff9d4e2266
Merge pull request #1625 from dbestm/dev_l0x3_rtc
...
[xxx_L0X3] debug RTC to add a proper init check feature
2016-03-24 07:03:30 +01:00
dbestm
6dbe57b058
[xxx_L0X3] debug RTC to add a proper init check feature
2016-03-21 15:01:11 +01:00