Source code for programming the "hawk" dev board
Source code for programming the hawk dev board.
This is a small breakout board with 4-6V voltage regulator (so you can power it using a wider range of voltages), an on-board LED, and… well that’s about it.
It’s based on a Microchip ATSAMD10C14A microcontroller.
This is an Arm Cortex-M0 in a 14-pin SOIC package.
PATH
:arm-none-eabi-gcc
(compiler)arm-none-eabi-ld
(linker)arm-none-eabi-as
(assembler)arm-none-eabi-objcopy
(object-copier 😜)Compile and create a hex file using make
:
make
Upload the code to the dev board using the J-Link (or another debug probe).
If using a J-Link, you can use the provided script, upload_firmware.sh
, to upload the firmware:
make flash
JLinkGDBServer
, which came with the J-Link download.