Compare commits

..

No commits in common. "6933084c764b9c8b56a854266924f2e9d2ce16c0" and "a44fd526522318be341522c6242744761c6542fa" have entirely different histories.

4 changed files with 16 additions and 40 deletions

View file

@ -1,16 +0,0 @@
BasedOnStyle: LLVM
IndentWidth: 4 # Use 4 spaces for indentation
TabWidth: 4 # Tab width is also 4 spaces
UseTab: Never # Always use spaces instead of tabs
ColumnLimit: 120 # Wrap lines after 80 characters
AllowShortLoopsOnASingleLine: true
AlwaysBreakTemplateDeclarations: true
BreakConstructorInitializers: BeforeComma
AlignConsecutiveDeclarations:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveMacros: true

1
.gitignore vendored
View file

@ -4,4 +4,3 @@ bin/
*.bin
generated.*.ld
compile_commands.json
tags

3
main.c
View file

@ -9,7 +9,8 @@ static void clock_setup(void) {
static void gpio_setup(void) {
// gpio_mode_setup(GPIOC, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO13);
gpio_set_mode(GPIOC, GPIO_MODE_OUTPUT_2_MHZ, GPIO_CNF_OUTPUT_PUSHPULL, GPIO13);
gpio_set_mode(GPIOC, GPIO_MODE_OUTPUT_2_MHZ, GPIO_CNF_OUTPUT_PUSHPULL,
GPIO13);
}
static void delay(volatile uint32_t count) {

View file

@ -1,8 +0,0 @@
#!/usr/bin/env bash
make clean
make -C libopencm3 clean
bear -- make -C libopencm3 -j$(nproc)
bear --append -- make -j$(nproc)
ctags -R .