Skip to content

Commit 285de88

Browse files
author
Cruz Monrreal
authored
Merge pull request #8234 from TomoYamanaka/modify_LPTicker
Renesas : Modify LPTicker driver
2 parents 61a626c + b01cdcb commit 285de88

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_GR_LYCHEE/PeripheralPins.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,11 @@ const PinMap PinMap_PWM[] = {
246246
{P7_9 , PWM_TIOC1A, 6},
247247
{P9_2 , PWM_TIOC1A, 5}, /* for 208QFP */
248248
{P2_7 , PWM_TIOC1A, 3},
249-
{P5_14 , PWM_TIOC2A, 4},
250-
{P7_0 , PWM_TIOC2A, 5},
251-
{P9_4 , PWM_TIOC2A, 5}, /* for 208QFP */
252-
{P2_6 , PWM_TIOC2A, 3},
249+
{P6_7 , PWM_TIOC3A, 5},
250+
{P2_5 , PWM_TIOC3A, 3},
251+
{P3_11 , PWM_TIOC3A, 3},
252+
{P6_9 , PWM_TIOC3C, 5},
253+
{P3_12 , PWM_TIOC3C, 3},
253254
{P5_8 , PWM_TIOC4A, 3},
254255
{P2_4 , PWM_TIOC4A, 3},
255256
{P5_10 , PWM_TIOC4C, 3},

targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_GR_LYCHEE/device/os_tick_ostm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ uint32_t OS_Tick_GetOverflow (void)
194194

195195
// Get Cortex-A9 OS Timer interrupt number
196196
IRQn_ID_t mbed_get_a9_tick_irqn(){
197-
return OSTMI0TINT_IRQn;
197+
return OSTM_IRQn;
198198
}
199199
#endif
200200

targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_GR_LYCHEE/mbed_drv_cfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
#define RENESAS_RZ_A1_P0_CLK CM1_RENESAS_RZ_A1_P0_CLK
3636

37-
#define LP_TICKER_MTU2_CH 3
37+
#define LP_TICKER_MTU2_CH 2
3838

3939
/* flash (W25Q64JV) */
4040
#define FLASH_BASE (0x18000000UL) /**< Flash Base Address */

targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/os_tick_ostm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ uint32_t OS_Tick_GetOverflow (void)
195195

196196
// Get Cortex-A9 OS Timer interrupt number
197197
IRQn_ID_t mbed_get_a9_tick_irqn(){
198-
return OSTMI0TINT_IRQn;
198+
return OSTM_IRQn;
199199
}
200200
#endif
201201

0 commit comments

Comments
 (0)