3869cfc41d
arch/arm/src/tiva/common/tiva_flash.c: Fix several mistakes in tiva_write() but note that this function needs more work. (1) Fix wrong use of && when & was intended. (2) Add compile- time warning directive because according to this function's interface, it is supposed to support unaligned writes and/or writes of arbitrary numbers of bytes to FLASH. However, this function does NOT support that at this time. This needs to be fixed. (3) Fix wrong preprocessor conditional. Was written to use the 32-word write buffer only for TM4C1294NCPDT. This buffer is available on all TM4C123 and TM4C129 parts. Now conditioned upon CONFIG_ARCH_CHIP_TM4C123 or CONFIG_ARCH_CHIP_TM4C129. (4) Add comments to document the intent of the above preprocessor logic. |
||
---|---|---|
.. | ||
include | ||
src | ||
Kconfig |