diff options
author | Paul Selkirk <paul@psgd.org> | 2015-11-11 14:46:28 -0500 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2015-11-11 14:46:28 -0500 |
commit | 4c6b056b8467bb6513224527ff3120ef905de397 (patch) | |
tree | bb2cc71ae6931dce7327af54b17f42591aa16f75 /include/stm-led.h | |
parent | df8f45c0d06e64b3901f1cce4e74cbde038737f2 (diff) |
Lots of cleanup.
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.
Diffstat (limited to 'include/stm-led.h')
-rw-r--r-- | include/stm-led.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/stm-led.h b/include/stm-led.h deleted file mode 100644 index bd2a1e3..0000000 --- a/include/stm-led.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef __STM_LED_H -#define __STM_LED_H - -#include "stm32f4xx_hal.h" - -#define LED_PORT GPIOJ -#define LED_RED GPIO_PIN_1 -#define LED_YELLOW GPIO_PIN_2 -#define LED_GREEN GPIO_PIN_3 -#define LED_BLUE GPIO_PIN_4 - -#define led_on(pin) HAL_GPIO_WritePin(LED_PORT,pin,SET) -#define led_off(pin) HAL_GPIO_WritePin(LED_PORT,pin,RESET) -#define led_toggle(pin) HAL_GPIO_TogglePin(LED_PORT,pin) - -#endif /* __STM_LED_H */ |