aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2017-09-07Duh, actually build task_metricsPaul Selkirk
2017-09-07Sigh, right offset for the wrong register. Get the PC (the address wePaul Selkirk
interrupted) rather than LR (the return address from the function we interrupted). Also, change u_short and u_int to unsigned short and unsigned int, since gcc recently decided that those aren't part of the C99 standard. Finally, add profilable versions of memcpy, memset, and friends, because they get called a lot in the course of unit testing, and it would be nice to know who's calling them.
2017-09-07Port profiling code, using a new SysTick hook and new CLI commands.Paul Selkirk
2017-06-17Fix optimization settings in HSM's build of libtfm.Rob Austein
2017-05-02Merge branch 'init_cleanup' into no-rtosPaul Selkirk
Clean up Makefiles and initialization code.
2017-04-27Replace the RTOS with a simple cooperative tasker.Paul Selkirk
There are no priorities and no preemption, so tasks run in a round-robin fashion, and explicitly yield control.
2017-04-15sw/stm32 Makefiles are a mess.Rob Austein
Apparently it's easier to duplicate source files into multiple project directories than to write Makefiles that do something sane. Feh.
2017-04-15Move hal_log() support to separate module.Rob Austein
2017-02-02Add locking around keystore operations.Rob Austein
2016-09-16Change default gcc optimization level to -Og.Rob Austein
2016-09-09Fix frelling sw/stm32/Makefile to rebuild libraries properly.Rob Austein
2016-07-21Use a fresh port of libcli, which retains more of the original API.Paul Selkirk
2016-06-28Fix the bootloader to accept firmware (with PIN login).Paul Selkirk
This involves entirely too much duplication of the CLI.
2016-06-25Split LIB*_DIR into _SRC and _BLD.Paul Selkirk
Also rename all instances of GNUmakefile to Makefile.
2016-06-25Finish unwinding subrepository hairball: VPATH setup.Rob Austein
2016-06-24Don't mess with HAL_RSA_USE_MODEXP here, that's libhal's job.Rob Austein
2016-06-16Merge branch 'master' into ft-ks_flashFredrik Thulin
2016-06-14hsm project was failing with obscure make error because makefile did not ↵Rob Austein
specify dependency on libcli.
2016-06-14Track libhal RPC_MODE simplification; add bootloader to "all" target.Rob Austein
2016-06-13Only the HSM project needs the RTOS; most of the test projects can use the ↵Paul Selkirk
STM32 HAL code directly.
2016-06-08Test code for ks_flash in corresponding branch of libhal.Fredrik Thulin
2016-06-07Check the HARDWARE_EARLY_DFU_JUMP flag as soon as possible in the boot process.Paul Selkirk
This avoids the situation where the bootloader systick happens during firmware initialization, and freaks out. Also build the bootloader with the minimum resources needed (no RTOS, no SPI, no I2C).
2016-06-06Don't break builds for dev-bridge board.Paul Selkirk
2016-06-01Implement circular buffer UART RX using interrupts.Fredrik Thulin
2016-05-27DFU working - but no signature validation for now.Fredrik Thulin
2016-05-26Implement a bootloader.Fredrik Thulin
This bootloader is now the application at 0x08000000 (FLASH start), which the STM32 will execute upon reset. The other applications are now loaded at 0x08030000 (128 KB into the flash) and will never get started unless the bootloader has been programmed into flash too.
2016-05-24Try harder to pick up updates from our submodules.Paul Selkirk
2016-05-24Merge branch 'master' of git.cryptech.is:sw/stm32Paul Selkirk
2016-05-24Remove duplicate cli-test targetPaul 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-21Add code to access the keystore memory (SPI flash).Fredrik Thulin
2016-05-19Refactor FPGA bitstream upload code.Fredrik Thulin
Move the N25Q128 code to it's own file in order to be able to reuse it for the keystore memory code.
2016-05-18FPGA config memory access code from Pavel.Fredrik Thulin
2016-05-18build libcliPaul Selkirk
2016-05-16Add code to talk with the external RTC chip.Fredrik Thulin
2016-05-13make cli-testFredrik Thulin
2016-05-12Add build target for the alphaFredrik Thulin
2016-04-21threaded rpc serverPaul Selkirk
2016-04-14import mbed rtos libraryPaul Selkirk
2016-04-11Reorganize Makefile and directory structure, because it's messy, and it's ↵Paul Selkirk
about to get messier.
2016-03-21making RPC testsPaul Selkirk
2016-03-16Added uart_recv_char() to support RPC.Paul Selkirk
Moved hal_io_fmc.c to libhal repo.
2015-12-13whack copyrightsPaul Selkirk
2015-11-16add test-trng, test-rsaPaul Selkirk
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.
2015-11-10Split includes from CFLAGS, because they don't make sense to libhal and libtfm.Paul Selkirk
2015-10-31add new test cases, add gettimeofdayPaul Selkirk
2015-10-29add libhal tests, some cleanup (some mess-making)Paul Selkirk
2015-10-26Build libhal and libtfm for stm32.Paul Selkirk
2015-10-26Based on user/ft/stm32-dev-bridge, without the project-specific buildPaul Selkirk
directories (and duplicated code).