{"action":"created","issue":{"url":"https://api.github.com/repos/adamgreig/stm32-rs/issues/23","repository_url":"https://api.github.com/repos/adamgreig/stm32-rs","labels_url":"https://api.github.com/repos/adamgreig/stm32-rs/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/adamgreig/stm32-rs/issues/23/comments","events_url":"https://api.github.com/repos/adamgreig/stm32-rs/issues/23/events","html_url":"https://github.com/adamgreig/stm32-rs/issues/23","id":331008217,"node_id":"MDU6SXNzdWUzMzEwMDgyMTc=","number":23,"title":"Trying to manage a \"derivedFrom\" peripheral","user":{"login":"baldwin1974","id":32417622,"node_id":"MDQ6VXNlcjMyNDE3NjIy","avatar_url":"https://avatars0.githubusercontent.com/u/32417622?v=4","gravatar_id":"","url":"https://api.github.com/users/baldwin1974","html_url":"https://github.com/baldwin1974","followers_url":"https://api.github.com/users/baldwin1974/followers","following_url":"https://api.github.com/users/baldwin1974/following{/other_user}","gists_url":"https://api.github.com/users/baldwin1974/gists{/gist_id}","starred_url":"https://api.github.com/users/baldwin1974/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baldwin1974/subscriptions","organizations_url":"https://api.github.com/users/baldwin1974/orgs","repos_url":"https://api.github.com/users/baldwin1974/repos","events_url":"https://api.github.com/users/baldwin1974/events{/privacy}","received_events_url":"https://api.github.com/users/baldwin1974/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-10T22:27:26Z","updated_at":"2018-06-10T22:43:07Z","closed_at":"2018-06-10T22:37:37Z","author_association":"NONE","body":"I hate to pester you on late on a Sunday night, but I wonder if you can help me a bit more.  I am seeing the same errors I referred to in the svd2rust issue that I closed. For example, it seems to me it should be possible to do this:\r\n\r\n```\r\nlet p = stm32h7::stm32h7x3::Peripherals::take().unwrap()\r\nlet gpiob = p.GPIOB;\r\ngpiob.gpiob_moder.write ( |w| w.mode7.bits(0) );\r\n```\r\n\r\nHowever, this generates a predictable error: there is no gpiob_moder field within GPIOB (because it is derivedFrom GPIOA, which *does* have a gpioa_moder field, naturally). What am I missing?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/adamgreig/stm32-rs/issues/comments/396087823","html_url":"https://github.com/adamgreig/stm32-rs/issues/23#issuecomment-396087823","issue_url":"https://api.github.com/repos/adamgreig/stm32-rs/issues/23","id":396087823,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjA4NzgyMw==","user":{"login":"adamgreig","id":47219,"node_id":"MDQ6VXNlcjQ3MjE5","avatar_url":"https://avatars2.githubusercontent.com/u/47219?v=4","gravatar_id":"","url":"https://api.github.com/users/adamgreig","html_url":"https://github.com/adamgreig","followers_url":"https://api.github.com/users/adamgreig/followers","following_url":"https://api.github.com/users/adamgreig/following{/other_user}","gists_url":"https://api.github.com/users/adamgreig/gists{/gist_id}","starred_url":"https://api.github.com/users/adamgreig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamgreig/subscriptions","organizations_url":"https://api.github.com/users/adamgreig/orgs","repos_url":"https://api.github.com/users/adamgreig/repos","events_url":"https://api.github.com/users/adamgreig/events{/privacy}","received_events_url":"https://api.github.com/users/adamgreig/received_events","type":"User","site_admin":false},"created_at":"2018-06-10T22:43:07Z","updated_at":"2018-06-10T22:43:07Z","author_association":"OWNER","body":"Ah, sorry, I should have been clearer. This whole repository basically organises patching SVD files; there's a preprocessor which takes the SVD from the vendor and a set of patches (in YAML format) and applies them to make a new SVD, which is then fed in to svd2rust. You'd be updating the \"device YAML\" file for the H7x3 to tell the patching script to perform additional modifications on the vendor SVD."}}
{"actor":{"display_login":"adamgreig"}}