Commit Graph

3308 Commits (cbebd63a2cc18895ec8b43ac1abd0beed5625c9f)

Author SHA1 Message Date
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 15386a368c Merge pull request #822 from oliviermartin/om/gcc-cortexm0plus
Tools: Use 'cortex-m0plus' support for ARM Cortex M0+
2015-01-02 09:10:16 +01:00
Martin Kojtal d198fba547 Merge pull request #821 from ohagendorf/exporter_coide_gccarm
NUCLEO/DISCO L053,F103,F100,F051 -  adding exporter to gcc_arm and coide
2015-01-02 09:04:06 +01:00
Martin Kojtal 7234182bfd Merge pull request #817 from masaohamanaka/master
RZ_A1H - Modify frequency setting processing of SPI
2015-01-02 08:26:57 +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
0xc0170 759f9e88a1 Merge branch 'mfiore02-master' 2015-01-02 07:38:04 +01:00
0xc0170 9af828a11f Merge branch 'master' of https://github.com/mfiore02/mbed into mfiore02-master
Conflicts:
	workspace_tools/build_travis.py
2015-01-02 07:12:11 +01:00
Olivier Martin 76efcd382c workspace_tools/toolchains/gcc.py: Use 'cortex-m0plus' support for Cortex M0+
This support is supported by:
- gcc-arm-none-eabi-4_7-2013q1
- gcc-arm-none-eabi-4_9-2014q4
2015-01-01 19:03:43 +00:00
ohagendorf aaede9c070 [DISCO_F051R8] exporter to coide and a naming correction
In PeripheralNames.h the PWM timer name was wrong. Changed from TIMxx to
PWMxx.
2014-12-31 17:46:32 +01:00
ohagendorf d9ae0369f9 [DISCO_F100RB] exporter to coide 2014-12-31 17:17:50 +01:00
ohagendorf 2d61dff9c4 [Nucleo_F103RB] exporter to gcc_arm and coide 2014-12-31 16:34:20 +01:00
ohagendorf df25f50023 [DISCO/NUCLEO_L053xx] exporter to CoIDE 2014-12-31 16:08:01 +01:00
albert361 020faf70e6 Fix icf settings for head and stack size 2014-12-30 22:55:11 +08: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 6126cb7b41 Modify frequency setting processing of SPI
In case of off-line compiler, there is no problem about the frequency setting processing.
But in case of online compiler, the frequency setting processing will be error.
So, modify frequency setting processing of SPI to pass in online compiler.
2014-12-26 17:40:42 +09:00
Martin Kojtal 2f63fa7d78 Merge pull request #815 from toyowata/master
Targets: LPC4337 - Fix RTC clock setting issue
2014-12-25 19:35:15 +01:00
Toyomasa Watarai 7b62e7d5d6 [LPC4337] Remove init variable for RTC
- Remove static variable for initialization check
- Add enabled flag check for RTC control register
2014-12-25 09:41:33 +09:00
Martin Kojtal ab46ea6cee Merge pull request #814 from adamgreen/KL05Z_GCC_LinkerScript_Fix
Targets: Fix KL05Z GCC_ARM linker script
2014-12-24 11:34:58 +01:00
Toyomasa Watarai 44c66b1062 [LPC4337] Fix RTC clock setting issue
- Fixed missing RTC clock intialization code
- Confirm to pass RTC test case (MBED_16)
2014-12-24 18:09:47 +09:00
albert361 21b2445fad Fix typo.
1AB -> 1AF
2014-12-24 11:18:35 +08:00
albert361 3fdeca703c Fix NVIC memory region and rtos verified
1. Add NVIC region in icf file.
2. Increase STACK and HEAP size.
3. mBed rtos is verified.
2014-12-24 11:16:26 +08:00
Adam Green a1653f2708 Fix KL05Z GCC_ARM linker script
Issue originally reported on mbed site here:
https://developer.mbed.org/questions/5695/FRDM-KL05z-hardfault-when-compiled-with-/

The RAM base address was incorrectly set to the beginning of RAM
instead of at a 0xC0 byte offset to reserve room for the interrupt
vectors. Without this fix, the global variables and the interrupt
vectors were occupying the same space in RAM once the user enabled the
timer interrupt.

The user who originally reported the issue on the mbed site has tested
this fix and verified that it corrected the hard fault issue that they
were encountering.
2014-12-23 19:03:09 -08:00
Martin Kojtal 869fd19e63 Merge pull request #813 from GustavWi/iar_mbed
Update README.md to be up date with IAR's target support
2014-12-23 16:38:18 +01:00
GustavWi 5282d1b8a6 Updated README.md to be up date with IAR's target support 2014-12-23 11:50:33 +01:00
albert361 282c31f57e Add IAR toolchain support for DISCO_F429ZI 2014-12-23 14:41:20 +08:00
ohagendorf e48aabed4c [DISCO/NUCLEO_F3xx] solving RTOS Problem
- add targets (except DISCO_F303VC) to tests.py - RTOS_x tests
- a minor bug fix for DISCO_F334: had wrong STDIO_UART_TX/RX pin
settings
2014-12-22 16:58:42 +01:00
bcostm ef626d7f68 [NUCLEO_F334R8] Fix issue with multiple ADC initialization 2014-12-22 11:04:02 +01:00
Martin Kojtal b170bc702e Merge pull request #806 from bcostm/master
Targets: NUCLEO_F0 - Align registers and system files with latest CMSIS files
2014-12-22 09:45:16 +00:00
bcostm 4dd46fd82a Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-12-22 08:40:08 +01:00
bcostm 03f49ea8ef [NUCLEO_F0] Align registers and system files with latest CMSIS files
Same as in new NUCLEO_F070RB target
2014-12-19 14:13:54 +01:00
Martin Kojtal bd803e5944 Merge pull request #805 from molejar/dev-freescale-kl43z
Targets: KL43Z - Fix some issues in serial, usb device and pins names
2014-12-19 11:10:08 +00:00
Martin Olejar 1eb8d7cab4 Added serial_get_src_clock() function into serial_api.c and fastirc_frequency() function into clk_freqs.h for better portability. 2014-12-19 10:55:37 +01:00
Martin Kojtal 79ec104b3c Merge pull request #801 from bcostm/master
Add new target - NUCLEO_F070RB
2014-12-19 09:48:14 +00:00
Martin Kojtal 078c36b1c5 Merge pull request #802 from masaohamanaka/master
Targets: RZ_A1H - Fix some drivers bugs and modify some settings of OS and
2014-12-19 08:53:10 +00:00
Martin Kojtal e8f8f5ef6b Merge pull request #803 from mazgch/master
fix HAL_NULL, add more GPIO_CLK macros
2014-12-19 08:32:48 +00:00
Martin Kojtal 9bde95dc75 Merge pull request #799 from xiongyihui/master
Add new target BLE Smurfs and fix Arch BLE export templates
2014-12-19 08:13:31 +00:00
Martin Olejar bb969921ec Fixed baudrate calculation issue in serial_api.c, arduino compatible pins name and USB device for Freescale KL43Z Target 2014-12-18 22:37:11 +01:00
mazgch 992afded5c fix HAL_NULL, add more GPIO_CLK macros 2014-12-18 16:11:40 +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
Masao Hamanaka e91e953a60 Fix some drivers bugs.
Changes as below.

-I2C
 Change communication wait time and Frequency accuracy improvement of I2C.
  - Frequency accuracy improvement
  - Changed the wait time between one communication completed and the next communication start.
    The wait time will be Low clock width by this changing.

-PWM
 Modify processing of pulsewidth() of PWM
  - Modify processing of pulsewidth() to match the specifications of the RZ_A1H.

-SPI
 Fixed a bug that SPI driver is not able to communicate when transfer bit length is 16bit or 32bit.
  - Frequency accuracy improvement
  - Modify transfer processing when transfer bit length is 16bit or 32bit.

-Serial
 Change the reference register macro of Serial
  - Change the reference register macro to align with other driver codes.
2014-12-18 18:40:44 +09:00
bcostm d9eb8b71d5 [NUCLEO_F070RB]Add new target - part 3 workspace_tools 2014-12-18 09:30:19 +01:00
bcostm 6234082237 [NUCLEO_F070RB] Add new target - part 2 hal 2014-12-18 09:29:13 +01:00
bcostm 796482d826 [NUCLEO_F070RB] Add new target - part 1 cmsis 2014-12-18 09:28:22 +01:00
bcostm 97089befb4 [STM32F0] Update STM32Cube driver to support new devices 2014-12-18 09:26:02 +01:00
Yihui Xiong 6ecff6327b [export] add gcc/uvision templates for BLE Smurfs 2014-12-17 14:51:34 +08:00
Yihui Xiong 604e163cc1 fix gcc/uvision template for Arch BLE 2014-12-17 14:38:09 +08:00
Yihui Xiong 8d2fa50691 add new target BLE_SMURFS 2014-12-17 11:40:09 +08:00