Skip to content

Commit

Permalink
Changed port direction for P000
Browse files Browse the repository at this point in the history
  • Loading branch information
sysprogs committed Apr 16, 2022
1 parent 7ed181a commit 5151406
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions visualgdb/ARM/Renesas/RenesasARMDemo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ find_bsp(
VERSION 3.3.0
MCU R7FA2E1A92DFM
FRAMEWORKS
com.renesas.arm.Renesas.Common.fsp_common
com.renesas.arm.Renesas.HAL_Drivers.r_ioport
com.renesas.arm.Arm.CMSIS.CMSIS5.CoreM
com.renesas.arm.Renesas.BSP.Board.default_board
com.renesas.arm.Renesas.Common.fsp_common
com.renesas.arm.Renesas.BSP.device.mcu
com.renesas.arm.Renesas.BSP.device.family
com.renesas.arm.Renesas.BSP.fsp.family
com.renesas.arm.Renesas.HAL_Drivers.r_ioport
com.renesas.arm.Renesas.BSP.Board.default_board
HWREGISTER_LIST_FILE DeviceDefinitions/R7FA2E1A9.xml
DISABLE_GNU_EXTENSIONS)
DISABLE_GNU_EXTENSIONS
FWCONFIGURATION "com.renesas.ra.device.pins.mode.p000=(uint32_t) IOPORT_CFG_PORT_DIRECTION_OUTPUT | (uint32_t) IOPORT_CFG_PORT_OUTPUT_HIGH")

add_bsp_based_executable(
NAME RenesasARMDemo
Expand Down
2 changes: 1 addition & 1 deletion visualgdb/ARM/Renesas/RenesasARMDemo/ra_gen/pin_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "r_ioport_api.h"
const ioport_pin_cfg_t g_bsp_pin_cfg_data[] =
{
{ .pin = BSP_IO_PORT_00_PIN_00, .pin_cfg = ((uint32_t) IOPORT_CFG_ANALOG_ENABLE) },
{ .pin = BSP_IO_PORT_00_PIN_00, .pin_cfg = ((uint32_t) IOPORT_CFG_PORT_DIRECTION_OUTPUT | (uint32_t) IOPORT_CFG_PORT_OUTPUT_HIGH) },
{ .pin = BSP_IO_PORT_00_PIN_01, .pin_cfg = ((uint32_t) IOPORT_CFG_ANALOG_ENABLE) },
{ .pin = BSP_IO_PORT_00_PIN_02, .pin_cfg = ((uint32_t) IOPORT_CFG_ANALOG_ENABLE) },
{ .pin = BSP_IO_PORT_00_PIN_03, .pin_cfg = ((uint32_t) IOPORT_CFG_ANALOG_ENABLE) },
Expand Down

0 comments on commit 5151406

Please sign in to comment.