├── .gitignore ├── .gitmodules ├── .vscode ├── .cortex-debug.registers.state.json ├── c_cpp_properties.json ├── jlink │ ├── power-off.jlink │ └── power-on.jlink ├── launch.json ├── settings.json └── tasks.json ├── app ├── Makefile ├── inc │ ├── common-defines.h │ └── timer.h ├── linkerscript.ld └── src │ ├── bootloader.S │ ├── firmware.c │ ├── info.c │ └── timer.c ├── bootloader ├── Makefile ├── inc │ ├── aes.h │ ├── bl-flash.h │ ├── common-defines.h │ └── comms.h ├── linkerscript.ld ├── pad-bootloader.py └── src │ ├── aes.c │ ├── bl-flash.c │ ├── bootloader.c │ └── comms.c ├── fw-signer └── main.py ├── fw-updater ├── index.ts ├── package-lock.json └── package.json ├── plan.md ├── readme.md └── shared ├── inc └── core │ ├── crc.h │ ├── firmware-info.h │ ├── ring-buffer.h │ ├── simple-timer.h │ ├── system.h │ └── uart.h └── src └── core ├── crc.c ├── ring-buffer.c ├── simple-timer.c ├── system.c └── uart.c /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/.gitmodules -------------------------------------------------------------------------------- /.vscode/.cortex-debug.registers.state.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /.vscode/c_cpp_properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/.vscode/c_cpp_properties.json -------------------------------------------------------------------------------- /.vscode/jlink/power-off.jlink: -------------------------------------------------------------------------------- 1 | power off 2 | exit 3 | -------------------------------------------------------------------------------- /.vscode/jlink/power-on.jlink: -------------------------------------------------------------------------------- 1 | power on 2 | exit 3 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /app/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/app/Makefile -------------------------------------------------------------------------------- /app/inc/common-defines.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/app/inc/common-defines.h -------------------------------------------------------------------------------- /app/inc/timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/app/inc/timer.h -------------------------------------------------------------------------------- /app/linkerscript.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/app/linkerscript.ld -------------------------------------------------------------------------------- /app/src/bootloader.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/app/src/bootloader.S -------------------------------------------------------------------------------- /app/src/firmware.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/app/src/firmware.c -------------------------------------------------------------------------------- /app/src/info.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/app/src/info.c -------------------------------------------------------------------------------- /app/src/timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/app/src/timer.c -------------------------------------------------------------------------------- /bootloader/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/bootloader/Makefile -------------------------------------------------------------------------------- /bootloader/inc/aes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/bootloader/inc/aes.h -------------------------------------------------------------------------------- /bootloader/inc/bl-flash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/bootloader/inc/bl-flash.h -------------------------------------------------------------------------------- /bootloader/inc/common-defines.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/bootloader/inc/common-defines.h -------------------------------------------------------------------------------- /bootloader/inc/comms.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/bootloader/inc/comms.h -------------------------------------------------------------------------------- /bootloader/linkerscript.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/bootloader/linkerscript.ld -------------------------------------------------------------------------------- /bootloader/pad-bootloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/bootloader/pad-bootloader.py -------------------------------------------------------------------------------- /bootloader/src/aes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/bootloader/src/aes.c -------------------------------------------------------------------------------- /bootloader/src/bl-flash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/bootloader/src/bl-flash.c -------------------------------------------------------------------------------- /bootloader/src/bootloader.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/bootloader/src/bootloader.c -------------------------------------------------------------------------------- /bootloader/src/comms.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/bootloader/src/comms.c -------------------------------------------------------------------------------- /fw-signer/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/fw-signer/main.py -------------------------------------------------------------------------------- /fw-updater/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/fw-updater/index.ts -------------------------------------------------------------------------------- /fw-updater/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/fw-updater/package-lock.json -------------------------------------------------------------------------------- /fw-updater/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/fw-updater/package.json -------------------------------------------------------------------------------- /plan.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/plan.md -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/readme.md -------------------------------------------------------------------------------- /shared/inc/core/crc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/shared/inc/core/crc.h -------------------------------------------------------------------------------- /shared/inc/core/firmware-info.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/shared/inc/core/firmware-info.h -------------------------------------------------------------------------------- /shared/inc/core/ring-buffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/shared/inc/core/ring-buffer.h -------------------------------------------------------------------------------- /shared/inc/core/simple-timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/shared/inc/core/simple-timer.h -------------------------------------------------------------------------------- /shared/inc/core/system.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/shared/inc/core/system.h -------------------------------------------------------------------------------- /shared/inc/core/uart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/shared/inc/core/uart.h -------------------------------------------------------------------------------- /shared/src/core/crc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/shared/src/core/crc.c -------------------------------------------------------------------------------- /shared/src/core/ring-buffer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/shared/src/core/ring-buffer.c -------------------------------------------------------------------------------- /shared/src/core/simple-timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/shared/src/core/simple-timer.c -------------------------------------------------------------------------------- /shared/src/core/system.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/shared/src/core/system.c -------------------------------------------------------------------------------- /shared/src/core/uart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lowbyteproductions/bare-metal-series/HEAD/shared/src/core/uart.c --------------------------------------------------------------------------------