Skip to content
Snippets Groups Projects
  1. Oct 02, 2024
  2. Oct 01, 2024
  3. Sep 23, 2024
  4. Jul 24, 2024
  5. Jun 07, 2024
  6. Jun 05, 2024
  7. Sep 12, 2022
  8. Sep 06, 2022
  9. Aug 19, 2022
  10. Aug 18, 2022
  11. Aug 16, 2022
  12. Jul 28, 2022
  13. Jul 12, 2022
    • Adam Wujek's avatar
      common/i2c: fix variable size block writes · 5fd1cff2
      Adam Wujek authored
      
      The line:
      *cmds->cmds[cmd_index].data_len = tx_tmp;
      triggered the write to memory, which is declared as read-only (const).
      Such writes trigger the memory exception.
      
      To make the code simpler and avoid problematic write,
      support only writes that has a size of a register.
      
      The fix was tested for PEC.
      
      Signed-off-by: default avatarAdam Wujek <dev_public@wujek.eu>
      5fd1cff2
  14. Jun 30, 2022