{"action":"created","issue":{"url":"https://api.github.com/repos/mbedmicro/mbed/issues/818","labels_url":"https://api.github.com/repos/mbedmicro/mbed/issues/818/labels{/name}","comments_url":"https://api.github.com/repos/mbedmicro/mbed/issues/818/comments","events_url":"https://api.github.com/repos/mbedmicro/mbed/issues/818/events","html_url":"https://github.com/mbedmicro/mbed/pull/818","id":53086729,"number":818,"title":"[DISCO/NUCLEO_L053xx] adding to RTOS, corrections for all tests, [DISCO_L053] exporter to µVision ","user":{"login":"ohagendorf","id":8608842,"avatar_url":"https://avatars.githubusercontent.com/u/8608842?v=3","gravatar_id":"","url":"https://api.github.com/users/ohagendorf","html_url":"https://github.com/ohagendorf","followers_url":"https://api.github.com/users/ohagendorf/followers","following_url":"https://api.github.com/users/ohagendorf/following{/other_user}","gists_url":"https://api.github.com/users/ohagendorf/gists{/gist_id}","starred_url":"https://api.github.com/users/ohagendorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohagendorf/subscriptions","organizations_url":"https://api.github.com/users/ohagendorf/orgs","repos_url":"https://api.github.com/users/ohagendorf/repos","events_url":"https://api.github.com/users/ohagendorf/events{/privacy}","received_events_url":"https://api.github.com/users/ohagendorf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-12-30T01:41:43Z","updated_at":"2015-01-07T11:02:01Z","closed_at":"2015-01-05T07:08:00Z","pull_request":{"url":"https://api.github.com/repos/mbedmicro/mbed/pulls/818","html_url":"https://github.com/mbedmicro/mbed/pull/818","diff_url":"https://github.com/mbedmicro/mbed/pull/818.diff","patch_url":"https://github.com/mbedmicro/mbed/pull/818.patch"},"body":"Adding both targets to be able to run RTOS:\r\n- changing default STM32Cube startup files to call _start instead of __libc_init_array and main\r\n- extending RTX config and adding targets to RTOS_x tests in tests.py\r\n- reducing stack sizes forthis target because of 8k RAM\r\n\r\nCorrecting the stdio uart config.\r\n\r\nSolving the RTC start problem at DISCO_L053 target. Perhaps it is a hardware problem at the mcu when no 32kHz crystal is connected:\r\nThe mcu STM32L053C8 seems to have a problem in the RCC - LSE hardware block. The Disco_L053 don't have a 32kHz crystal connected to LSE port pins in contrast to NUCLEO_L053.\r\nDuring initialization the HAL tests if it can start the LSE oscillator. The Flag LSERDY in RCC_CSR is set to 1 by RCC clock control when the oscillator runs stable. Without a crystal the flag shouldn't be set and the HAL would try to start the internal LSI oscillator.\r\nBut the flag is always set to 1 also without a crystal. \r\nThat's why the RTC doesn't start. The suggested solution is starting the RTC directly with the internal LSI oscillator.\r\n\r\nEvery test (DTCT_1, EXAMPLE_1, MBED_xx, RTOS_x) is OK."},"comment":{"url":"https://api.github.com/repos/mbedmicro/mbed/issues/comments/69007283","html_url":"https://github.com/mbedmicro/mbed/pull/818#issuecomment-69007283","issue_url":"https://api.github.com/repos/mbedmicro/mbed/issues/818","id":69007283,"user":{"login":"ffxx68","id":659557,"avatar_url":"https://avatars.githubusercontent.com/u/659557?v=3","gravatar_id":"","url":"https://api.github.com/users/ffxx68","html_url":"https://github.com/ffxx68","followers_url":"https://api.github.com/users/ffxx68/followers","following_url":"https://api.github.com/users/ffxx68/following{/other_user}","gists_url":"https://api.github.com/users/ffxx68/gists{/gist_id}","starred_url":"https://api.github.com/users/ffxx68/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffxx68/subscriptions","organizations_url":"https://api.github.com/users/ffxx68/orgs","repos_url":"https://api.github.com/users/ffxx68/repos","events_url":"https://api.github.com/users/ffxx68/events{/privacy}","received_events_url":"https://api.github.com/users/ffxx68/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T11:02:01Z","updated_at":"2015-01-07T11:02:01Z","body":"Hi 0xc0170 , ohagendorf ,\r\nI'm still getting \"Error: Symbol SysTick_Handler multiply defined (by system_stm32l0xx.o and HAL_CM0.c.NUCLEO_L053R8.o)\", while trying to compile the rtos_basic example.\r\nI'm I missing some step? Is the merging complete?\r\n"}}