Commit Graph

5 Commits

Author SHA1 Message Date
graham sanderson
41c0e9f3b9 Fixup another level of compiler warnings, add _U() definition 2021-02-25 08:26:16 -06:00
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
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
Luke Wren
b63e54c14d Add PICO_NO_FPGA_CHECK define to remove FPGA check and save some bytes 2021-02-04 11:16:55 +00:00
graham sanderson
26653ea81e Initial Release 2021-01-20 10:44:27 -06:00