- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm now able to manipulate GPIO using this statements:
Gpio1pin_InitIn(GPIO1PIN_PA4, Gpio1pin_InitPullup(1u));
Gpio1pin_Put(GPIO1PIN_PA6, 1);
but it only works with a few ports, when I try this:
Gpio1pin_InitIn(GPIO1PIN_P50, Gpio1pin_InitPullup(1u));
it gives me this warning and error:
..\source\main.c(299): warning: #223-D: function "GPIO1PIN_P50_INITIN" declared implicitly
.\output\release\s6e2ccxh_template.axf: Error: L6218E: Undefined symbol GPIO1PIN_P50_INITIN (referred from main.o).
what I'm doing wrong? is there any other way manipulate ports?
Solved! Go to Solution.
- Labels:
-
FM0 + FM3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Looking at the warning and error message looks like s6e2ccxh does not have P50, while s6e2ccxl( the device assembled on the SK-FM4-216-ETHERNET board) has P50.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Looking at the warning and error message looks like s6e2ccxh does not have P50, while s6e2ccxl( the device assembled on the SK-FM4-216-ETHERNET board) has P50.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, that was my problem, I was using a different template, I could program the device anyway so I was misleading by that, thank you, it works well now.