{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":169908060,"defaultBranch":"master","name":"stm32l0xx-hal","ownerLogin":"stm32-rs","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2019-02-09T20:03:11.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/44086113?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1673803799.201206","currentOid":""},"activityList":{"items":[{"before":"d20524c6ad613a968b265b3831a7a8e677f09312","after":"7132578d4c1d92e8c7afa777c0ac2e29855a2bdd","ref":"refs/heads/master","pushedAt":"2024-01-27T21:34:19.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"jamwaffles","name":"James Waples","path":"/jamwaffles","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/800791?s=80&v=4"},"commit":{"message":"Fix shared reference of mutable static warning (#234)\n\nThis fixes this warning:\r\n\r\nwarning: shared reference of mutable static is discouraged\r\n --> stm32l0xx-hal/src/signature.rs:45:40\r\n |\r\n45 | core::str::from_utf8_unchecked(&DEVICE_ID_STR)\r\n | ^^^^^^^^^^^^^^ shared reference of mutable static\r\n |\r\n = note: for more information, see issue #114447 \r\n = note: reference of mutable static is a hard error from 2024 edition\r\n = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior\r\n = note: `#[warn(static_mut_ref)]` on by default\r\nhelp: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer\r\n\r\nCo-authored-by: Javier Cardona ","shortMessageHtmlLink":"Fix shared reference of mutable static warning (#234)"}},{"before":"704177577d947fddfafb260cfc31952791732e23","after":"d20524c6ad613a968b265b3831a7a8e677f09312","ref":"refs/heads/master","pushedAt":"2024-01-23T16:14:19.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"jamwaffles","name":"James Waples","path":"/jamwaffles","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/800791?s=80&v=4"},"commit":{"message":"Implement ADC self-calibration (#233)\n\n* Implement ADC self-calibration\r\n\r\nImplement the ACD self-calibration procedure, which is defined in the\r\nRM377 reference manual as follows:\r\n\r\nThe ADC has a calibration feature. During the procedure, the ADC\r\ncalculates a calibration factor which is internally applied to the ADC\r\nuntil the next ADC power-off. The application must not use the ADC\r\nduring calibration and must wait until it is complete. Calibration\r\nshould be performed before starting A/D convers\r\n\r\n* Wait for hardware to clear ADCAL after calibration\r\n\r\nThe reference manual says that software should wait until ADCAL = 0.\r\nDo that instead of being paranoid and eventually timing out if this does\r\nnot happen.\r\n\r\n---------\r\n\r\nCo-authored-by: Javier Cardona ","shortMessageHtmlLink":"Implement ADC self-calibration (#233)"}},{"before":"8de7c8d1f4834c978989053d3160825613c89de8","after":"704177577d947fddfafb260cfc31952791732e23","ref":"refs/heads/master","pushedAt":"2024-01-16T11:53:51.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"jamwaffles","name":"James Waples","path":"/jamwaffles","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/800791?s=80&v=4"},"commit":{"message":"Fix error \"assigning to &T is undefined behavior\" and clippy warnings (#232)\n\nSince Rust 1.73.0, the compiler errors about assigning to a reference\r\nwhen casting it to a mutable pointer.\r\n\r\nSee: https://doc.rust-lang.org/beta/rustc/lints/listing/deny-by-default.html#invalid-reference-casting","shortMessageHtmlLink":"Fix error \"assigning to &T is undefined behavior\" and clippy warnings ("}},{"before":"0930a372a8f76237ca939d3977f2c67cd43ca86f","after":"8de7c8d1f4834c978989053d3160825613c89de8","ref":"refs/heads/master","pushedAt":"2023-04-05T08:20:31.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"jamwaffles","name":"James Waples","path":"/jamwaffles","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/800791?s=80&v=4"},"commit":{"message":"Skip /32 AHB prescaler (#228)\n\n* Skip /32 AHB prescaler\r\n\r\n* Add changelog entry\r\n\r\n* Fix PR link in changelog","shortMessageHtmlLink":"Skip /32 AHB prescaler (#228)"}},{"before":"e6031a3798dae9658f2cd2559891f4c19aaeabe0","after":"0930a372a8f76237ca939d3977f2c67cd43ca86f","ref":"refs/heads/master","pushedAt":"2023-03-31T07:33:08.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"jamwaffles","name":"James Waples","path":"/jamwaffles","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/800791?s=80&v=4"},"commit":{"message":"Allow pin modes OpenDrain and PushPull for SPI output pins (#226)\n\n* Initial test of using OpenDrain for output pins of spi using stm32l0x1\r\n\r\n* Allow use of output pin modes PushPull and OpenDrain for SPI outputs\r\n\r\n* SPI output pin modes changelog\r\n\r\n* Clippy fix for rcc MSIRange Default impl","shortMessageHtmlLink":"Allow pin modes OpenDrain and PushPull for SPI output pins (#226)"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wMS0yN1QyMTozNDoxOS4wMDAwMDBazwAAAAPqwlOa","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wMy0zMVQwNzozMzowOC4wMDAwMDBazwAAAAMPRO0U"}},"title":"Activity · stm32-rs/stm32l0xx-hal"}