{"action":"opened","issue":{"url":"https://api.github.com/repos/platformio/platform-ststm32/issues/5","repository_url":"https://api.github.com/repos/platformio/platform-ststm32","labels_url":"https://api.github.com/repos/platformio/platform-ststm32/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/platformio/platform-ststm32/issues/5/comments","events_url":"https://api.github.com/repos/platformio/platform-ststm32/issues/5/events","html_url":"https://github.com/platformio/platform-ststm32/issues/5","id":176255444,"number":5,"title":"Two board configs with same mcu","user":{"login":"ubis","id":3310376,"avatar_url":"https://avatars.githubusercontent.com/u/3310376?v=3","gravatar_id":"","url":"https://api.github.com/users/ubis","html_url":"https://github.com/ubis","followers_url":"https://api.github.com/users/ubis/followers","following_url":"https://api.github.com/users/ubis/following{/other_user}","gists_url":"https://api.github.com/users/ubis/gists{/gist_id}","starred_url":"https://api.github.com/users/ubis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubis/subscriptions","organizations_url":"https://api.github.com/users/ubis/orgs","repos_url":"https://api.github.com/users/ubis/repos","events_url":"https://api.github.com/users/ubis/events{/privacy}","received_events_url":"https://api.github.com/users/ubis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-11T17:47:37Z","updated_at":"2016-09-11T17:47:37Z","closed_at":null,"body":"Alright, I noticed that there is two board configs with same mcu. However, they have some different options, and one is using mbed framework and another one is arduino.\r\n\r\nAs I can see, there are a few options:\r\n\r\n- keep configs as it is now - there might be possible board config duplicates in the near future...\r\n- keep one config for one framework, if another framework is used, make these config changes inside builder script - I think it should be a better way to do this...\r\n- use one config only, change one framework directory structure so it would be similar to another one - due this, it should be maintained when there is any changes on original framework's repo.\r\n- ???\r\n\r\nThis is only for one board yet, but if I recall correctly, stm32duino has some of stm nucleo boards, and there is already config's for these nucleo boards. So option one won't work here, and option two - builder script will be messy.\r\n\r\nBellow are the configs of boards.\r\n\r\n[bluepill_f103c8.json](https://github.com/platformio/platform-ststm32/blob/develop/boards/bluepill_f103c8.json)\r\n[genericSTM32F103C8.json](https://github.com/platformio/platform-ststm32/blob/develop/boards/genericSTM32F103C8.json)\r\n\r\n"}}
{"actor":{"display_login":"ubis"}}