Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lwc
/
compare
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Pipelines
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2ec67af2
authored
Jul 15, 2019
by
Sebastian Renner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stipped unecessary file paths from Makefile
parent
b30e5083
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
19 deletions
+4
-19
templates/f7/Makefile
+2
-17
templates/f7/Src/main.c
+2
-2
No files found.
templates/f7/Makefile
View file @
2ec67af2
...
...
@@ -38,32 +38,17 @@ BUILD_DIR = build
C_SOURCES
=
\
Src/main.c
\
Src/stm32f7xx_it.c
\
Src/stm32f7xx_hal_msp.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_usart.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_dma.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pcd.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pcd_ex.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_usb.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_rcc.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_utils.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_exti.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_flash.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_flash_ex.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma_ex.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c_ex.c
\
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_exti.c
\
Src/system_stm32f7xx.c
\
Src/RTT/SEGGER_RTT.c
\
Src/RTT/SEGGER_RTT_printf.c
\
...
...
templates/f7/Src/main.c
View file @
2ec67af2
...
...
@@ -240,9 +240,9 @@ int main(void)
dbg_printf
(
"p: "
);
for
(
int
i
=
0
;
i
<
nplen
;
i
++
)
dbg_printf
(
"%02x"
,
npub
[
i
]);
dbg_printf
(
"
\n
"
);
dbg_printf
(
"k: "
);
for
(
int
i
=
0
;
i
<
klen
;
i
++
)
dbg_printf
(
"%02x"
,
k
[
i
]);
dbg_printf
(
"
\n
"
);
#endif
LL_GPIO_TogglePin
(
GPIOB
,
LL_GPIO_PIN_
14
);
LL_GPIO_TogglePin
(
GPIOB
,
LL_GPIO_PIN_
7
);
res
=
crypto_aead_encrypt
(
c
,
&
clen
,
m
,
mlen
,
ad
,
adlen
,
nsec
,
npub
,
k
);
LL_GPIO_TogglePin
(
GPIOB
,
LL_GPIO_PIN_
14
);
LL_GPIO_TogglePin
(
GPIOB
,
LL_GPIO_PIN_
7
);
break
;
default:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment