{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/6929","repository_url":"https://api.github.com/repos/ARMmbed/mbed-os","labels_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/6929/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/6929/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/6929/events","html_url":"https://github.com/ARMmbed/mbed-os/pull/6929","id":323602017,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg4NDE4MjA4","number":6929,"title":"STM32 : script to generate PeripheralPins.c for new target addition","user":{"login":"jeromecoutant","id":12710147,"node_id":"MDQ6VXNlcjEyNzEwMTQ3","avatar_url":"https://avatars2.githubusercontent.com/u/12710147?v=4","gravatar_id":"","url":"https://api.github.com/users/jeromecoutant","html_url":"https://github.com/jeromecoutant","followers_url":"https://api.github.com/users/jeromecoutant/followers","following_url":"https://api.github.com/users/jeromecoutant/following{/other_user}","gists_url":"https://api.github.com/users/jeromecoutant/gists{/gist_id}","starred_url":"https://api.github.com/users/jeromecoutant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeromecoutant/subscriptions","organizations_url":"https://api.github.com/users/jeromecoutant/orgs","repos_url":"https://api.github.com/users/jeromecoutant/repos","events_url":"https://api.github.com/users/jeromecoutant/events{/privacy}","received_events_url":"https://api.github.com/users/jeromecoutant/received_events","type":"User","site_admin":false},"labels":[{"id":390046351,"node_id":"MDU6TGFiZWwzOTAwNDYzNTE=","url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/needs:%20CI","name":"needs: CI","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-16T12:38:05Z","updated_at":"2018-06-09T19:04:22Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/6929","html_url":"https://github.com/ARMmbed/mbed-os/pull/6929","diff_url":"https://github.com/ARMmbed/mbed-os/pull/6929.diff","patch_url":"https://github.com/ARMmbed/mbed-os/pull/6929.patch"},"body":"### Description\r\n\r\nGoal is to help users to add a new STM32 MCU in MBED.\r\n\r\nOne tricky point is to build PeripheralPins.c and PinNames.h files.\r\n\r\nIf you have installed STM32CubeMX tool from:\r\nhttp://www.st.com/en/development-tools/stm32cubemx.html\r\n\r\nwe have implemented a script to build the 2 MBED files from the ST description files.\r\n\r\nWiki page will be updated after PR merge:\r\nhttps://os.mbed.com/teams/ST/wiki/steps-to-create-a-new-STM32-platform\r\n\r\n\r\n$ python STM32_gen_PeripheralPins.py -h\r\nusage: STM32_gen_PeripheralPins.py [-h] [-l | -b | -m xml | -t HW]\r\n\r\nScript will generate PeripheralPins.c thanks to the xml files description available in\r\nSTM32CubeMX directory defined in 'cube_path.json':\r\n        C:\\Program Files (x86)\\STMicroelectronics\\STM32Cube\\STM32CubeMX\\db\r\n\r\noptional arguments:\r\n  -h, --help          show this help message and exit\r\n  -l, --list          list available mcu xml files description in STM32CubeMX\r\n  -b, --boards        list available boards description in STM32CubeMX\r\n  -m xml, --mcu xml   specify the mcu xml file description in STM32CubeMX to use (use double quotes).\r\n                         Parameter can be a filter like L496 if you want to parse all L496 chips (-m STM32 to parse all).\r\n  -t HW, --target HW  specify the board file description in STM32CubeMX to use (use double quotes).\r\n                         Parameter can be a filter like L496 (only the first file found will be parsed).\r\n\r\nOnce generated, you have to check and comment pins that can not be used (specific HW, internal ADC channels, remove PWM using us ticker timer, ...)\r\n\r\n### Pull request type\r\n\r\n    [ ] Fix\r\n    [ ] Refactor\r\n    [ ] New target\r\n    [X] Feature\r\n    [ ] Breaking change\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/comments/395991524","html_url":"https://github.com/ARMmbed/mbed-os/pull/6929#issuecomment-395991524","issue_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/6929","id":395991524,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTk5MTUyNA==","user":{"login":"mbed-ci","id":19887319,"node_id":"MDQ6VXNlcjE5ODg3MzE5","avatar_url":"https://avatars2.githubusercontent.com/u/19887319?v=4","gravatar_id":"","url":"https://api.github.com/users/mbed-ci","html_url":"https://github.com/mbed-ci","followers_url":"https://api.github.com/users/mbed-ci/followers","following_url":"https://api.github.com/users/mbed-ci/following{/other_user}","gists_url":"https://api.github.com/users/mbed-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/mbed-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbed-ci/subscriptions","organizations_url":"https://api.github.com/users/mbed-ci/orgs","repos_url":"https://api.github.com/users/mbed-ci/repos","events_url":"https://api.github.com/users/mbed-ci/events{/privacy}","received_events_url":"https://api.github.com/users/mbed-ci/received_events","type":"User","site_admin":false},"created_at":"2018-06-09T19:04:22Z","updated_at":"2018-06-09T19:04:22Z","author_association":"NONE","body":"# [Test : SUCCESS](http://mbed-ci-master-2.austin.arm.com:8081/job/test_matrix_raas/2071/) \nBuild number : [2071](http://mbed-ci-master-2.austin.arm.com:8081/job/test_matrix_raas/2071/) \n Test logs :http://mbed-os-logs.s3-website-us-west-1.amazonaws.com/?prefix=logs/6929/2071"}}
{"actor":{"display_login":"mbed-ci"}}