aboutsummaryrefslogtreecommitdiff
path: root/stm-fmc.c
AgeCommit message (Collapse)Author
2018-07-07Changed FMC initialization code to match the new sync FMC arbiter. RemovedPavel V. Shatov (Meister)
unnecessary code (no more double read, yay!)
2018-05-27Convert FMC I/O functions to static inline.Rob Austein
fmc_read_32() and fmc_write_32() get called often enough that it's worth eliminating unnecessary function call overhead.
2018-05-23Simplify FMC I/O code.Rob Austein
We're no longer using a preemptive multitasker, and we're on the Alpha, not the old bridge board, so all we really need to do is read or write one word at a time via a pointer then wait for the GPIO idle pin to light. Well, other than needing to read twice because of a known hardware problem with the STM32. So we dont need to fiddle with IRQ, or use the CMSIS SRAM lock, or....
2017-10-15Cleanup: All drivers return HAL_StatusTypeDef rather than magic values.Paul Selkirk
Note: This affects libhal/ks_token.c, which uses the keystore driver directly.
2017-05-02Merge branch 'init_cleanup' into no-rtosPaul Selkirk
Clean up Makefiles and initialization code.
2016-07-06Amend 833802c: Add reentrancy protection to fmc_write_32.Paul Selkirk
2016-07-06Add reentrancy protection to fmc_read_32.Paul Selkirk
2016-05-23SDRAM initialization and test code from Pavel.Fredrik Thulin
Integrated into the cli-test program as such: cryptech> test sdram Initializing SDRAM Starting SDRAM test (n = 0) Run sequential write-then-read test for the first chip Run random write-then-read test for the first chip Run sequential write-then-read test for the second chip Run random write-then-read test for the second chip Run interleaved write-then-read test for both chips at once SDRAM test (n = 0) completed SDRAM test completed successfully cryptech>
2016-05-22reindent/reformat to closer resemble rest of code baseFredrik Thulin
2016-05-14update FMC test for alphaFredrik Thulin
2015-11-11Lots of cleanup.Paul Selkirk
Clean up and simplify(?) Makefile. Add copyrights as needed. Add include guard to stm-fmc.h. Move MX_USART2_UART_Init back to stm-init.c for possible copyright reasons. Move libc, src, and include files to top level.