0xc0170
f5eeaa09c6
Merge branch 'master' of https://github.com/modtronix-com/mbed into modtronix-com-master
...
Conflicts:
libraries/rtos/rtx/TARGET_CORTEX_M/RTX_CM_lib.h
libraries/rtos/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c
workspace_tools/export/coide.py
workspace_tools/export/gccarm.py
workspace_tools/export/uvision4.py
2015-05-21 09:53:12 +01:00
Toyomasa Watarai
014c5f46f5
[RTOS] Add Nucleo STM32L152RE platform
...
* Add RTOS support for Nucleo STM32L152RE
* Add RTOS tests for the target
* Add RTOS build for build travis
2015-05-14 13:05:57 +09:00
Dmitry Bogdanov
6d0c61a6ad
Backport of Issue: RTX: Main thread should not write MAGIC_WORD to stack #827
2015-05-08 19:58:12 +04:00
Dmitry Bogdanov
f3a03cacc1
Backport of Issue: RTX: Support stacks larger than 64k #826
2015-05-08 19:53:07 +04:00
Dmitry Bogdanov
d56b34022d
code cleanup
2015-05-08 19:43:34 +04:00
Dmitry Bogdanov
4653da3604
Merge remote-tracking branch 'origin/master' into LPC2460
...
Conflicts:
libraries/USBDevice/USBDevice/USBEndpoints.h
workspace_tools/export_test.py
2015-05-05 21:35:21 +04:00
Dmitry Bogdanov
d41b74e898
backport of Issue: Fix stack aligment. #812
2015-05-05 21:27:39 +04:00
raulMrello
a73ee5c3d6
Updated Thread.cpp|.h to support signal clear
2015-05-04 09:35:58 +02:00
Martin Kojtal
7c1fba2cda
Merge pull request #1074 from dbestm/master
...
[NUCLEO_F3xxRx][RTOS]enhance source and test
2015-04-27 09:42:20 +01:00
Dmitry Bogdanov
ac5a462946
bug fix of SVC handler
2015-04-23 18:57:41 +04:00
Christoph Plank
82b7d9d3f7
Added RTOS support for TEENSY3_1 target
2015-04-18 17:00:57 +02:00
Christoph Plank
bd1bfb5c4b
Fixed RTOS support for Cortex-M4 without FPU
2015-04-18 17:00:57 +02:00
Jeremy Brodt
5ada69b73d
[MAX32600MBED] Adding MAX32600MBED platform.
2015-04-14 10:00:23 -05:00
Jun-Ru Chang
f211a680b4
[RTOS] fix compilation warning
...
pragma push/pop/Ospace are only supported by ARM compiler. Change
predefined marco from __arm__ to __CC_ARM. Warning messages are
shown as below.
[Warning] rt_CMSIS.c@1867: 1866:0: warning: ignoring #pragma push
[-Wunknown-pragmas] ignoring #pragma Ospace [-Wunknown-pragmas]
[Warning] rt_CMSIS.c@1884: 1866:0: warning: ignoring #pragma push
[-Wunknown-pragmas] ignoring #pragma pop [-Wunknown-pragmas]
Change-Id: Ife657b710d694449b30dc4b3150cd49c883fc080
Signed-off-by: Jun-Ru Chang <jrjang@gmail.com>
2015-04-10 10:56:55 +08:00
dbestm
1684127708
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-04-08 11:39:06 +02:00
Martin Kojtal
071f4d0e44
Merge pull request #1003 from jeremybrodt/maxwsnenv
...
Adding MAXWSNENV platform.
2015-04-08 08:31:46 +02:00
Toyomasa Watarai
41d37b5f2d
[RTOS] Add workaround for internal fault
...
* Add #pragma Ospace to prevent internal fault of armcc 5.04 and 5.05
* Reported by
http://developer.mbed.org/questions/5003/Compiling-latest-github-with-ARM-DS5-fai/
2015-04-08 14:42:17 +09:00
Jeremy Brodt
3f7718cec4
Adding MAXWSNENV platform.
2015-04-07 13:39:09 -05:00
dbestm
48f9602e8a
[NUCLEO_F302R8] Fix wrong clock define used by RTX
2015-04-01 15:04:14 +02:00
Masao Hamanaka
095a943958
Increase main thread stack size.
...
When the user makes a program , it is often continue to add the process to the main thread .
For this reason, increase main thread stack size.
2015-03-23 19:56:55 +09:00
dominus97
4e86cf6273
Removed the comment
2015-03-09 18:41:12 +01:00
dominus97
e636215665
Added support for Nucleo F303RE
...
The OS_TASKCNT is set to 6, could be more.
The OS_SCHEDULERSTKSIZE is set to 112, could also be more.
The OS_CLOCK is set to 72000000 which matches the description on https://developer.mbed.org/platforms/ST-Nucleo-F303RE/
Cheers
2015-03-07 22:33:48 +01:00
dominus97
5e1716f63f
Added support for Nucleo F303RE
...
I am not sure if it's the right SP, but the basic blink code works.
What does the SP stand for? Stack pointer?
Also, if you could tell me where to look for the correct address, I would.
I looked in the reference manual and the programming manual that STM provides, with no luck.
Cheers
2015-03-07 22:13:37 +01:00
Viller Hsiao
bb0246f04a
Remove trailing whitespace in RTX
2015-03-06 16:16:58 +08:00
Masao Hamanaka
c46f5b894b
Modify to support GCC. (CMSIS-RTOS RTX for Cortex-A9)
2015-02-26 16:31:58 +09:00
modtronix-com
fa26ed2e0e
Added NZ32ST1L Target
...
Added NZ32ST1L Target, new board from modtronix.com using STM32L151RC
cpu.
2015-02-24 18:08:39 +11:00
Masao Hamanaka
02cba63476
Increase private thread num.
2015-02-20 17:36:11 +09:00
Dmitry Bogdanov
e81663306b
bugfix of SysTickTimer
2015-02-19 16:05:09 +04:00
Dmitry Bogdanov
a523cb7da9
Add support of RTOS to LPC2460 platform
2015-02-18 19:07:41 +04:00
0xc0170
ccfbdf497b
Fix issue #902 - disable RTOS for NRF51822.
...
To enable, systick needs to be replaced by RTC for this target,
as systick is not implemented.
2015-02-12 09:11:22 +00:00
Anders Lindvall
dcc53f4bda
Fixed target issues for TARGET_LPC4088_DM
...
- Removed target alias from the EXPORT_MAP in targets.py as it didn't work
- Added copies of the LPC4088 target exporters
- Fixed flag issue in the gcc toolchain
- Changed defines in eth USBDevice, rpt and rtos to handle
TARGET_LPC4088_DM
2015-02-08 11:56:39 +01:00
nitin.bhaskar.27.09@gmail.com
81a364c6e9
Extended RTOS support for LPC4330 Target
2015-01-28 20:57:37 +05:30
Adam Green
35d1ffd787
Correct warning when assigning HEAP_START to stack_pointer
...
This fixes issue #856 reported by @neilt6.
I tested on mbedLPC1768 and mbedLPC11U24 using the GCC_ARM toolchain.
2015-01-21 18:52:24 -08:00
Masao Hamanaka
596d0e9b78
Commit upstream changes.
...
Commit upstream changes that is "Merge pull request #833"
2015-01-09 13:54:55 +09:00
Masao Hamanaka
d469fdf79e
Increase STACK size of thread.
2015-01-07 19:09:50 +09:00
ohagendorf
11c2a5b888
error correction rebas and build_travis extension
...
travis_build ok
all tests for nucleo_f0xx and nucleo_f3xx ok
2015-01-05 23:59:58 +01:00
ohagendorf
f5c3b18d75
[NUCLEO_F091RC] adding exporter (gcc_arm, coide), enable rtos
...
- Adding exporter for CoIDE and GCC_ARM
- Adding target to RTOS lib
2015-01-05 22:55:18 +01:00
ohagendorf
5ebdb92e78
[NUCLEO_F072RB] adding target to rtos lib
...
Every test (DTCT_1, EXAMPLE_1, MBED_xx, RTOS_x) is OK.
2015-01-05 22:43:52 +01:00
Martin Kojtal
914dd37b11
Merge pull request #818 from ohagendorf/stm32l053_rtos
...
DISCO/NUCLEO_L053xx - adding to RTOS, corrections for all tests, [DISCO_L053] exporter to µVision
2015-01-05 08:08:00 +01:00
Martin Kojtal
47ac39b3fd
Merge pull request #812 from perkristian/master
...
RTOS: Fix stack alignment
2015-01-05 08:01:09 +01:00
Martin Kojtal
fdc60ac217
Merge pull request #827 from adamgreen/rtxNoStackCheckForMainThread
...
RTOS: Main thread should not write MAGIC_WORD to stack
2015-01-05 07:50:23 +01:00
Adam Green
461403989c
RTX: Main thread should not write MAGIC_WORD to stack
...
This is a fix for issue #285 . This fix is similar to that proposed by
@oresths in the original issue.
There is code in rt_init_stack() which compares the task_id against the
value of 1 before writing MAGIC_WORD to the bottom of the stack. This
is supposed to stop the write from occurring for the main thread but
svcThreadCreate() doesn't initialize the P_TCB's task_id field until
after rt_init_stack() is executed. If any dynamic memory allocation
has occurred before the main thread is started (from the standard C
startup code) then this write could overwrite data in that allocation.
This change:
* moves the task_id initialization in svcThreadCreate() to happen
before the call to rt_init_context() is made.
* cleans up some comments in svcThreadCreate() which appear to
reference older versions of the code which would automatically
allocate stack memory if size == 0.
* still keeps the call to rt_dispatch() occurring after the call to
rt_init_context() so that the task is not dispatched to the
scheduler until the task fields have been populated.
I stepped through the rt_init_stack() code on my mbedLPC1768 after this
change was made to make sure that the write of MAGIC_WORD is now
skipped.
-----------------------------------------------------------------------
(gdb) break HAL_CM.c:95
Breakpoint 1 at 0x482c: file ../../external/mbed/libraries/rtos/rtx/TARGET_CORTEX_M/HAL_CM.c, line 95.
(gdb) c
Continuing.
Note: automatically using hardware breakpoints for read-only addresses.
Breakpoint 1, rt_init_stack (p_TCB=0x10000774 <os_idle_TCB>, task_body=0x4899 <os_idle_demon>)
at ../../external/mbed/libraries/rtos/rtx/TARGET_CORTEX_M/HAL_CM.c:95
95 if (p_TCB->task_id != 0x01)
(gdb) p *p_TCB
$1 = {
cb_type = 0 '\000',
state = 1 '\001',
prio = 0 '\000',
task_id = 255 '\377',
p_lnk = 0x0 <_reclaim_reent>,
p_rlnk = 0x0 <_reclaim_reent>,
p_dlnk = 0x0 <_reclaim_reent>,
p_blnk = 0x0 <_reclaim_reent>,
delta_time = 0,
interval_time = 0,
events = 0,
waits = 0,
msg = 0x0 <_reclaim_reent>,
stack_frame = 0 '\000',
reserved = 0 '\000',
priv_stack = 128,
tsk_stack = 268437480,
stack = 0x100007a8 <idle_task_stack>,
ptask = 0x4899 <os_idle_demon>
}
(gdb) c
Continuing.
Breakpoint 1, rt_init_stack (p_TCB=0x10000120 <os_thread_def_main+16>, task_body=0x620d <__wrap_main()>)
at ../../external/mbed/libraries/rtos/rtx/TARGET_CORTEX_M/HAL_CM.c:95
95 if (p_TCB->task_id != 0x01)
(gdb) p *p_TCB
$2 = {
cb_type = 0 '\000',
state = 1 '\001',
prio = 4 '\004',
task_id = 1 '\001',
p_lnk = 0x0 <_reclaim_reent>,
p_rlnk = 0x0 <_reclaim_reent>,
p_dlnk = 0x0 <_reclaim_reent>,
p_blnk = 0x0 <_reclaim_reent>,
delta_time = 0,
interval_time = 0,
events = 0,
waits = 0,
msg = 0x0 <_reclaim_reent>,
stack_frame = 0 '\000',
reserved = 0 '\000',
priv_stack = 26968,
tsk_stack = 268467136,
stack = 0x100012a8,
ptask = 0x620d <__wrap_main()>
}
(gdb) n
97 }
When the p_TCB for ptask==__wrap_main() is encountered, the task_id
now has a value of 1 and the write of MAGIC_WORD on line 96 is
skipped.
2015-01-02 17:24:48 -08:00
Adam Green
d587474778
RTX: Support stacks larger than 64k
...
This issue was originally reported on the mbed site:
http://developer.mbed.org/questions/5570/mbed-rtos-memory-utilization/
The cause of the 64k limitation is that even though the user can set a
stack size larger than 64k in the osThreadDef_t::stacksize 32-bit
field, this size is truncated to 16-bit when it is copied to
the priv_stack field in the OS_TCB structure.
This commit corrects that problem by making the OS_TCB::priv_stack
field 32-bit. Due to word alignment, this introduces another 2 bytes
of padding in the structure which I have made explicit with the
addition of the reserved2 field.
The tsk_stack field which follows priv_stack is referenced directly by
assembly language code responsible for context switching. This context
switching code used a fixed byte offset, TCB_TSTACK, to access this
tsk_stack field. I had to update the TCB_TSTACK definition in various
locations from 36 to 40 to account for the extra alignment padding and
increased size of the priv_stack field.
TESTING
* GCC_ARM - mbedLPC1768 and mbedLPC11U24
* Online mbed Compiler - mbedLPC1768 and mbedLPC11U24
NOTES: I had to change assembly language code that was specific to IAR
but I don't have that toolchain so those changes aren't tested.
They do however follow the same pattern as the tested GCC
modifications.
2015-01-02 13:14:40 -08:00
ohagendorf
b9bef6b06e
[DISCO/NUCLEO_L053xx] adding to RTOS - part3
...
Reverting the DEFAULT_STACK_SIZE changes in cmsis.oh.h and adding
changes to RTOS_x tests, to create threads with the neccessary reduced
stack sizes for these targets.
2015-01-02 14:52:39 +01:00
ohagendorf
6fa0730f47
[DISCO/NUCLEO_L053xx] adding to RTOS - part2
...
Stack sizes has to be reduced because of the limited 8K RAM.
2015-01-02 12:17:34 +01:00
ohagendorf
0ac123d488
[DISCO/NUCLEO_L053xx] adding to RTOS
2015-01-02 12:13:44 +01:00
Per Kristian Gjermshus
c59b34f22a
Fix stack aligment.
...
Stack should be 8 byte aligned on ARM.
Fix the automatic correction of the alignment in rt_init_stack,
and make sure that all stacks are aligned by the compiler.
2015-01-02 10:20:36 +01:00
Martin Kojtal
77d645476d
Merge pull request #810 from ohagendorf/STM32F3xx_rtos
...
DISCO/NUCLEO_F3xx - solving RTOS problem
2015-01-02 07:48:54 +01:00
ohagendorf
62a1b8d103
[DISCO/NUCLEO_F334] solving RTOS Problem
...
Decreasing OS_SCHEDULERSTKSIZE to 112 bytes solves the problem of the
failed test RTOS_3 (Semaphore resource lock).
The test itself was successfull but the final printf failed.
With the reduced stacksize now every test is OK.
2014-12-29 01:34:57 +01:00
ohagendorf
5df957e0d8
[NUCLEO_F302R8]
...
There exists an inconsistency between official STM schematic of Nucleo
boards and the existing hardware. Each board should have an 8MHz
external clock source. That is not the case. At some boards the solder
jumper is existing and with that the external clock source. At some
other boards the solder jumper is not available. The Nucleo_F302 should
run with 72MHz but that is only possible with an external clock source.
Because of a missing solder jumper it runs only with the internal clock
source, and that's why only with 64MHz.
2014-12-28 22:54:46 +01:00
Masao Hamanaka
0279c2a2ee
Modify some settings of OS and Ether
...
- Change default setting of CMSIS-RTOS RTX for Cortex-A9 to align with Cortex-M.
- Change the interrupt priority of Ether driver to align with other drivers.
2014-12-18 18:41:33 +09:00
Martin Kojtal
a67faf521f
Merge pull request #797 from ohagendorf/DISCO_F429_clockcycle
...
Targets: DISCO_F429ZI - clock frequency additions
2014-12-16 08:01:54 +00:00
Martin Kojtal
1fb5426bf6
Merge pull request #793 from ohagendorf/STMF4xxx_rtos
...
DISCO_F4xx, NUCLEO_F4xx, MDOT_F4 - fix RTOS problem (init seq)
2014-12-15 09:01:35 +00:00
ohagendorf
2002b797ad
[DISCO_F429ZI] changed clock settings
...
Original STM32Cube F4 driver sets SYSCLK for STM32F429 to 16MHz. This
adds a 168MHz and 180MHz configuration to system_stm32f4xx.c generated
by STM32CubeMX code generator. The rtos clock configuration is changed
too. In singletest.py run everything is OK.
2014-12-15 07:32:53 +01:00
ohagendorf
6f8f626bd6
[DISCO_F4xx][NUCLEO_F4xx][MDOT_F4] solving RTOS problem
...
- Changing original STM Cube Driver to call _start instead of main to
initialise the rtos when using it. Without using rtos the behavior is
the same as before.
- Adding DISCO_F429 to rtos
- Adding targets to RTOS_xx tests.
- All tests are OK. Tested with Nucleo and Disco boards. Not tested with
MDOT_F4 but that uses the same hal like nucleo_f411.
2014-12-13 22:50:02 +01:00
GustavWi
3062999e97
Separated the c data initialization and c++ to call mbed_sdk_init before c++ data. So that the c variables are updated before the c++ objects are initialized. Had to rename the cmain override in RTX_CM_lib.h to __iar_program_start because there can not be two __cmain overrides in the project. The ewps had to be updated to add the linker command --skip_dynamic_initialization which stalls the c++ data init until __iar_dynamic_initialization which is called right after mbed_sdk_init.
2014-12-10 13:40:17 +01:00
GustavWi
6210f92420
IAR RTOS support M0, M0+ and M4
2014-12-03 12:54:06 +01:00
Masao Hamanaka
495ba6d817
Fixed CMSIS-RTOS RTX build error.
...
Some files of CMSIS-RTOS RTX for CA9 has an effect on build error.
Confirmed those are unwanted files. Deleted.
2014-11-27 17:12:08 +09:00
Martin Kojtal
c3208fe6f4
Merge pull request #736 from GustavWi/iar_mbed
...
RTOS: IAR Export for CORTEX M3
2014-11-26 08:57:24 +01:00
GustavWi
092828ce33
Added IAR Export RTOS CORTEX M3
2014-11-24 10:58:08 +01:00
sg-
13b97774b8
[mbed][rtos][k22f] Add initial FRDM-K22F support
2014-11-20 22:21:25 -06:00
Masao Hamanaka
7e735c41b6
Fixed CMSIS-RTOS RTX for Cortex-A9
...
I fixed a bug as below.
A bug occured in CMSIS-RTOS RTX for Cortex-A9 when the build option is -O3.
2014-11-14 18:30:53 +09:00
Michael Brudevold
52ac44b482
Move OS CLOCK rate to target define
2014-11-12 10:59:27 -06:00
Michael Brudevold
e3d55f3d6f
Updates to support RTOS
2014-11-10 16:16:26 -06:00
Bogdan Marinescu
45ddf10698
Proper fix for Cortex-M/Cortex-A RTOS issue
...
Created two new labels (CORTEX_A and CORTEX_M) that can be used to differentiate
between Cortex-A and Cortex-M code in the build system.
2014-11-06 12:54:09 +00:00
Takayuki Kurosawa
33a843cf93
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
workspace_tools/targets.py
2014-11-06 16:19:35 +09:00
ohagendorf
86c54a26af
[DISCO_F334C8] new target incl. rtos support
...
New target as a copy of nucleo_f334 with changes/additions in pin and
rtos definitions.
2014-10-31 18:14:23 +01:00
ohagendorf
23987f6df7
[NUCLEO_F334R8] rtos support added
...
Added rtos support.
2014-10-31 14:39:53 +01:00
Lawrence M
0d27304410
add RTOS support for Nucleo STM32F302R8
2014-10-24 15:18:25 -07:00
Takayuki Kurosawa
b024a3dfda
[RZ/A1H] commit for RTOS changes
...
- adds RTX-CA related files
- changes Thread.cpp for CA9
- adds GR-PEACH entry to README.md
2014-10-24 11:46:01 +09:00
Martin Olejar
af083d2773
Added support of KL43Z into RTX
2014-10-22 19:37:40 +02:00
Toyomasa Watarai
685f97da37
Add LPC824 platform
...
LPCXpresso824-MAX support
uARM target support
RTOS support
2014-10-05 16:18:48 +09:00
Mathias Hasselmann
349ee9bac7
[NUCLEO_F103RB] Define RTOS target for this board
2014-09-25 07:52:27 +02:00
ytsuboi
a6b1d51dec
[LPC4337] support RTOS
2014-09-10 03:20:39 +09:00
Martin Kojtal
a681b14416
Change "error.h" to "mbed_error.h" to avoid conflicts with 3rd party code
2014-08-15 16:19:18 +01:00
Bogdan Marinescu
c3a0ebfab7
Merge branch 'patch-1' of git://github.com/23chrischen/mbed into 23chrischen-patch-1
...
Conflicts:
libraries/rtos/rtx/RTX_Conf_CM.c
2014-07-31 14:45:02 +01:00
Bogdan Marinescu
0280e5b79f
Merge pull request #398 from 23chrischen/master
...
Added INITIAL_SP for F411
2014-07-11 09:51:58 +01:00
23chrischen
698ea63b1c
Added INITIAL_SP for F411
2014-07-10 11:09:34 -05:00
DooWoong Lee
a13d6fa4c5
Update RTX_CM_lib.h
...
Fix Init SP for STM32F401RE
2014-07-09 09:10:41 +09:00
fritzprix
9e6c7d1287
- Add Nucleo F401RE Support
2014-07-09 01:20:58 +09:00
23chrischen
872dd1234d
Added STM32F411RE defines
2014-07-08 09:32:21 -05:00
Martin Kojtal
09251dd3ba
Revert "error.h -> mbed_error.h"
2014-07-08 14:04:50 +02:00
0xc0170
04071ab1ea
[RTOS] Semaphore - error.h removal - not used, error -> mbed_error
2014-07-06 19:22:15 +02:00
0xc0170
beaddaf8da
[RTOS] mbed error header file naming correction
2014-07-04 18:48:01 +02:00
dinau
323a5d7270
LPCCAPPUCCINO] initial port
...
LPCCAPPUCCINO is the breakboard that has LPC11U37,
https://strawberry-linux.com/catalog/items?code=12045
Schematic:
https://strawberry-linux.com/pub/cappuccino-sch.pdf
2014-06-20 23:08:02 +09:00
0xc0170
cf3b3d5a87
Merge branch '1549' of https://github.com/Kazu-zamasu/mbed into Kazu-zamasu-1549
2014-06-17 11:26:08 +03:00
Bogdan Marinescu
66d25186cd
Merge branch 'nrf51822-gcc-arm-export' of git://github.com/juancferrer/mbed into juancferrer-nrf51822-gcc-arm-export
...
Conflicts:
workspace_tools/export/gccarm.py
workspace_tools/export_test.py
workspace_tools/targets.py
2014-06-12 14:44:36 +01:00
Juan Carlos Ferrer
92c5d1b578
Updates clock value
2014-06-11 16:55:11 -05:00
kazu
a0b12abc1b
add 1549 GCC_CR
2014-06-12 05:29:44 +09:00
Juan Carlos Ferrer
2c90466c4f
Adds check for INITIAL_SP
2014-05-31 16:29:14 -05:00
Juan Carlos Ferrer
69fd5721be
Updates NRF51822 target defines
2014-05-31 16:15:25 -05:00
0xc0170
f09322274a
spaces removal - rtos
2014-05-29 15:36:51 +02:00
ban4jp
49cdbbfe5d
[KLXX] Added RPC + RTOS support
2014-05-25 18:03:50 +09:00
Toyomasa Watarai
e5a61c07c0
[LPC1549, 11U68] Added RTOS support
2014-04-29 23:14:33 +09:00
Bogdan Marinescu
94fd2228fb
Added K64F TCP/IP support
...
Currently NET_7 (HttpClient test) and NET_8 (NTP test) fail for
unknown reasons.
2014-04-23 16:16:38 +01:00
dinau
d9c2175a05
[STM32F3-Discovery][DISCO_F303VC] initial port.
2014-04-08 22:30:24 +09:00
0xc0170
9cc0f2513a
K64F - d14 and d15 swapped
2014-04-02 20:54:22 +02:00
0xc0170
03b3a4e895
Target K64F addition.
...
Squashed commit of the following:
commit db3c9f7682083abeb291e01df31e67e4c50845b3
Author: 0xc0170 <c0170@rocketmail.com>
Date: Wed Apr 2 09:52:00 2014 +0200
K64F - KSDK - Warnings fixes
commit a639a5cdff889c13509c954b0a34ebac861c1361
Merge: 67a2c2a f3de345
Author: 0xc0170 <c0170@rocketmail.com>
Date: Tue Apr 1 12:48:35 2014 +0200
Merge branch latest 'master' into dev_target_k64f
Conflicts:
libraries/rtos/rtx/RTX_Conf_CM.c
workspace_tools/build_api.py
commit 67a2c2aeb976f264db52ea10d18fea9de0d7685f
Author: 0xc0170 <c0170@rocketmail.com>
Date: Sun Mar 30 13:19:51 2014 +0200
K64F - PinName for buttons (SW2, SW3)
commit 957573e2cd42d5c73ed99477abb98c8b883695b2
Author: 0xc0170 <c0170@rocketmail.com>
Date: Tue Mar 25 11:46:57 2014 +0100
K64F - pins addition to mbed HAL, uart - 4 instances, fix i2c instance which was not stored
commit 2347a6d03984e297190910a250f2771032ae6327
Author: sg- <sam.w.grove@gmail.com>
Date: Mon Mar 24 15:20:51 2014 -0500
Added wait to i2c stop
commit b7b4a9c72e8724087a44078c41a2cb33e4c8d5e3
Author: 0xc0170 <c0170@rocketmail.com>
Date: Mon Mar 24 19:28:16 2014 +0100
K64F - I2c - ack flag retreive correction (logic inverted in ksdk hal)
commit 46c875251263029e32463c3b48473b10496088d9
Author: sg- <sam.w.grove@gmail.com>
Date: Mon Mar 24 13:16:18 2014 -0500
Added I2C Pinnames
commit b71c7a0dfba7025662f9a9d176494ce4dc86273e
Author: 0xc0170 <c0170@rocketmail.com>
Date: Tue Mar 18 17:02:34 2014 +0100
K64F Arduino pinNames update
commit d41b0ee493263d1d80fcb72b3f0d4d788359c7c9
Merge: 9c0a982 e2574eb
Author: 0xc0170 <c0170@rocketmail.com>
Date: Tue Mar 18 14:57:57 2014 +0100
Merge remote-tracking branch 'upstream/master' into dev_target_k64f.
K64F gpio changed according to the latest mbed master.
Conflicts:
libraries/rtos/rtx/RTX_CM_lib.h
workspace_tools/export/uvision4.py
commit 9c0a9822ab14263fff5e3b6459b7c2b4a77ce30c
Author: 0xc0170 <c0170@rocketmail.com>
Date: Mon Mar 17 21:08:17 2014 +0100
K64F - sleep support
commit 5edcf3603d2e7b00eedbb377203a054b7a01e51d
Author: 0xc0170 <c0170@rocketmail.com>
Date: Sun Mar 16 18:19:55 2014 +0100
K64F - pullup/down corrections, LED1 - R, LED2 - G, LED3 - B
commit a2b3b53a1474d32779654765cd1ce2ba2c6b2186
Author: 0xc0170 <c0170@rocketmail.com>
Date: Thu Mar 13 20:55:39 2014 +0100
K64F - SPI - delays are set, pin definition for tests
commit 1f3b3abe16f4afaaf1b75cb4bf3e3a9d5b6e50a7
Author: 0xc0170 <c0170@rocketmail.com>
Date: Tue Mar 11 21:26:00 2014 +0100
K64F - DAC update - tested with test a8
- internal reference set to VDDA
- PinName DAC0_OUT
commit 26d8cf47f8c0786b290ae659beb022901029b313
Author: 0xc0170 <c0170@rocketmail.com>
Date: Tue Mar 11 08:31:44 2014 +0100
KSDK - drivers layer removal, mbed HAL using only KSDK HAL
- ADC corrections with channels, and clock configuration
commit 67ebe14f5c88725033ea0fb135d94b6bf9a00fdb
Author: 0xc0170 <c0170@rocketmail.com>
Date: Mon Mar 10 12:46:08 2014 +0100
K20 copy files removed, targets.py - vertical alignment for K64F definition
commit be5c562d513c808e5bd425195a4fb1c71f47a57e
Merge: 696a713 fe0aca9
Author: Emilio Monti <emilmont@gmail.com>
Date: Mon Mar 10 11:14:55 2014 +0000
Merge branch 'rtos_support' into dev_target_k64f
commit 696a713751194b4762f1cdf6c17c0786decd7808
Author: 0xc0170 <c0170@rocketmail.com>
Date: Mon Mar 10 12:05:30 2014 +0100
[FIX] K64F - adc, sgtl driver updates
commit fe0aca9940bbdd5ee70a1a7341a0a2ad2abf912b
Author: Emilio Monti <emilmont@gmail.com>
Date: Mon Mar 10 11:04:16 2014 +0000
Add RTOS support for K64F
commit 5c3edcbca6dbcce628c7cde51ac94a6fc6278ba5
Author: 0xc0170 <c0170@rocketmail.com>
Date: Sun Mar 9 20:43:38 2014 +0100
K64F - uvision templates update
- uvision 5.10 supports K64F
commit 33f18d11d0eadb9243f1be0ae96c5f82e2913d48
Merge: 26f7587 74e9b2e
Author: 0xc0170 <c0170@rocketmail.com>
Date: Sat Mar 8 10:34:25 2014 +0100
Update branch from mbed master
- merge branch 'master' into dev_target_k64f
Conflicts:
libraries/USBDevice/USBDevice/USBEndpoints.h
libraries/USBDevice/USBDevice/USBHAL_KL25Z.cpp
workspace_tools/export/uvision4.py
workspace_tools/targets.py
commit 26f75872b19a1db2a3abb34c6e773bac56acb32f
Author: 0xc0170 <c0170@rocketmail.com>
Date: Thu Mar 6 22:15:53 2014 +0100
K64F - USBDevice - MPU disable in init
commit e54d6bbaa68827bd63058fbf2428e289d15ac1f7
Author: 0xc0170 <c0170@rocketmail.com>
Date: Wed Feb 26 21:06:58 2014 +0100
K64F - clock setup 4 (usb clock enable)
commit c4165732b9520cb31ae3d649d50c353d09dc9932
Author: 0xc0170 <c0170@rocketmail.com>
Date: Wed Feb 26 20:01:47 2014 +0100
K64F - USBDevice addition
commit 9fcdbb8562b1415561b04e902fcdbb4724add5af
Author: 0xc0170 <c0170@rocketmail.com>
Date: Mon Feb 24 19:11:48 2014 +0100
K64F SPI HAL - initial version
commit 8093df58fa7d17fcb5ad04872c958d5254ee1d8a
Author: 0xc0170 <c0170@rocketmail.com>
Date: Sat Feb 22 13:14:44 2014 +0100
K64F - RTC and I2C implementation (using KPSDK HAL)
- instance correction in objects and peripherals names headers
commit 7ef3fbda605c2bd53a86f37d0676c0393b2e2949
Author: 0xc0170 <c0170@rocketmail.com>
Date: Fri Feb 14 09:45:27 2014 +0100
mbed RTC HAL for K64F
commit e40332fd2db8bf36b3e6cabac5729e013da40c28
Merge: e059f65 6bfcd87
Author: 0xc0170 <c0170@rocketmail.com>
Date: Thu Feb 13 14:20:20 2014 +0100
Merge branch 'master' into dev_target_k64f
Conflicts:
workspace_tools/build_api.py
workspace_tools/export/uvision4.py
workspace_tools/targets.py
workspace_tools/toolchains/__init__.py
commit e059f65fd09694418f9fa4f38da90954ab9decfe
Author: 0xc0170 <c0170@rocketmail.com>
Date: Wed Feb 5 21:35:49 2014 +0100
pwm mbed HAL
- using jusst ftm hal from KPSDK, not yet functional
commit b784278872b1d66ce2940f4988e0479971de8bc0
Author: 0xc0170 <c0170@rocketmail.com>
Date: Mon Feb 3 18:28:24 2014 +0100
uvision exporters for K64F, uticker - lptmr
- lptmr - no hal neiter driver, quick implementation using registers and internal clock
- exporters for K64F - using K60 1MB target, because K64F is not available in 4.7 yet
commit 7a030693e025c2bd456563f3e6f4456033d3f644
Author: Bogdan Marinescu <bogdan.marinescu@arm.com>
Date: Tue Jan 28 16:29:54 2014 +0200
Attempt to keep target's include directory structure
commit a2445b383224125abf4ee23bd17f1e685010a4a5
Author: 0xc0170 <c0170@rocketmail.com>
Date: Mon Jan 27 07:25:16 2014 +0100
Original KPSDK include directory structure for device
commit 9c07c58bb9cf5e9d8be4c3bec117ee87a5ea81c0
Author: 0xc0170 <c0170@rocketmail.com>
Date: Fri Jan 24 16:51:17 2014 +0000
K64F ADC - initial commit
- ADC using KPSDK driver
commit 88e03ef8c5855a57887bb36cddfa5ab1491d400c
Author: 0xc0170 <c0170@rocketmail.com>
Date: Fri Jan 24 12:18:14 2014 +0000
GPI IRQ
- nvic vectors number correction
- gpio irq HAL implementation
commit e83f1108ae9f779ce240d6cdfe23532bfa00a55e
Author: 0xc0170 <c0170@rocketmail.com>
Date: Fri Jan 24 10:06:44 2014 +0000
PORT HAL implementation
- using gpio hal port
commit 75c21943200c8240d1edaf0a67f84b9f3b43db7f
Author: 0xc0170 <c0170@rocketmail.com>
Date: Thu Jan 23 16:02:36 2014 +0000
Serial (only 8bit at the moment), using KPSDK HAL
commit 296e79def617f005918cd8e2aa574f2908a362ca
Author: 0xc0170 <c0170@rocketmail.com>
Date: Thu Jan 23 08:35:50 2014 +0000
Folder structure correction for K64F - KPSDK
- scripts reverted, only new macro is available
- K64F specific headers are in HAL in device folder
commit f236b1ffcb9c8b443ad8483bca8b0e564a63f004
Author: 0xc0170 <c0170@rocketmail.com>
Date: Wed Jan 22 16:07:30 2014 +0100
update KPSDK to RC1
- the update causes few more dependences which were reported. Will be removed later (usb, boards)
- pit timer - hal use , pit driver uses us period
commit f02c5353d4920e885f803ad235e5e82001e97b94
Author: 0xc0170 <c0170@rocketmail.com>
Date: Tue Jan 21 09:45:55 2014 +0100
KPSDK In/out declaration removal
commit 8c88e098b4dc4901753309f1e6db4adb8aca4384
Author: 0xc0170 <c0170@rocketmail.com>
Date: Tue Jan 21 09:12:41 2014 +0100
gpio_t struct only needs pinName
- gpio_init creates init objects on stack
commit 6b96d4ea2c5a6a2cb13571d740ffb679a62f8f3d
Author: 0xc0170 <c0170@rocketmail.com>
Date: Mon Jan 20 19:59:03 2014 +0100
us ticker - pit implementation (not functional yet)
- pit driver in KPSDK - added sdk prefix to needed functions
commit 098e60a3846abcd4c9c00bd199b01d4b1899807f
Author: 0xc0170 <c0170@rocketmail.com>
Date: Mon Jan 20 13:01:58 2014 +0100
GPIO HAL - gpio_set implementation
commit 2bfebbfc75dcd08c20297ba42dc0cc82e5381a40
Author: 0xc0170 <c0170@rocketmail.com>
Date: Sun Jan 19 20:46:55 2014 +0100
GPIO KPSDK changes
- gpio driver - sdk prefix, no lookuptable, input/output declaration, refactoring, set MUX to GPIO
- gpio api in mbed implementation, tested on blue led
commit d083733c485fbdd79ed9ce87100df9fee82294a7
Author: 0xc0170 <c0170@rocketmail.com>
Date: Sat Jan 18 17:14:09 2014 +0100
Update folder structure for KPSDK
- drivers addition
- usb (needed by drivers - needs to be fixed)
- utilities
- hal folder
- drivers/flash removed (needs to be fixed)
- usb host removed (needs to be fixed)
commit 9abcf3d94a2cc849cd6e586c1bad650b6a340a0c
Author: 0xc0170 <c0170@rocketmail.com>
Date: Thu Jan 16 11:06:16 2014 +0100
Initial commit for K64F
- KPSDK addition
- CMSIS + HAL for K64F
- HAL is not yet implemented
- scripts - target contain macros, ignore folders, cmsis copy folders
2014-04-02 14:41:06 +02:00
Neil Thiessen
504ef3a894
Add newline character to stack allocation error
2014-03-28 11:22:16 -06:00
dinau
472a557288
[STM32F4-Discovery(STM32F407VG)] initial port
...
[DISCO_F407VG]
2014-03-24 23:56:58 +09:00