This repository contains source code for the firmware and application code of the Field-Programmable Smartwatch project.
applications/ Contains the application code that get executed from kernel space. common/ Contains code that both application space and kernel space use. kernel/ Contains kernel code that handles initializing the MCU, initializing the various tasks, and initializing/starting the task manager. libraries/ Contains code that is utilized within various application code
First, you will need an ARM cross compiler. Please follow the instructions here to build your own cross compiler.
make COMPILER=[COMPILER PATH] SEAMOS_PATH=[SEAMOS PATH]
Plug the stlink into the correct SWD pins and run the following make target:
make flash
NOTE: A reset is required since the board will hard fault after flashing the app to memory