Makefile fixes, part1 updates
This commit is contained in:
4
Makefile
4
Makefile
@@ -45,6 +45,10 @@ static-push:
|
|||||||
aws s3 sync --acl "public-read" --sse "AES256" ${STATIC_DIR}/ s3://${STATIC_BUCKET}
|
aws s3 sync --acl "public-read" --sse "AES256" ${STATIC_DIR}/ s3://${STATIC_BUCKET}
|
||||||
.PHONY: static-push
|
.PHONY: static-push
|
||||||
|
|
||||||
|
css-push:
|
||||||
|
aws s3 cp --acl "public-read" --sse "AES256" public/dist/style.css s3://${WEB_BUCKET}/dist/style.css
|
||||||
|
.PHONY: css-push
|
||||||
|
|
||||||
run: static-pull
|
run: static-pull
|
||||||
-$(DOCKER_RUN) -it ${DOCKER_PORT} ${HUGO_IMAGE} -D server --bind=0.0.0.0
|
-$(DOCKER_RUN) -it ${DOCKER_PORT} ${HUGO_IMAGE} -D server --bind=0.0.0.0
|
||||||
.PHONY: run
|
.PHONY: run
|
||||||
|
|||||||
@@ -43,7 +43,8 @@ int main(void) {
|
|||||||
rcc_periph_clock_enable(RCC_TIM3);
|
rcc_periph_clock_enable(RCC_TIM3);
|
||||||
|
|
||||||
gpio_mode_setup(LED_PORT, GPIO_MODE_AF, GPIO_PUPD_NONE, LED_PIN_BLU | LED_PIN_GRN);
|
gpio_mode_setup(LED_PORT, GPIO_MODE_AF, GPIO_PUPD_NONE, LED_PIN_BLU | LED_PIN_GRN);
|
||||||
gpio_set_output_options(LED_PORT, GPIO_OTYPE_PP, GPIO_OSPEED_HIGH, LED_PIN_BLU | LED_PIN_GRN);
|
gpio_set_output_options(LED_PORT, GPIO_OTYPE_PP, GPIO_OSPEED_HIGH,
|
||||||
|
LED_PIN_BLU | LED_PIN_GRN);
|
||||||
gpio_set_af(LED_PORT, GPIO_AF0, LED_PIN_BLU | LED_PIN_GRN);
|
gpio_set_af(LED_PORT, GPIO_AF0, LED_PIN_BLU | LED_PIN_GRN);
|
||||||
|
|
||||||
timer_set_mode(TIM3, TIM_CR1_CKD_CK_INT, TIM_CR1_CMS_EDGE, TIM_CR1_DIR_UP);
|
timer_set_mode(TIM3, TIM_CR1_CKD_CK_INT, TIM_CR1_CMS_EDGE, TIM_CR1_DIR_UP);
|
||||||
|
|||||||
Reference in New Issue
Block a user