Odin Holmes
6cc142d8b1
used Size+1 insted of size because no c++11 (no constexpr)
2015-06-05 20:04:07 +02:00
Odin Holmes
c918e92124
Fixed typeo in CircBuffer.h
2015-06-05 19:59:37 +02:00
dbestm
1f4fa2dd78
[NUCLEO_F103RB] RTOS + IAR semaphore test
2015-06-04 17:36:12 +02:00
dbestm
171657d67c
[NUCLEO_L152RE] RTOS clock conf
2015-06-04 17:34:29 +02:00
dbestm
a5272f721d
[NUCLEO_L152RE] GCC startup for RTOS
2015-06-04 17:31:36 +02:00
dbestm
1b3896f1c2
[NUCLEO_F103RB] GCC startup for RTOS
2015-06-04 17:29:56 +02:00
bcostm
49f7537f2a
[NUCLEO_F446RE] Clean-up of PeripheralPins.c + add DAC
...
Some pins were missing and others not present.
2015-06-04 17:03:03 +02:00
Martin Kojtal
927c31ab84
Merge pull request #1121 from Wiznet/master
...
Add WIZwiki-W7500
2015-06-03 08:54:53 +01:00
Martin Kojtal
e775613c6b
Merge pull request #1127 from bridadan/wfiTest
...
Added tests for the WFI instruction
2015-06-03 08:44:34 +01:00
Martin Kojtal
acd04f16be
Merge pull request #1151 from toyowata/master
...
SSCI824 - Add rtos build
2015-06-03 08:39:01 +01:00
Martin Kojtal
dd1ab3a5e6
Merge pull request #1148 from stevew817/master
...
Silicon Labs - Improvements in RAM footprint of HAL.
2015-06-03 08:28:28 +01:00
Toyomasa Watarai
56e43df1c7
[SSCI824] Add rtos
...
- Add rtos TARGET_SSCI824 (same as LPC824) and test
- Fixed warning of pwmout_api.c by GCC_ARM
2015-06-03 16:13:06 +09:00
ohagendorf
0abf0f3e41
[STM32F4xx] PWM frequency calculation correction
...
All STM32F4xx mcu with a clock frequency larger than 100MHz (F405, F407,
F429, F446), have two different maximal timer frequencies: SYSCLK and
SYSCLK/2. The pwm frequency calculation was based only on SYSCLK. For
Nucleo target this was OK but for some Discovery and some other targets
the pwm frequency was partly wrong, depending on the used timer.
This PR reads out the specific timer frequency and calculates the
correct pwm frequency.
2015-06-03 01:02:38 +02:00
Steven Cooreman
4b020f80e7
[GPIO] optimize memory usage: get rid of 8 bytes of RAM allocation per GPIO object.
2015-06-02 10:16:52 +02:00
Steven Cooreman
204e716417
* [PwmOut] Fixed same bug as pulsewidth_us in period_us
...
* [PwmOut] Get rid of superfluous static uint32_t, save 4 bytes of RAM in static allocation.
* [PwmOut] Use 16-bit values for saving the top and CC register of the timer to RAM. Saves 4 bytes of RAM per PWM channel.
2015-06-02 10:11:44 +02:00
tomoyuki yamanaka
67fa33af21
modify the OS track acquisition method
...
Modify the OS stack acquisition method to align the A Series with the M Series.
2015-06-02 14:43:09 +09:00
hjjeon0608
86a6703ef5
Change header about license.
2015-06-02 11:01:27 +09:00
hjjeon0608
4d977799b6
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-06-02 08:58:50 +09:00
Martin Kojtal
7a1d25e3df
Merge pull request #1138 from stevew817/master
...
Silicon Labs - Initial test framework pin definitions for EFM32 platforms
2015-06-01 10:53:17 +01:00
Martin Kojtal
6f7f37eec7
Merge pull request #1118 from logost/LPC2460
...
Introduction of new platform LPC2460 MCU
2015-06-01 10:52:03 +01:00
Steven Cooreman
51518f0d4c
Failed to account for PWM prescaler on high frequencies.
2015-06-01 11:37:34 +02:00
Martin Kojtal
7ab478cf5c
Merge pull request #1110 from ohagendorf/nucleo_f446
...
Nucleo_F446RE - adding target
2015-06-01 10:27:07 +01:00
Marcomissyou
78f373c7fd
modify overrides flash_init/flash powerdown and PinName
2015-05-29 13:48:31 +08:00
neilt6
8c972d8867
[RTOS] Added stack checking methods to Thread
...
Added stack checking methods to the Thread class for Cortex-M targets.
The stack memory size, currently free stack memory, and currently used
stack memory are calculated using the TCB. The maximum stack memory
usage is determined by filling the stack with a magic word, and finding
the high water mark.
2015-05-27 11:43:55 -06:00
Dmitry Bogdanov
3ebee14015
Update years in copyright headers in RTX for ARM7 sourses
2015-05-27 19:18:29 +04:00
Dmitry Bogdanov
4ea75b425a
Update years in copyright headers in CMSIS&HAL sources
2015-05-27 19:11:35 +04:00
Steven Cooreman
d49d21cdca
Pin definition update
2015-05-27 16:07:40 +02:00
Martin Kojtal
d9b482ff2b
Merge pull request #1137 from dbestm/master
...
NUCLEO_L053R8 - enhance RTOS main test
2015-05-27 15:00:07 +01:00
0xc0170
1cef3ffb2d
Merge branch 'master' of https://github.com/sg-/mbed into sg--master
...
Conflicts:
libraries/mbed/common/SPI.cpp
2015-05-27 13:09:05 +01:00
0xc0170
bdc4434981
mbed lib revision - 100
2015-05-27 09:19:26 +01:00
dbestm
0370f39673
[NUCLEO_L053R8] enhance RTOS main test
...
To make them passed with GCC and ARM compilers
2015-05-27 10:07:16 +02:00
hjjeon0608
d41f3f335f
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-05-27 10:53:14 +09:00
hjjeon0608
f0f89fc9a4
remove gpio_irq_api.c because not complete
2015-05-27 10:52:34 +09:00
Steven Cooreman
02d6b3200a
Add pin definitions for Silicon Labs parts
2015-05-26 13:31:12 +02:00
Steven Cooreman
14420995b0
Fix RTC, couldn't properly set time.
2015-05-26 11:47:03 +02:00
0xc0170
fc6ffc5819
Silabs - spi - style cosmetic changes for the last 2 commits
2015-05-26 08:44:28 +01:00
hjjeon0608
39c887c769
Bug fixed for test MBED_24(Timeout)
2015-05-26 08:55:30 +09:00
hjjeon0608
b8909ae27d
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-05-26 08:05:34 +09:00
ohagendorf
5b4e745674
[NUCLEO_F446RE] resolving rebase error and missing test
...
- resolving a rebase conflict
- adding pin config for MBED_A7 test (interruptin)
2015-05-23 19:10:54 +02:00
Olaf Hagendorf
8b73e9093b
[NUCLEO_F446RE] adding to RTOS lib
...
RTOS_1 .. RTOS_8 tests are OK
2015-05-23 19:10:53 +02:00
Olaf Hagendorf
26e44eaa1b
[NUCLEO_F446RE] Exchange linker script and startup file
2015-05-23 19:03:13 +02:00
ohagendorf
455b417b8f
[NUCLEO_F446RE] create new target - part 2
...
Update system_stm32f4xx to new version, generated by STM32CubeMX
Add target name to digital_loop test
Update coide export template
2015-05-23 19:03:12 +02:00
ohagendorf
8edb20bed6
[NUCLEO_F446RE] create the new target
...
Create the new target - mbed_blinky is runnning
2015-05-23 19:03:11 +02:00
Marcus Chang
f0861ccda5
SPI transfers larger than what the DMA can handle are split up in multiple transfers.
2015-05-22 17:30:08 +01:00
Martin Kojtal
88d158e43b
Merge pull request #1130 from stevew817/master
...
Silicon Labs - Cosmetic: apply mbed coding style to HAL
2015-05-22 10:18:28 +01:00
Steven Cooreman
2c55311cfb
cosmetic changes: apply mbed coding style to Silicon Labs HAL.
2015-05-22 10:47:37 +02:00
Martin Kojtal
61deb3e97c
Merge pull request #1125 from 0xc0170/fix_#1124
...
Timer/Ticker - fix constness of the data argument/member
2015-05-22 09:31:39 +01:00
Martin Kojtal
773be33ba7
Merge pull request #1129 from stevew817/master
...
Silicon Labs - Serial ports other than stdio were not properly enabled
2015-05-22 09:31:25 +01:00
Steven Cooreman
e8ff8e7629
Bugfix in Serial: serial ports other than STDIO are not enabled properly.
2015-05-22 09:44:42 +02:00
hjjeon0608
fef219f493
Disable I2C slave
2015-05-22 14:08:01 +09:00
hjjeon0608
8fae6b7a85
Change to static.
2015-05-22 10:42:56 +09:00
hjjeon0608
446bcdd7df
Change header scripts about PeripheralPins.c and PeripheralPins.h
2015-05-22 10:05:40 +09:00
hjjeon0608
82dd920c7e
Change Stack size and heap size to 0x400
2015-05-22 09:44:03 +09:00
hjjeon0608
feb9f51e2c
Now, we support toolchain ARM.
...
So Add the files.
2015-05-22 09:34:46 +09:00
Jeremy Brodt
91f856b2b9
[MAX32600MBED][MAXWSNENV] Corrected SPI frequency assertion.
2015-05-21 18:36:36 -05:00
Jeremy Brodt
a6437fb434
[MAX32600MBED] Added USBDevice definitions to eliminate build errors.
2015-05-21 18:36:36 -05:00
Jeremy Brodt
dda00b4f25
[MAX32600MBED] Pin definition changes for V2 boards.
2015-05-21 18:36:28 -05:00
hjjeon0608
1c9cbdbf35
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-05-22 08:05:04 +09:00
hjjeon0608
5fb844ce87
Change startup code for toolchain ARM
...
Add possible toolchain ARM at targets.py
2015-05-22 08:04:37 +09:00
Brian Daniels
0551f6e8b9
Added tests for the WFI instruction
2015-05-21 15:17:17 -05:00
0xc0170
1838c70a90
Fix OS clock definition for NZ32ST1L (latest merge)
2015-05-21 09:59:11 +01:00
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
Martin Kojtal
36a43ec36b
Merge pull request #1119 from bcostm/master
...
STM32F3xx - Refactor analogin, analogout and pwmout
2015-05-21 09:38:26 +01:00
Martin Kojtal
1abc53f8ed
Merge pull request #1122 from stevew817/master
...
[Silicon Labs] Bugfixes in PwmOut
2015-05-21 09:37:32 +01:00
0xc0170
f0038f84e8
Timer/Ticker - fix constness of the data argument/member
2015-05-21 08:47:23 +01:00
Steven Cooreman
9ace27757c
Bugfixes in PwmOut.
2015-05-20 10:08:26 +02:00
Martin Kojtal
1f6ad3fbb3
Merge pull request #1120 from stevew817/master
...
[Silicon Labs] Fix missing clock enable in ADC/DAC
2015-05-20 08:34:16 +01:00
hjjeon0608
9c329b9357
Remove analogout_api.c
...
Remove toolchain ARM at targets.py
2015-05-20 10:50:45 +09:00
Steven Cooreman
dbbe5b6521
Fix missing clock enable in ADC/DAC
2015-05-19 16:12:44 +02:00
bcostm
50ad5b2011
[STM32F3xx] Refactor analogin, analogout and pwmout
...
- use STM_PIN_DATA_EXT macro for pinout definition
- some clean-up
2015-05-19 13:01:09 +02:00
Martin Kojtal
3729f5d8c7
Merge pull request #1112 from KunYi/master
...
fixed build error on USBDevice library for Target DISCO429ZI
2015-05-19 08:49:40 +02:00
Martin Kojtal
df21bc0e5d
Merge pull request #1115 from Sissors/master
...
HAL - ARCH-MAX : SPI was fixed to minimum frequency
2015-05-19 08:47:27 +02:00
KunYi Chen
d58da17792
fixed build error on USBDevice library for Target DISCO_F429ZI
2015-05-19 10:55:41 +08:00
bcostm
c33e013276
[DISCO_F334C8] Add ARM, uARM and IAR toolchains.
...
Compilation and basic tests are OK.
2015-05-18 16:19:33 +02:00
Dmitry Bogdanov
63bd6bf17b
remove local file system and semihost from the LPC2460 device capabilities
2015-05-18 16:48:58 +04:00
Dmitry Bogdanov
8ca60d1d2d
Assign PinNames to peripherals
2015-05-18 14:19:37 +04:00
Dmitry Bogdanov
035a3b8f56
fix typo
2015-05-18 13:37:41 +04:00
Dmitry Bogdanov
8ab2a95618
make some tests compilable
2015-05-18 13:31:10 +04:00
hjjeon0608
7d82bcacaa
Remove rtc_api.c and pwmout_api.c
...
And change define in device.h about RTC and pwmout.
2015-05-18 14:31:19 +09:00
Sissors
b5b96df58f
[HAL][ARCH-MAX] SPI was fixed to minimum frequency
...
Due to typo in the #ifdef it would completely skip the ARCH-MAX when
changing the SPI code, causing it to be stuck at lowest frequency.
2015-05-17 09:43:35 +02:00
hjjeon0608
c8ef005612
add WIZNET TARGET
2015-05-14 16:46:10 +09:00
Martin Kojtal
d06efae3c0
Merge pull request #1102 from masaohamanaka/master
...
RZ_A1H - Fix bugs of I2C and Update a header file of Video driver.
2015-05-14 07:54:08 +02:00
Martin Kojtal
b788b13841
Merge pull request #1105 from 0xc0170/dev_asynch_unit_tests
...
Asynch Unit tests (Serial, SPI, I2C, low power ticker)
2015-05-14 07:32:49 +02: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
0xc0170
686b99672f
Asynch Unit tests (Serial, SPI, I2C, low power ticker)
...
Peripheral unit tests require target pins definitions. I included K64F there as
a show case, although currently k64f does not support asynch methods.
2015-05-13 14:26:26 +02:00
0xc0170
3ee5f8640d
mbed lib revision - 99
...
build release - 2 platforms addition - disco l053c8 and maxwsnenv
2015-05-13 10:29:04 +02:00
Masao Hamanaka
494b8e4d9d
Update a header file of Video driver.
...
Update the header file for the Video driver support.
2015-05-13 11:01:10 +09:00
Masao Hamanaka
0d95e7bc18
Fix bugs of I2C those are the time-out of Nack and Read/Write will not be executed in normal.
...
Bugs are as below.
- In I2C, modify the time-out of Nack is slow problem.
- In I2C, modify Write function and Read function does not work correctly with split run.
2015-05-13 11:00:35 +09:00
Dmitry Bogdanov
a098a8d34c
add LPC2460 in USB Host library
2015-05-12 12:55:15 +04:00
dc37
cd9ef3902a
Fix bug with loopback implementation on LPC11c14. Changed 'CANCNTL_LBACK' to 'CANTEST_LBACK' like it is implemented in the C_CAN controller for the LPC1549.
2015-05-11 17:29:13 -07:00
Dmitry Bogdanov
fa21094284
backport of Issue: Pinology #808
2015-05-08 20:21:14 +04: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
Jeremy Brodt
d2ee0368c6
[MAX32600MBED,MAXWSNENV] addressed low-power ticker corner cases
2015-05-07 16:59:12 -05:00
Dmitry Bogdanov
1e76565b02
port PulseWaveModulator
2015-05-07 15:07:23 +04:00
0xc0170
ffd558657c
Squashed commit of the following:
...
commit 2f006d6f51ab4746d10f53d24667e551fa3a7896
Merge: a1e04f7
ca6d764
Author: 0xc0170 <c0170@rocketmail.com>
Date: Thu May 7 09:00:36 2015 +0100
Merge branch 'pinmap_stm32f1' of https://github.com/raulMrello/mbed into raulMrello-pinmap_stm32f1
commit ca6d7649a5
Merge: 88e7489
d50b62d
Author: raulMrello <raul.martin.rello@gmail.com>
Date: Mon May 4 09:39:59 2015 +0200
Merge remote-tracking branch 'upstream/master' into pinmap_stm32f1
commit 88e7489862
Merge: dd27e29
ffaae4b
Author: raulMrello <raul.martin.rello@gmail.com>
Date: Mon May 4 09:27:28 2015 +0200
Merge remote-tracking branch 'upstream/master' into pinmap_stm32f1
commit dd27e29bde
Merge: 3d1afb8
f54dc44
Author: raulMrello <raul.martin.rello@gmail.com>
Date: Mon May 4 09:24:33 2015 +0200
Merge remote-tracking branch 'upstream/master' into pinmap_stm32f1
commit 3d1afb8142
Author: raulMrello <raul.martin.rello@gmail.com>
Date: Mon May 4 09:16:01 2015 +0200
Updated pinmap.c in target_stm32f1
2015-05-07 09:03:48 +01:00
Martin Kojtal
a1e04f782b
Merge pull request #1093 from jeremybrodt/lpticker
...
MAX32600MBED,MAXWSNENV - Add low-power ticker.
2015-05-07 08:53:25 +01:00
Steven Cooreman
8fea0fdf8d
redefine OPEN_MAX from sys_limits for ZG and HG because they are RAM-limited parts, and in doing so, we save about 200 bytes of RAM.
2015-05-05 15:35:10 -05:00
Jeremy Brodt
e4332af040
[MAX32600MBED,MAXWSNENV] Added low-power ticker.
2015-05-05 15:14:37 -05:00