質問編集履歴
2
えらーの詳細の追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -11,15 +11,23 @@
|
|
11
11
|
以下のようにエラーメッセージが表示されていますが、どのように修正すればいいのかわからず、アドバイスをいただけますと幸いです。
|
12
12
|
|
13
13
|
```
|
14
|
-
Severity
|
14
|
+
Severity Code Description Project File Line
|
15
15
|
Error recipe for target 'src/main.o' failed trial C:\Users\rg\Documents\Atmel Studio\7.0\trial\trial\Debug\Makefile 332
|
16
16
|
|
17
|
-
Severity
|
17
|
+
Severity Code Description Project File Line
|
18
18
|
Error implicit declaration of function 'configure_adc' [-Werror=implicit-function-declaration] trial C:\Users\rg\Documents\Atmel Studio\7.0\trial\trial\src\main.c 47
|
19
|
+
```
|
19
20
|
|
20
|
-
|
21
|
+
1つめのエラーが指している場所はmain.cとは別の場所にあったため、以下明記します。
|
21
22
|
```
|
23
|
+
src/%.o: ../src/%.c
|
24
|
+
@echo Building file: $<
|
25
|
+
@echo Invoking: ARM/GNU C Compiler : 6.3.1
|
26
|
+
$(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAML21E16B__ -DDEBUG -DBOARD=USER_BOARD -DARM_MATH_CM0PLUS=true -DADC_CALLBACK_MODE=true -DUSART_CALLBACK_MODE=true -I"../src/ASF/common/boards" -I"../src/ASF/sam0/utils" -I"../src/ASF/sam0/utils/header_files" -I"../src/ASF/sam0/utils/preprocessor" -I"../src/ASF/thirdparty/CMSIS/Include" -I"../src/ASF/thirdparty/CMSIS/Lib/GCC" -I"../src/ASF/common/utils" -I"../src/ASF/sam0/utils/cmsis/saml21/include_b" -I"../src/ASF/sam0/utils/cmsis/saml21/source" -I"../src/ASF/sam0/drivers/system" -I"../src/ASF/sam0/drivers/system/clock/clock_saml21" -I"../src/ASF/sam0/drivers/system/clock" -I"../src/ASF/sam0/drivers/system/interrupt" -I"../src/ASF/sam0/drivers/system/interrupt/system_interrupt_saml21" -I"../src/ASF/sam0/drivers/system/pinmux" -I"../src/ASF/sam0/drivers/system/power/power_sam_l" -I"../src/ASF/sam0/drivers/system/power" -I"../src/ASF/sam0/drivers/system/reset/reset_sam_l" -I"../src/ASF/sam0/drivers/system/reset" -I"../src/ASF/common2/boards/user_board" -I"../src" -I"../src/config" -I"../src/ASF/common/services/serial" -I"../src/ASF/sam0/drivers/adc" -I"../src/ASF/sam0/drivers/adc/adc_sam_l_c" -I"../src/ASF/sam0/drivers/sercom" -I"../src/ASF/sam0/drivers/sercom/usart" -O1 -fdata-sections -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m0plus -c -pipe -fno-strict-aliasing -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror-implicit-function-declaration -Wpointer-arith -std=gnu99 -ffunction-sections -fdata-sections -Wchar-subscripts -Wcomment -Wformat=2 -Wimplicit-int -Wmain -Wparentheses -Wsequence-point -Wreturn-type -Wswitch -Wtrigraphs -Wunused -Wuninitialized -Wunknown-pragmas -Wfloat-equal -Wundef -Wshadow -Wbad-function-cast -Wwrite-strings -Wsign-compare -Waggregate-return -Wmissing-declarations -Wformat -Wmissing-format-attribute -Wno-deprecated-declarations -Wpacked -Wredundant-decls -Wnested-externs -Wlong-long -Wunreachable-code -Wcast-align --param max-inline-insns-single=500 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
27
|
+
@echo Finished building: $<
|
28
|
+
```
|
22
29
|
|
30
|
+
|
23
31
|
###該当のソースコード
|
24
32
|
```c
|
25
33
|
#include <asf.h>
|
1
誤字脱字の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
[Quick Start Guide for PORT - Basic](http://asf.atmel.com/docs/latest/samr21/html/asfdoc_sam0_port_basic_use_case.html)
|
9
9
|
|
10
10
|
###発生している問題・エラーメッセージ
|
11
|
-
以下のようにエラーメッセージが表示されていますが、どのように修正すればいいのかわからず、
|
11
|
+
以下のようにエラーメッセージが表示されていますが、どのように修正すればいいのかわからず、アドバイスをいただけますと幸いです。
|
12
12
|
|
13
13
|
```
|
14
14
|
Severity Code Description Project File Line
|