Graham Sanderson
3f0529a25c
Add more memory barriers to avoid code re-ordering issues with DMA ( #155 )
...
* Add more memory barriers to avoid code re-ordering issues with DMA
* Comment typos
* Fix Wstrict-prototype on __compiler_memory_barrier
* Remove now-redundant __compiler_barrier macro from hardware_flash
Co-authored-by: Luke Wren <wren6991@gmail.com>
2021-02-19 13:11:56 +00:00
Graham Sanderson
8b9907e7f2
Add -Wuninitialized -Wunused -Wcast-align to warnings checked by kitchen_sink (and fixup warnings) ( #125 )
2021-02-15 16:06:12 +00:00
Brian Swetland
ebb228bfea
Clean up various C source and headers to appease -Wstrict-prototypes
...
In C, func() is a function taking an unspecified number of arguments,
vs func(void) a function taking no arguments. In C++ both forms indicate
"no arguments."
Update these headers to use the (void) form, which is correct in both
languages and avoids complaints when -Wstrict-prototypes is specified.
2021-02-08 12:46:05 -06:00
graham sanderson
cfefc1775b
fixup bad static_assert
2021-02-01 08:46:42 -06:00
graham sanderson
da63ddd6ef
flash_cs_force was ending up in flash on debug builds which is very bad!
2021-01-31 15:34:19 -06:00
graham sanderson
a2bcca264f
fix warning/Werror in NO_FLASH build
2021-01-31 15:34:19 -06:00
Luke Wren
03345f1703
Use correct define for FLASH_RUID_CMD
2021-01-31 15:34:19 -06:00
Luke Wren
a43cf2846c
Add flash_get_unique_id to hardware_flash
2021-01-31 15:34:19 -06:00
graham sanderson
26653ea81e
Initial Release
2021-01-20 10:44:27 -06:00