This message was deleted.
# zephyr
s
This message was deleted.
πŸ‘ 3
k
UNALIGNED_GET λ§€ν¬λ‘œκ°€ λ¦¬λˆ…μŠ€ 컀널에도 μ‘΄μž¬ν•˜λŠ” 것 κ°™λ„€μš”. μ°Έκ³ ν•˜μ„Έμš”. ZEPHYR λ§€ν¬λ‘œμ™€ λ˜‘κ°™μ΄ PACK 속성을 κ°€μ§„ ꡬ쑰체 νƒ€μž… μΊμŠ€νŒ… 후에 멀버 λ³€μˆ˜λ₯Ό 톡해 λ©”λͺ¨λ¦¬ μ ‘κ·Όν•˜κ³  μžˆμŠ΅λ‹ˆλ‹€. https://www.kernel.org/doc/html/latest/core-api/unaligned-memory-access.html#avoiding-unaligned-accesses https://github.com/torvalds/linux/blob/53e99dcff61e1523ec1c3628b2d564ba15d32eb7/include/asm-generic/unaligned.h#L12 https://github.com/torvalds/linux/blob/53e99dcff61e1523ec1c3628b2d564ba15d32eb7/include/asm-generic/unaligned.h#L17
y
저도 κ΄€λ ¨ λ‚΄μš© μ°Ύμ•˜λŠ”λ° μ„€λͺ…이 μ‰½κ²Œ λ˜μ–΄μžˆλ„€μš” https://www.iar.com/kr/knowledge/support/technical-notes/compiler/accessing-unaligned-data/