mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-10-02 14:23:19 +08:00
[nuvoton] Update drivers and project setting. (#5726)
This commit is contained in:
@@ -29,12 +29,12 @@
|
||||
|
||||
/* rtc date upper bound reaches the year of 2099. */
|
||||
#define RTC_TM_UPPER_BOUND \
|
||||
{ .tm_year = CONV_TO_TM_YEAR(2099), \
|
||||
.tm_mon = CONV_TO_TM_MON(12), \
|
||||
.tm_mday = 31, \
|
||||
.tm_hour = 23, \
|
||||
.tm_min = 59, \
|
||||
.tm_sec = 59, \
|
||||
{ .tm_year = CONV_TO_TM_YEAR(2038), \
|
||||
.tm_mon = CONV_TO_TM_MON(1), \
|
||||
.tm_mday = 19, \
|
||||
.tm_hour = 3, \
|
||||
.tm_min = 14, \
|
||||
.tm_sec = 07, \
|
||||
}
|
||||
|
||||
/* rtc date lower bound reaches the year of 2000. */
|
||||
@@ -57,8 +57,8 @@ static rt_size_t nu_rtc_read(rt_device_t dev, rt_off_t pos, void *buffer, rt_siz
|
||||
static rt_size_t nu_rtc_write(rt_device_t dev, rt_off_t pos, const void *buffer, rt_size_t size);
|
||||
#endif
|
||||
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t *const t);
|
||||
static void nu_rtc_init(void);
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t t);
|
||||
static rt_err_t nu_rtc_init(void);
|
||||
|
||||
#if defined(RT_USING_ALARM)
|
||||
static void nu_rtc_alarm_reset(void);
|
||||
@@ -74,7 +74,7 @@ extern rt_err_t set_time(rt_uint32_t hour, rt_uint32_t minute, rt_uint32_t secon
|
||||
static struct rt_device device_rtc;
|
||||
|
||||
|
||||
static void nu_rtc_init(void)
|
||||
static rt_err_t nu_rtc_init(void)
|
||||
{
|
||||
/* hw rtc initialise */
|
||||
RTC_Open(NULL);
|
||||
@@ -86,6 +86,8 @@ static void nu_rtc_init(void)
|
||||
RTC_EnableInt(RTC_INTEN_ALMIEN_Msk);
|
||||
NVIC_EnableIRQ(RTC_IRQn);
|
||||
#endif
|
||||
|
||||
return RT_EOK;
|
||||
}
|
||||
|
||||
|
||||
@@ -173,7 +175,7 @@ static rt_size_t nu_rtc_write(rt_device_t dev, rt_off_t pos, const void *buffer,
|
||||
#endif
|
||||
|
||||
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t *const t)
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t t)
|
||||
{
|
||||
static struct tm tm_upper = RTC_TM_UPPER_BOUND;
|
||||
static struct tm tm_lower = RTC_TM_LOWER_BOUND;
|
||||
@@ -188,7 +190,7 @@ static rt_err_t nu_rtc_is_date_valid(const time_t *const t)
|
||||
}
|
||||
|
||||
/* check the date is supported by rtc. */
|
||||
if ((*t > t_upper) || (*t < t_lower))
|
||||
if ((t > t_upper) || (t < t_lower))
|
||||
return -(RT_EINVAL);
|
||||
|
||||
return RT_EOK;
|
||||
@@ -230,11 +232,11 @@ static rt_err_t nu_rtc_control(rt_device_t dev, int cmd, void *args)
|
||||
case RT_DEVICE_CTRL_RTC_SET_TIME:
|
||||
|
||||
time = (time_t *) args;
|
||||
|
||||
if (nu_rtc_is_date_valid(*time) != RT_EOK)
|
||||
return -(RT_ERROR);
|
||||
|
||||
tm_in = gmtime(time);
|
||||
|
||||
if (nu_rtc_is_date_valid(time) != RT_EOK)
|
||||
return RT_ERROR;
|
||||
|
||||
hw_time.u32Year = CONV_FROM_TM_YEAR(tm_in->tm_year);
|
||||
hw_time.u32Month = CONV_FROM_TM_MON(tm_in->tm_mon);
|
||||
hw_time.u32Day = tm_in->tm_mday;
|
||||
|
||||
@@ -29,12 +29,12 @@
|
||||
|
||||
/* rtc date upper bound reaches the year of 2099. */
|
||||
#define RTC_TM_UPPER_BOUND \
|
||||
{ .tm_year = CONV_TO_TM_YEAR(2099), \
|
||||
.tm_mon = CONV_TO_TM_MON(12), \
|
||||
.tm_mday = 31, \
|
||||
.tm_hour = 23, \
|
||||
.tm_min = 59, \
|
||||
.tm_sec = 59, \
|
||||
{ .tm_year = CONV_TO_TM_YEAR(2038), \
|
||||
.tm_mon = CONV_TO_TM_MON(1), \
|
||||
.tm_mday = 19, \
|
||||
.tm_hour = 3, \
|
||||
.tm_min = 14, \
|
||||
.tm_sec = 07, \
|
||||
}
|
||||
|
||||
/* rtc date lower bound reaches the year of 2000. */
|
||||
@@ -57,8 +57,8 @@ static rt_err_t nu_rtc_control(rt_device_t dev, int cmd, void *args);
|
||||
static rt_size_t nu_rtc_write(rt_device_t dev, rt_off_t pos, const void *buffer, rt_size_t size);
|
||||
#endif
|
||||
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t *const t);
|
||||
static void nu_rtc_init(void);
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t t);
|
||||
static rt_err_t nu_rtc_init(void);
|
||||
|
||||
#if defined(RT_USING_ALARM)
|
||||
static void nu_rtc_alarm_reset(void);
|
||||
@@ -74,7 +74,7 @@ static void nu_rtc_init(void);
|
||||
static struct rt_device device_rtc;
|
||||
|
||||
|
||||
static void nu_rtc_init(void)
|
||||
static rt_err_t nu_rtc_init(void)
|
||||
{
|
||||
/* hw rtc initialise */
|
||||
RTC_Open(NULL);
|
||||
@@ -89,6 +89,8 @@ static void nu_rtc_init(void)
|
||||
RTC_EnableInt(RTC_INTEN_ALMIEN_Msk);
|
||||
NVIC_EnableIRQ(RTC_IRQn);
|
||||
#endif
|
||||
|
||||
return RT_EOK;
|
||||
}
|
||||
|
||||
|
||||
@@ -176,7 +178,7 @@ static rt_size_t nu_rtc_write(rt_device_t dev, rt_off_t pos, const void *buffer,
|
||||
#endif
|
||||
|
||||
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t *const t)
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t t)
|
||||
{
|
||||
static struct tm tm_upper = RTC_TM_UPPER_BOUND;
|
||||
static struct tm tm_lower = RTC_TM_LOWER_BOUND;
|
||||
@@ -191,7 +193,7 @@ static rt_err_t nu_rtc_is_date_valid(const time_t *const t)
|
||||
}
|
||||
|
||||
/* check the date is supported by rtc. */
|
||||
if ((*t > t_upper) || (*t < t_lower))
|
||||
if ((t > t_upper) || (t < t_lower))
|
||||
return -(RT_EINVAL);
|
||||
|
||||
return RT_EOK;
|
||||
@@ -233,11 +235,11 @@ static rt_err_t nu_rtc_control(rt_device_t dev, int cmd, void *args)
|
||||
case RT_DEVICE_CTRL_RTC_SET_TIME:
|
||||
|
||||
time = (time_t *) args;
|
||||
|
||||
if (nu_rtc_is_date_valid(*time) != RT_EOK)
|
||||
return -(RT_ERROR);
|
||||
|
||||
tm_in = gmtime(time);
|
||||
|
||||
if (nu_rtc_is_date_valid(time) != RT_EOK)
|
||||
return RT_ERROR;
|
||||
|
||||
hw_time.u32Year = CONV_FROM_TM_YEAR(tm_in->tm_year);
|
||||
hw_time.u32Month = CONV_FROM_TM_MON(tm_in->tm_mon);
|
||||
hw_time.u32Day = tm_in->tm_mday;
|
||||
|
||||
@@ -29,12 +29,12 @@
|
||||
|
||||
/* rtc date upper bound reaches the year of 2099. */
|
||||
#define RTC_TM_UPPER_BOUND \
|
||||
{ .tm_year = CONV_TO_TM_YEAR(2099), \
|
||||
.tm_mon = CONV_TO_TM_MON(12), \
|
||||
.tm_mday = 31, \
|
||||
.tm_hour = 23, \
|
||||
.tm_min = 59, \
|
||||
.tm_sec = 59, \
|
||||
{ .tm_year = CONV_TO_TM_YEAR(2038), \
|
||||
.tm_mon = CONV_TO_TM_MON(1), \
|
||||
.tm_mday = 19, \
|
||||
.tm_hour = 3, \
|
||||
.tm_min = 14, \
|
||||
.tm_sec = 07, \
|
||||
}
|
||||
|
||||
/* rtc date lower bound reaches the year of 2000. */
|
||||
@@ -57,8 +57,8 @@ static rt_err_t nu_rtc_control(rt_device_t dev, int cmd, void *args);
|
||||
static rt_size_t nu_rtc_write(rt_device_t dev, rt_off_t pos, const void *buffer, rt_size_t size);
|
||||
#endif
|
||||
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t *const t);
|
||||
static void nu_rtc_init(void);
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t t);
|
||||
static rt_err_t nu_rtc_init(void);
|
||||
|
||||
#if defined(RT_USING_ALARM)
|
||||
static void nu_rtc_alarm_reset(void);
|
||||
@@ -74,7 +74,7 @@ static void nu_rtc_init(void);
|
||||
static struct rt_device device_rtc;
|
||||
|
||||
|
||||
static void nu_rtc_init(void)
|
||||
static rt_err_t nu_rtc_init(void)
|
||||
{
|
||||
/* hw rtc initialise */
|
||||
RTC_Open(NULL);
|
||||
@@ -88,6 +88,8 @@ static void nu_rtc_init(void)
|
||||
RTC_EnableInt(RTC_INTEN_ALMIEN_Msk);
|
||||
NVIC_EnableIRQ(RTC_IRQn);
|
||||
#endif
|
||||
|
||||
return RT_EOK;
|
||||
}
|
||||
|
||||
|
||||
@@ -175,7 +177,7 @@ static rt_size_t nu_rtc_write(rt_device_t dev, rt_off_t pos, const void *buffer,
|
||||
#endif
|
||||
|
||||
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t *const t)
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t t)
|
||||
{
|
||||
static struct tm tm_upper = RTC_TM_UPPER_BOUND;
|
||||
static struct tm tm_lower = RTC_TM_LOWER_BOUND;
|
||||
@@ -190,7 +192,7 @@ static rt_err_t nu_rtc_is_date_valid(const time_t *const t)
|
||||
}
|
||||
|
||||
/* check the date is supported by rtc. */
|
||||
if ((*t > t_upper) || (*t < t_lower))
|
||||
if ((t > t_upper) || (t < t_lower))
|
||||
return -(RT_EINVAL);
|
||||
|
||||
return RT_EOK;
|
||||
@@ -232,11 +234,11 @@ static rt_err_t nu_rtc_control(rt_device_t dev, int cmd, void *args)
|
||||
case RT_DEVICE_CTRL_RTC_SET_TIME:
|
||||
|
||||
time = (time_t *) args;
|
||||
|
||||
if (nu_rtc_is_date_valid(*time) != RT_EOK)
|
||||
return -(RT_ERROR);
|
||||
|
||||
tm_in = gmtime(time);
|
||||
|
||||
if (nu_rtc_is_date_valid(time) != RT_EOK)
|
||||
return RT_ERROR;
|
||||
|
||||
hw_time.u32Year = CONV_FROM_TM_YEAR(tm_in->tm_year);
|
||||
hw_time.u32Month = CONV_FROM_TM_MON(tm_in->tm_mon);
|
||||
hw_time.u32Day = tm_in->tm_mday;
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
LOAD %L INCREMENTAL
|
||||
$ = 0
|
||||
@@ -0,0 +1,12 @@
|
||||
|
||||
|
||||
LR_IROM1 0x00000000 { ; load region size_region
|
||||
ER_IROM1 0x00000000 { ; load address = execution address
|
||||
*.o (NUC_INIT, +First)
|
||||
*(InRoot$$Sections)
|
||||
.ANY (+RO)
|
||||
}
|
||||
RW_RAM1 +0 { ; RW_RAM1 start address is after ER_ROM1
|
||||
.ANY (+RW +ZI)
|
||||
}
|
||||
}
|
||||
@@ -30,12 +30,12 @@
|
||||
|
||||
/* rtc date upper bound reaches the year of 2099. */
|
||||
#define RTC_TM_UPPER_BOUND \
|
||||
{ .tm_year = CONV_TO_TM_YEAR(2099), \
|
||||
.tm_mon = CONV_TO_TM_MON(12), \
|
||||
.tm_mday = 31, \
|
||||
.tm_hour = 23, \
|
||||
.tm_min = 59, \
|
||||
.tm_sec = 59, \
|
||||
{ .tm_year = CONV_TO_TM_YEAR(2038), \
|
||||
.tm_mon = CONV_TO_TM_MON(1), \
|
||||
.tm_mday = 19, \
|
||||
.tm_hour = 3, \
|
||||
.tm_min = 14, \
|
||||
.tm_sec = 07, \
|
||||
}
|
||||
|
||||
/* rtc date lower bound reaches the year of 2000. */
|
||||
@@ -58,8 +58,8 @@ static rt_err_t nu_rtc_control(rt_device_t dev, int cmd, void *args);
|
||||
static rt_size_t nu_rtc_write(rt_device_t dev, rt_off_t pos, const void *buffer, rt_size_t size);
|
||||
#endif
|
||||
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t *const t);
|
||||
static void nu_rtc_init(void);
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t t);
|
||||
static rt_err_t nu_rtc_init(void);
|
||||
|
||||
#if defined(RT_USING_ALARM)
|
||||
static void nu_rtc_alarm_reset(void);
|
||||
@@ -76,7 +76,7 @@ static void nu_rtc_init(void);
|
||||
static struct rt_device device_rtc;
|
||||
|
||||
|
||||
static void nu_rtc_init(void)
|
||||
static rt_err_t nu_rtc_init(void)
|
||||
{
|
||||
S_RTC_TIME_DATA_T sInitTime = {0};
|
||||
|
||||
@@ -114,6 +114,8 @@ static void nu_rtc_init(void)
|
||||
rt_hw_interrupt_umask(IRQ_RTC);
|
||||
|
||||
#endif
|
||||
|
||||
return RT_EOK;
|
||||
}
|
||||
|
||||
|
||||
@@ -194,7 +196,7 @@ static rt_size_t nu_rtc_write(rt_device_t dev, rt_off_t pos, const void *buffer,
|
||||
#endif
|
||||
|
||||
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t *const t)
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t t)
|
||||
{
|
||||
static struct tm tm_upper = RTC_TM_UPPER_BOUND;
|
||||
static struct tm tm_lower = RTC_TM_LOWER_BOUND;
|
||||
@@ -209,7 +211,7 @@ static rt_err_t nu_rtc_is_date_valid(const time_t *const t)
|
||||
}
|
||||
|
||||
/* check the date is supported by rtc. */
|
||||
if ((*t > t_upper) || (*t < t_lower))
|
||||
if ((t > t_upper) || (t < t_lower))
|
||||
return -(RT_EINVAL);
|
||||
|
||||
return RT_EOK;
|
||||
@@ -255,11 +257,11 @@ static rt_err_t nu_rtc_control(rt_device_t dev, int cmd, void *args)
|
||||
case RT_DEVICE_CTRL_RTC_SET_TIME:
|
||||
|
||||
time = (time_t *) args;
|
||||
tm_in = gmtime(time);
|
||||
|
||||
if (nu_rtc_is_date_valid(time) != RT_EOK)
|
||||
if (nu_rtc_is_date_valid(*time) != RT_EOK)
|
||||
return -(RT_ERROR);
|
||||
|
||||
tm_in = gmtime(time);
|
||||
hw_time.u32Year = CONV_FROM_TM_YEAR(tm_in->tm_year);
|
||||
hw_time.u32cMonth = CONV_FROM_TM_MON(tm_in->tm_mon);
|
||||
hw_time.u32cDay = tm_in->tm_mday;
|
||||
|
||||
@@ -136,16 +136,29 @@ menu "Nuvoton Packages Config"
|
||||
|
||||
endif
|
||||
|
||||
config NU_PKG_USING_ILI_TPC
|
||||
bool "ILI Series TPC"
|
||||
config NU_PKG_USING_TPC
|
||||
bool "Support Touch Panel Controller over I2C"
|
||||
select RT_USING_TOUCH
|
||||
select RT_TOUCH_PIN_IRQ
|
||||
select RT_USING_I2C
|
||||
select BSP_USING_I2C
|
||||
default n
|
||||
|
||||
if NU_PKG_USING_TPC
|
||||
choice
|
||||
prompt "Select TPC drivers"
|
||||
config NU_PKG_USING_TPC_ILI
|
||||
bool "ILI Series TPC"
|
||||
default n
|
||||
|
||||
config NU_PKG_USING_TPC_GT911
|
||||
bool "GT911 TPC"
|
||||
default n
|
||||
endchoice
|
||||
endif
|
||||
|
||||
config NU_PKG_USING_ADC_TOUCH
|
||||
bool "ADC touch function"
|
||||
default n
|
||||
|
||||
|
||||
if NU_PKG_USING_ADC_TOUCH
|
||||
config NU_PKG_USING_ADC_TOUCH_SW
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#endif
|
||||
|
||||
#define ssd1963_delay_ms(ms) rt_thread_mdelay(ms)
|
||||
static void ssd1963_fillscreen(rt_uint16_t color);
|
||||
|
||||
static struct rt_device_graphic_info g_SSD1963Info =
|
||||
{
|
||||
@@ -125,6 +126,8 @@ static rt_err_t ssd1963_lcd_init(rt_device_t dev)
|
||||
ssd1963_send_cmd(0x29); //SET display on
|
||||
ssd1963_delay_ms(5);
|
||||
|
||||
ssd1963_fillscreen(0);
|
||||
|
||||
SET_DISP_ON;
|
||||
|
||||
SET_BACKLIGHT_ON;
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
from building import *
|
||||
Import('rtconfig')
|
||||
|
||||
src = []
|
||||
cwd = GetCurrentDir()
|
||||
path = [cwd]
|
||||
|
||||
# add src and include to group.
|
||||
src += Glob('tpc_worker.c')
|
||||
if GetDepend('NU_PKG_USING_TPC_ILI'):
|
||||
src += Glob('ili.c')
|
||||
elif GetDepend('NU_PKG_USING_TPC_GT911'):
|
||||
src += Glob('gt911.c')
|
||||
else:
|
||||
src = []
|
||||
|
||||
group = DefineGroup('nu_pkgs_tpc', src, depend = [''], CPPPATH = path)
|
||||
Return('group')
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Copyright (c) 2006-2018, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
* 2021-01-13 RiceChen the first version
|
||||
*/
|
||||
|
||||
#ifndef __GT911_H__
|
||||
#define __GT911_H__
|
||||
|
||||
#include "touch.h"
|
||||
|
||||
#define GT911_ADDR_LEN 2
|
||||
#define GT911_REGITER_LEN 2
|
||||
#define GT911_MAX_TOUCH 5
|
||||
#define GT911_POINT_INFO_NUM 1
|
||||
|
||||
#define GT911_ADDRESS_HIGH 0x5D
|
||||
#define GT911_ADDRESS_LOW 0x14
|
||||
|
||||
#define GT911_COMMAND_REG 0x8040
|
||||
#define GT911_CONFIG_REG 0x8047
|
||||
|
||||
#define GT911_PRODUCT_ID 0x8140
|
||||
#define GT911_VENDOR_ID 0x814A
|
||||
#define GT911_READ_STATUS 0x814E
|
||||
|
||||
#define GT911_POINT1_REG 0x814F
|
||||
#define GT911_POINT2_REG 0x8157
|
||||
#define GT911_POINT3_REG 0x815F
|
||||
#define GT911_POINT4_REG 0x8167
|
||||
#define GT911_POINT5_REG 0x816F
|
||||
|
||||
#define GT911_CHECK_SUM 0x80FF
|
||||
|
||||
int rt_hw_gt911_init(const char *name, struct rt_touch_config *cfg);
|
||||
|
||||
#endif /* gt911.h */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright (c) 2006-2018, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
* 2022-02-25 Wayne the first version
|
||||
*/
|
||||
|
||||
#ifndef __ILI_H__
|
||||
#define __ILI_H__
|
||||
|
||||
#include "touch.h"
|
||||
|
||||
int rt_hw_ili_tpc_init(const char *name, struct rt_touch_config *cfg);
|
||||
|
||||
#endif /* ili2130.h */
|
||||
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright (c) 2006-2018, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
* 2022-02-25 Wayne the first version
|
||||
*/
|
||||
|
||||
#include <rtthread.h>
|
||||
#include <rtdevice.h>
|
||||
#include "touch.h"
|
||||
|
||||
#define THREAD_PRIORITY 5
|
||||
#define THREAD_STACK_SIZE 2048
|
||||
#define THREAD_TIMESLICE 5
|
||||
|
||||
static rt_sem_t tpc_sem = RT_NULL;
|
||||
|
||||
RT_WEAK void nu_touch_inputevent_cb(rt_int16_t x, rt_int16_t y, rt_uint8_t state)
|
||||
{
|
||||
rt_kprintf("[%d] %d %d\n", state, x, y);
|
||||
}
|
||||
|
||||
static rt_err_t rx_callback(rt_device_t dev, rt_size_t size)
|
||||
{
|
||||
return rt_sem_release(tpc_sem);
|
||||
}
|
||||
|
||||
static void tpc_entry(void *parameter)
|
||||
{
|
||||
struct rt_touch_data *read_data;
|
||||
struct rt_touch_info info;
|
||||
rt_device_t dev = RT_NULL;
|
||||
|
||||
const char *name = "ili_tpc";
|
||||
rt_uint32_t x_range = BSP_LCD_WIDTH;
|
||||
rt_uint32_t y_range = BSP_LCD_HEIGHT;
|
||||
|
||||
dev = rt_device_find(name);
|
||||
if (dev == RT_NULL)
|
||||
{
|
||||
rt_kprintf("can't find device:%s\n", name);
|
||||
return;
|
||||
}
|
||||
|
||||
if (rt_device_open(dev, RT_DEVICE_FLAG_INT_RX) != RT_EOK)
|
||||
{
|
||||
rt_kprintf("open device failed!");
|
||||
return;
|
||||
}
|
||||
rt_kprintf("[%s] x: %d, y: %d\n", __func__, x_range, y_range);
|
||||
|
||||
rt_device_control(dev, RT_TOUCH_CTRL_SET_X_RANGE, &x_range); /* if possible you can set your x y coordinate*/
|
||||
rt_device_control(dev, RT_TOUCH_CTRL_SET_Y_RANGE, &y_range);
|
||||
|
||||
tpc_sem = rt_sem_create("dsem", 0, RT_IPC_FLAG_FIFO);
|
||||
if (tpc_sem == RT_NULL)
|
||||
{
|
||||
rt_kprintf("create dynamic semaphore failed.\n");
|
||||
return;
|
||||
}
|
||||
|
||||
rt_device_set_rx_indicate(dev, rx_callback);
|
||||
|
||||
rt_device_control(dev, RT_TOUCH_CTRL_GET_INFO, &info);
|
||||
rt_kprintf("range_x = %d \n", info.range_x);
|
||||
rt_kprintf("range_y = %d \n", info.range_y);
|
||||
rt_kprintf("point_num = %d \n", info.point_num);
|
||||
|
||||
read_data = (struct rt_touch_data *)rt_malloc(sizeof(struct rt_touch_data) * info.point_num);
|
||||
RT_ASSERT(read_data);
|
||||
|
||||
rt_memset(read_data, 0, sizeof(struct rt_touch_data) * info.point_num);
|
||||
|
||||
while (1)
|
||||
{
|
||||
rt_sem_take(tpc_sem, RT_WAITING_FOREVER);
|
||||
rt_device_control(dev, RT_TOUCH_CTRL_DISABLE_INT, RT_NULL);
|
||||
|
||||
if (rt_device_read(dev, 0, read_data, info.point_num) == info.point_num)
|
||||
{
|
||||
for (rt_uint8_t i = 0; i < 1; i++) // Only report one point.
|
||||
{
|
||||
if (read_data[i].event == RT_TOUCH_EVENT_DOWN
|
||||
|| read_data[i].event == RT_TOUCH_EVENT_UP
|
||||
|| read_data[i].event == RT_TOUCH_EVENT_MOVE)
|
||||
{
|
||||
//rt_kprintf("[%d] %d %d\n", read_data[i].event, read_data[i].x_coordinate, read_data[i].y_coordinate);
|
||||
|
||||
nu_touch_inputevent_cb(read_data[i].x_coordinate, read_data[i].y_coordinate, read_data[i].event);
|
||||
}
|
||||
}
|
||||
}
|
||||
rt_device_control(dev, RT_TOUCH_CTRL_ENABLE_INT, RT_NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Test function */
|
||||
int tpc_sample(void)
|
||||
{
|
||||
rt_thread_t tpc_thread;
|
||||
tpc_thread = rt_thread_create("tpc",
|
||||
tpc_entry,
|
||||
RT_NULL,
|
||||
THREAD_STACK_SIZE,
|
||||
THREAD_PRIORITY,
|
||||
THREAD_TIMESLICE);
|
||||
|
||||
if (tpc_thread != RT_NULL)
|
||||
rt_thread_startup(tpc_thread);
|
||||
|
||||
return 0;
|
||||
}
|
||||
INIT_APP_EXPORT(tpc_sample);
|
||||
@@ -30,12 +30,12 @@
|
||||
|
||||
/* rtc date upper bound reaches the year of 2099. */
|
||||
#define RTC_TM_UPPER_BOUND \
|
||||
{ .tm_year = CONV_TO_TM_YEAR(2099), \
|
||||
.tm_mon = CONV_TO_TM_MON(12), \
|
||||
.tm_mday = 31, \
|
||||
.tm_hour = 23, \
|
||||
.tm_min = 59, \
|
||||
.tm_sec = 59, \
|
||||
{ .tm_year = CONV_TO_TM_YEAR(2038), \
|
||||
.tm_mon = CONV_TO_TM_MON(1), \
|
||||
.tm_mday = 19, \
|
||||
.tm_hour = 3, \
|
||||
.tm_min = 14, \
|
||||
.tm_sec = 07, \
|
||||
}
|
||||
|
||||
/* rtc date lower bound reaches the year of 2000. */
|
||||
@@ -58,8 +58,8 @@ static rt_err_t nu_rtc_control(rt_device_t dev, int cmd, void *args);
|
||||
static rt_size_t nu_rtc_write(rt_device_t dev, rt_off_t pos, const void *buffer, rt_size_t size);
|
||||
#endif
|
||||
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t *const t);
|
||||
static void nu_rtc_init(void);
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t t);
|
||||
static rt_err_t nu_rtc_init(void);
|
||||
|
||||
#if defined(RT_USING_ALARM)
|
||||
static void nu_rtc_alarm_reset(void);
|
||||
@@ -76,7 +76,7 @@ static void nu_rtc_init(void);
|
||||
static struct rt_device device_rtc;
|
||||
|
||||
|
||||
static void nu_rtc_init(void)
|
||||
static rt_err_t nu_rtc_init(void)
|
||||
{
|
||||
nu_sys_ipclk_enable(RTCCKEN);
|
||||
|
||||
@@ -93,6 +93,8 @@ static void nu_rtc_init(void)
|
||||
rt_hw_interrupt_umask(IRQ_RTC);
|
||||
|
||||
#endif
|
||||
|
||||
return RT_EOK;
|
||||
}
|
||||
|
||||
|
||||
@@ -176,7 +178,7 @@ static rt_size_t nu_rtc_write(rt_device_t dev, rt_off_t pos, const void *buffer,
|
||||
#endif
|
||||
|
||||
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t *const t)
|
||||
static rt_err_t nu_rtc_is_date_valid(const time_t t)
|
||||
{
|
||||
static struct tm tm_upper = RTC_TM_UPPER_BOUND;
|
||||
static struct tm tm_lower = RTC_TM_LOWER_BOUND;
|
||||
@@ -191,7 +193,7 @@ static rt_err_t nu_rtc_is_date_valid(const time_t *const t)
|
||||
}
|
||||
|
||||
/* check the date is supported by rtc. */
|
||||
if ((*t > t_upper) || (*t < t_lower))
|
||||
if ((t > t_upper) || (t < t_lower))
|
||||
return -(RT_EINVAL);
|
||||
|
||||
return RT_EOK;
|
||||
@@ -233,11 +235,11 @@ static rt_err_t nu_rtc_control(rt_device_t dev, int cmd, void *args)
|
||||
case RT_DEVICE_CTRL_RTC_SET_TIME:
|
||||
|
||||
time = (time_t *) args;
|
||||
tm_in = gmtime(time);
|
||||
|
||||
if (nu_rtc_is_date_valid(time) != RT_EOK)
|
||||
if (nu_rtc_is_date_valid(*time) != RT_EOK)
|
||||
return -(RT_ERROR);
|
||||
|
||||
tm_in = gmtime(time);
|
||||
hw_time.u32Year = CONV_FROM_TM_YEAR(tm_in->tm_year);
|
||||
hw_time.u32Month = CONV_FROM_TM_MON(tm_in->tm_mon);
|
||||
hw_time.u32Day = tm_in->tm_mday;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -48,15 +48,13 @@ Nuvoton Technology provides industrial IoT development platform using NUC980DK61
|
||||
|VCOM | For console | Ready.(Need to install VCOM driver) |
|
||||
|
||||
## 2. Supported compiler
|
||||
Support GCC, MDK4 and MDK5 IDE/compilers. More information of these compiler version as following:
|
||||
|
||||
Support GCC and MDK IDE/compilers. More information of these compiler version as following:
|
||||
| IDE/Compiler | Tested version |
|
||||
| ---------- | ---------------------------- |
|
||||
| MDK4 | 4.76 |
|
||||
| MDK5 | 5.26.2 |
|
||||
| GCC | GCC 5.4.1 20160919 (release) |
|
||||
| MDK | uVision 5.25 |
|
||||
| GCC | 6-2017-q1-update |
|
||||
|
||||
Notice: Please install ICE driver for development.
|
||||
Notice: Please install ICE driver for development and [NuMicro_ARM9_Device_Database_Keil](https://www.nuvoton.com/resource-download.jsp?tp_GUID=SW1820201207155701).
|
||||
|
||||
## 3. Program firmware
|
||||
### 3.1 SDRAM Downloading using NuWriter
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -10,11 +10,12 @@
|
||||
<TargetName>rtthread</TargetName>
|
||||
<ToolsetNumber>0x4</ToolsetNumber>
|
||||
<ToolsetName>ARM-ADS</ToolsetName>
|
||||
<uAC6>0</uAC6>
|
||||
<TargetOption>
|
||||
<TargetCommonOption>
|
||||
<Device>Nuvoton_ARM9_Series</Device>
|
||||
<Vendor>Nuvoton</Vendor>
|
||||
<Cpu></Cpu>
|
||||
<Cpu>IRAM(0x0-0x0) CLOCK(000000000) CPUTYPE(ARM926EJ-S)</Cpu>
|
||||
<FlashUtilSpec></FlashUtilSpec>
|
||||
<StartupFile></StartupFile>
|
||||
<FlashDriverDll></FlashDriverDll>
|
||||
@@ -30,6 +31,7 @@
|
||||
<SLE66AMisc></SLE66AMisc>
|
||||
<SLE66LinkerMisc></SLE66LinkerMisc>
|
||||
<SFDFile></SFDFile>
|
||||
<bCustSvd>0</bCustSvd>
|
||||
<UseEnv>0</UseEnv>
|
||||
<BinPath></BinPath>
|
||||
<IncludePath></IncludePath>
|
||||
@@ -43,7 +45,7 @@
|
||||
<NotGenerated>0</NotGenerated>
|
||||
<InvalidFlash>1</InvalidFlash>
|
||||
</TargetStatus>
|
||||
<OutputDirectory>.\Objects\</OutputDirectory>
|
||||
<OutputDirectory>.\build\keil4\</OutputDirectory>
|
||||
<OutputName>rtthread</OutputName>
|
||||
<CreateExecutable>1</CreateExecutable>
|
||||
<CreateLib>0</CreateLib>
|
||||
@@ -71,14 +73,18 @@
|
||||
<UserProg2Name></UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopB1X>0</nStopB1X>
|
||||
<nStopB2X>0</nStopB2X>
|
||||
</BeforeMake>
|
||||
<AfterMake>
|
||||
<RunUserProg1>0</RunUserProg1>
|
||||
<RunUserProg1>1</RunUserProg1>
|
||||
<RunUserProg2>0</RunUserProg2>
|
||||
<UserProg1Name></UserProg1Name>
|
||||
<UserProg1Name>fromelf.exe --bin --output "$L@L.bin" "$L@L.axf"</UserProg1Name>
|
||||
<UserProg2Name></UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopA1X>0</nStopA1X>
|
||||
<nStopA2X>0</nStopA2X>
|
||||
</AfterMake>
|
||||
<SelectedForBatchBuild>0</SelectedForBatchBuild>
|
||||
<SVCSIdString></SVCSIdString>
|
||||
@@ -97,6 +103,7 @@
|
||||
<StopOnExitCode>3</StopOnExitCode>
|
||||
<CustomArgument></CustomArgument>
|
||||
<IncludeLibraryModules></IncludeLibraryModules>
|
||||
<ComprImg>1</ComprImg>
|
||||
</CommonProperty>
|
||||
<DllOption>
|
||||
<SimDllName>SARM.DLL</SimDllName>
|
||||
@@ -126,6 +133,7 @@
|
||||
<RestoreFunctions>1</RestoreFunctions>
|
||||
<RestoreToolbox>1</RestoreToolbox>
|
||||
<LimitSpeedToRealTime>0</LimitSpeedToRealTime>
|
||||
<RestoreSysVw>1</RestoreSysVw>
|
||||
</Simulator>
|
||||
<Target>
|
||||
<UseTarget>1</UseTarget>
|
||||
@@ -137,9 +145,10 @@
|
||||
<RestoreFunctions>0</RestoreFunctions>
|
||||
<RestoreToolbox>1</RestoreToolbox>
|
||||
<RestoreTracepoints>1</RestoreTracepoints>
|
||||
<RestoreSysVw>1</RestoreSysVw>
|
||||
</Target>
|
||||
<RunDebugAfterBuild>0</RunDebugAfterBuild>
|
||||
<TargetSelection>6</TargetSelection>
|
||||
<TargetSelection>18</TargetSelection>
|
||||
<SimDlls>
|
||||
<CpuDll></CpuDll>
|
||||
<CpuDllArguments></CpuDllArguments>
|
||||
@@ -169,6 +178,10 @@
|
||||
<Flash2>Segger\JLTAgdi.dll</Flash2>
|
||||
<Flash3>"" ()</Flash3>
|
||||
<Flash4></Flash4>
|
||||
<pFcarmOut></pFcarmOut>
|
||||
<pFcarmGrp></pFcarmGrp>
|
||||
<pFcArmRoot></pFcArmRoot>
|
||||
<FcArmLst>0</FcArmLst>
|
||||
</Utilities>
|
||||
<TargetArmAds>
|
||||
<ArmAdsMisc>
|
||||
@@ -199,22 +212,24 @@
|
||||
<AdsLsxf>1</AdsLsxf>
|
||||
<RvctClst>0</RvctClst>
|
||||
<GenPPlst>0</GenPPlst>
|
||||
<AdsCpuType></AdsCpuType>
|
||||
<AdsCpuType>ARM926EJ-S</AdsCpuType>
|
||||
<RvctDeviceName></RvctDeviceName>
|
||||
<mOS>0</mOS>
|
||||
<uocRom>0</uocRom>
|
||||
<uocRam>0</uocRam>
|
||||
<hadIROM>0</hadIROM>
|
||||
<hadIRAM>0</hadIRAM>
|
||||
<hadIRAM>1</hadIRAM>
|
||||
<hadXRAM>0</hadXRAM>
|
||||
<uocXRam>0</uocXRam>
|
||||
<RvdsVP>0</RvdsVP>
|
||||
<RvdsMve>0</RvdsMve>
|
||||
<hadIRAM2>0</hadIRAM2>
|
||||
<hadIROM2>0</hadIROM2>
|
||||
<StupSel>0</StupSel>
|
||||
<useUlib>0</useUlib>
|
||||
<EndSel>0</EndSel>
|
||||
<uLtcg>0</uLtcg>
|
||||
<nSecure>0</nSecure>
|
||||
<RoSelD>3</RoSelD>
|
||||
<RwSelD>3</RwSelD>
|
||||
<CodeSel>0</CodeSel>
|
||||
@@ -267,8 +282,8 @@
|
||||
</Ocm6>
|
||||
<IRAM>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x200000</StartAddress>
|
||||
<Size>0x1000</Size>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x1</Size>
|
||||
</IRAM>
|
||||
<IROM>
|
||||
<Type>1</Type>
|
||||
@@ -323,7 +338,7 @@
|
||||
<OCR_RVCT9>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
<Size>0x1</Size>
|
||||
</OCR_RVCT9>
|
||||
<OCR_RVCT10>
|
||||
<Type>0</Type>
|
||||
@@ -347,6 +362,16 @@
|
||||
<wLevel>2</wLevel>
|
||||
<uThumb>0</uThumb>
|
||||
<uSurpInc>0</uSurpInc>
|
||||
<uC99>0</uC99>
|
||||
<uGnu>0</uGnu>
|
||||
<useXO>0</useXO>
|
||||
<v6Lang>1</v6Lang>
|
||||
<v6LangP>1</v6LangP>
|
||||
<vShortEn>1</vShortEn>
|
||||
<vShortWch>1</vShortWch>
|
||||
<v6Lto>0</v6Lto>
|
||||
<v6WtE>0</v6WtE>
|
||||
<v6Rtti>0</v6Rtti>
|
||||
<VariousControls>
|
||||
<MiscControls>--c99</MiscControls>
|
||||
<Define>RT_USING_INTERRUPT_INFO</Define>
|
||||
@@ -363,6 +388,8 @@
|
||||
<SwStkChk>0</SwStkChk>
|
||||
<NoWarn>0</NoWarn>
|
||||
<uSurpInc>0</uSurpInc>
|
||||
<useXO>0</useXO>
|
||||
<uClangAs>0</uClangAs>
|
||||
<VariousControls>
|
||||
<MiscControls></MiscControls>
|
||||
<Define></Define>
|
||||
@@ -379,6 +406,7 @@
|
||||
<useFile>0</useFile>
|
||||
<TextAddressRange>0x20000000</TextAddressRange>
|
||||
<DataAddressRange>0x20800000</DataAddressRange>
|
||||
<pXoBase></pXoBase>
|
||||
<ScatterFile>.\linking_scripts\nuc980.sct</ScatterFile>
|
||||
<IncludeLibs></IncludeLibs>
|
||||
<IncludeLibsPath></IncludeLibsPath>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -43,13 +43,13 @@ Nuvoton offers HMI platforms which are embedded with Nuvoton N9H MPU. The N9H s
|
||||
|SPI NOR flash | W25Q256JVEQ (32 MB) | Supported |
|
||||
|
||||
## 2. Supported compiler
|
||||
Support GCC, MDK4 and MDK5 IDE/compilers. More information of these compiler version as following:
|
||||
Support GCC and MDK IDE/compilers. More information of these compiler version as following:
|
||||
| IDE/Compiler | Tested version |
|
||||
| ---------- | ---------------------------- |
|
||||
| MDK5 | 5.26.2 |
|
||||
| MDK | uVision 5.25.2 |
|
||||
| GCC | 6-2017-q1-update |
|
||||
|
||||
Notice: Please install ICE driver for development.
|
||||
Notice: Please install ICE driver for development and [NuMicro_ARM9_Device_Database_Keil](https://www.nuvoton.com/resource-download.jsp?tp_GUID=SW1820201207155701).
|
||||
|
||||
## 3. Program firmware
|
||||
### 3.1 SDRAM Downloading using NuWriter
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
|
||||
#include "rtconfig.h"
|
||||
|
||||
#define LV_VERSION_EQUAL(x,y,z) (x == LVGL_VERSION_MAJOR && y==LVGL_VERSION_MINOR && z==LVGL_VERSION_PATCH )
|
||||
|
||||
//#define LV_USE_GPU_N9H30_GE2D 1
|
||||
|
||||
#define LV_COLOR_DEPTH BSP_LCD_BPP
|
||||
@@ -23,8 +25,13 @@
|
||||
#define LV_FONT_MONTSERRAT_16 1
|
||||
#define LV_USE_PERF_MONITOR 1
|
||||
|
||||
#if LV_VERSION_EQUAL(8, 1, 0)
|
||||
#define LV_USE_DEMO_RTT_MUSIC 1
|
||||
#define LV_DEMO_RTT_MUSIC_AUTO_PLAY 1
|
||||
#else
|
||||
#define LV_USE_DEMO_MUSIC 1
|
||||
#define LV_DEMO_MUSIC_AUTO_PLAY 1
|
||||
#endif
|
||||
|
||||
//#define LV_DISP_DEF_REFR_PERIOD 16
|
||||
|
||||
|
||||
@@ -135,6 +135,7 @@ static void nu_flush(lv_disp_drv_t *disp_drv, const lv_area_t *area, lv_color_t
|
||||
lv_disp_flush_ready(disp_drv);
|
||||
}
|
||||
|
||||
#if LV_VERSION_EQUAL(8, 1, 0)
|
||||
static void nu_fill_cb(struct _lv_disp_drv_t *disp_drv, lv_color_t *dest_buf, lv_coord_t dest_width,
|
||||
const lv_area_t *fill_area, lv_color_t color)
|
||||
{
|
||||
@@ -185,6 +186,7 @@ static void nu_fill_cb(struct _lv_disp_drv_t *disp_drv, lv_color_t *dest_buf, lv
|
||||
// -> Leave GE2D
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void nu_perf_monitor(struct _lv_disp_drv_t *disp_drv, uint32_t time, uint32_t px)
|
||||
{
|
||||
@@ -271,8 +273,10 @@ void lv_port_disp_init(void)
|
||||
/*Set a display buffer*/
|
||||
disp_drv.draw_buf = &disp_buf;
|
||||
|
||||
#if LV_VERSION_EQUAL(8, 1, 0)
|
||||
/*Fill a memory with a color (GPU only)*/
|
||||
disp_drv.gpu_fill_cb = nu_fill_cb;
|
||||
#endif
|
||||
|
||||
/*Called after every refresh cycle to tell the rendering and flushing time + the number of flushed pixels*/
|
||||
//disp_drv.monitor_cb = nu_perf_monitor;
|
||||
|
||||
@@ -59,14 +59,8 @@
|
||||
#define RT_USING_USER_MAIN
|
||||
#define RT_MAIN_THREAD_STACK_SIZE 2048
|
||||
#define RT_MAIN_THREAD_PRIORITY 10
|
||||
|
||||
/* C++ features */
|
||||
|
||||
|
||||
/* Command shell */
|
||||
|
||||
#define RT_USING_FINSH
|
||||
#define RT_USING_MSH
|
||||
#define RT_USING_FINSH
|
||||
#define FINSH_USING_MSH
|
||||
#define FINSH_THREAD_NAME "tshell"
|
||||
#define FINSH_THREAD_PRIORITY 20
|
||||
@@ -78,9 +72,6 @@
|
||||
#define MSH_USING_BUILT_IN_COMMANDS
|
||||
#define FINSH_USING_DESCRIPTION
|
||||
#define FINSH_ARG_MAX 10
|
||||
|
||||
/* Device virtual file system */
|
||||
|
||||
#define RT_USING_DFS
|
||||
#define DFS_USING_POSIX
|
||||
#define DFS_USING_WORKDIR
|
||||
@@ -104,6 +95,12 @@
|
||||
#define RT_DFS_ELM_REENTRANT
|
||||
#define RT_DFS_ELM_MUTEX_TIMEOUT 3000
|
||||
#define RT_USING_DFS_DEVFS
|
||||
#define RT_USING_FAL
|
||||
#define FAL_DEBUG_CONFIG
|
||||
#define FAL_DEBUG 1
|
||||
#define FAL_PART_HAS_TABLE_CFG
|
||||
#define FAL_USING_SFUD_PORT
|
||||
#define FAL_USING_NOR_FLASH_DEV_NAME "norflash0"
|
||||
|
||||
/* Device Drivers */
|
||||
|
||||
@@ -160,7 +157,7 @@
|
||||
#define RT_VCOM_TX_TIMEOUT 1000
|
||||
#define RT_USB_MSTORAGE_DISK_NAME "ramdisk1"
|
||||
|
||||
/* POSIX layer and C standard library */
|
||||
/* C/C++ and POSIX layer */
|
||||
|
||||
#define RT_LIBC_DEFAULT_TIMEZONE 8
|
||||
|
||||
@@ -176,9 +173,8 @@
|
||||
|
||||
/* Socket is in the 'Network' category */
|
||||
|
||||
/* Network */
|
||||
|
||||
/* Socket abstraction layer */
|
||||
/* Network */
|
||||
|
||||
#define RT_USING_SAL
|
||||
#define SAL_INTERNET_CHECK
|
||||
@@ -187,9 +183,6 @@
|
||||
|
||||
#define SAL_USING_LWIP
|
||||
#define SAL_USING_POSIX
|
||||
|
||||
/* Network interface device */
|
||||
|
||||
#define RT_USING_NETDEV
|
||||
#define NETDEV_USING_IFCONFIG
|
||||
#define NETDEV_USING_PING
|
||||
@@ -197,11 +190,9 @@
|
||||
#define NETDEV_USING_AUTO_DEFAULT
|
||||
#define NETDEV_IPV4 1
|
||||
#define NETDEV_IPV6 0
|
||||
|
||||
/* light weight TCP/IP stack */
|
||||
|
||||
#define RT_USING_LWIP
|
||||
#define RT_USING_LWIP203
|
||||
#define RT_USING_LWIP_VER_NUM 0x20003
|
||||
#define RT_LWIP_MEM_ALIGNMENT 4
|
||||
#define RT_LWIP_IGMP
|
||||
#define RT_LWIP_ICMP
|
||||
@@ -244,12 +235,6 @@
|
||||
#define RT_LWIP_STATS
|
||||
#define RT_LWIP_USING_PING
|
||||
|
||||
/* AT commands */
|
||||
|
||||
|
||||
/* VBUS(Virtual Software BUS) */
|
||||
|
||||
|
||||
/* Utilities */
|
||||
|
||||
#define RT_USING_UTEST
|
||||
@@ -280,6 +265,11 @@
|
||||
|
||||
/* language packages */
|
||||
|
||||
/* JSON: JavaScript Object Notation, a lightweight data-interchange format */
|
||||
|
||||
|
||||
/* XML: Extensible Markup Language */
|
||||
|
||||
|
||||
/* multimedia packages */
|
||||
|
||||
@@ -315,14 +305,6 @@
|
||||
|
||||
/* Micrium: Micrium software products porting for RT-Thread */
|
||||
|
||||
#define RT_USING_FAL
|
||||
#define FAL_DEBUG_CONFIG
|
||||
#define FAL_DEBUG 1
|
||||
#define FAL_PART_HAS_TABLE_CFG
|
||||
#define FAL_USING_SFUD_PORT
|
||||
#define FAL_USING_NOR_FLASH_DEV_NAME "norflash0"
|
||||
#define RT_USING_FAL_LATEST_VERSION
|
||||
#define PKG_FAL_VER_NUM 0x99999
|
||||
#define PKG_USING_RAMDISK
|
||||
#define PKG_USING_RAMDISK_LATEST_VERSION
|
||||
|
||||
@@ -334,6 +316,8 @@
|
||||
|
||||
/* miscellaneous packages */
|
||||
|
||||
/* project laboratory */
|
||||
|
||||
/* samples: kernel and components samples */
|
||||
|
||||
|
||||
@@ -420,7 +404,6 @@
|
||||
|
||||
#define NU_PKG_USING_UTILS
|
||||
#define NU_PKG_USING_NAU8822
|
||||
#define BOARD_USE_UTEST
|
||||
#define UTEST_CMD_PREFIX "bsp.nuvoton.nk-n9h30.test.utest."
|
||||
#define NU_PKG_USING_ADC_TOUCH
|
||||
|
||||
#endif
|
||||
|
||||
@@ -10,11 +10,13 @@
|
||||
<TargetName>rtthread</TargetName>
|
||||
<ToolsetNumber>0x4</ToolsetNumber>
|
||||
<ToolsetName>ARM-ADS</ToolsetName>
|
||||
<pCCUsed>5060750::V5.06 update 6 (build 750)::ARMCC</pCCUsed>
|
||||
<uAC6>0</uAC6>
|
||||
<TargetOption>
|
||||
<TargetCommonOption>
|
||||
<Device>Nuvoton_ARM9_Series</Device>
|
||||
<Vendor>Nuvoton</Vendor>
|
||||
<Cpu></Cpu>
|
||||
<Cpu>IRAM(0x0-0x0) CLOCK(000000000) CPUTYPE(ARM926EJ-S)</Cpu>
|
||||
<FlashUtilSpec></FlashUtilSpec>
|
||||
<StartupFile></StartupFile>
|
||||
<FlashDriverDll></FlashDriverDll>
|
||||
@@ -30,6 +32,7 @@
|
||||
<SLE66AMisc></SLE66AMisc>
|
||||
<SLE66LinkerMisc></SLE66LinkerMisc>
|
||||
<SFDFile></SFDFile>
|
||||
<bCustSvd>0</bCustSvd>
|
||||
<UseEnv>0</UseEnv>
|
||||
<BinPath></BinPath>
|
||||
<IncludePath></IncludePath>
|
||||
@@ -43,7 +46,7 @@
|
||||
<NotGenerated>0</NotGenerated>
|
||||
<InvalidFlash>1</InvalidFlash>
|
||||
</TargetStatus>
|
||||
<OutputDirectory>.\Objects\</OutputDirectory>
|
||||
<OutputDirectory>.\build\keil4\</OutputDirectory>
|
||||
<OutputName>rtthread</OutputName>
|
||||
<CreateExecutable>1</CreateExecutable>
|
||||
<CreateLib>0</CreateLib>
|
||||
@@ -71,14 +74,18 @@
|
||||
<UserProg2Name></UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopB1X>0</nStopB1X>
|
||||
<nStopB2X>0</nStopB2X>
|
||||
</BeforeMake>
|
||||
<AfterMake>
|
||||
<RunUserProg1>0</RunUserProg1>
|
||||
<RunUserProg1>1</RunUserProg1>
|
||||
<RunUserProg2>0</RunUserProg2>
|
||||
<UserProg1Name></UserProg1Name>
|
||||
<UserProg1Name>fromelf.exe --bin --output "$L@L.bin" "$L@L.axf"</UserProg1Name>
|
||||
<UserProg2Name></UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopA1X>0</nStopA1X>
|
||||
<nStopA2X>0</nStopA2X>
|
||||
</AfterMake>
|
||||
<SelectedForBatchBuild>0</SelectedForBatchBuild>
|
||||
<SVCSIdString></SVCSIdString>
|
||||
@@ -97,6 +104,7 @@
|
||||
<StopOnExitCode>3</StopOnExitCode>
|
||||
<CustomArgument></CustomArgument>
|
||||
<IncludeLibraryModules></IncludeLibraryModules>
|
||||
<ComprImg>1</ComprImg>
|
||||
</CommonProperty>
|
||||
<DllOption>
|
||||
<SimDllName>SARM.DLL</SimDllName>
|
||||
@@ -126,6 +134,7 @@
|
||||
<RestoreFunctions>1</RestoreFunctions>
|
||||
<RestoreToolbox>1</RestoreToolbox>
|
||||
<LimitSpeedToRealTime>0</LimitSpeedToRealTime>
|
||||
<RestoreSysVw>1</RestoreSysVw>
|
||||
</Simulator>
|
||||
<Target>
|
||||
<UseTarget>1</UseTarget>
|
||||
@@ -137,9 +146,10 @@
|
||||
<RestoreFunctions>0</RestoreFunctions>
|
||||
<RestoreToolbox>1</RestoreToolbox>
|
||||
<RestoreTracepoints>1</RestoreTracepoints>
|
||||
<RestoreSysVw>1</RestoreSysVw>
|
||||
</Target>
|
||||
<RunDebugAfterBuild>0</RunDebugAfterBuild>
|
||||
<TargetSelection>6</TargetSelection>
|
||||
<TargetSelection>18</TargetSelection>
|
||||
<SimDlls>
|
||||
<CpuDll></CpuDll>
|
||||
<CpuDllArguments></CpuDllArguments>
|
||||
@@ -152,7 +162,7 @@
|
||||
<CpuDllArguments></CpuDllArguments>
|
||||
<PeripheralDll></PeripheralDll>
|
||||
<PeripheralDllArguments></PeripheralDllArguments>
|
||||
<InitializationFile>..\libraries\nuc980\Script\NUC980xx61.ini</InitializationFile>
|
||||
<InitializationFile>..\libraries\n9h30\Script\InitDDR2.ini</InitializationFile>
|
||||
<Driver>Segger\JLTAgdi.dll</Driver>
|
||||
</TargetDlls>
|
||||
</DebugOption>
|
||||
@@ -167,8 +177,12 @@
|
||||
</Flash1>
|
||||
<bUseTDR>0</bUseTDR>
|
||||
<Flash2>Segger\JLTAgdi.dll</Flash2>
|
||||
<Flash3>"" ()</Flash3>
|
||||
<Flash3></Flash3>
|
||||
<Flash4></Flash4>
|
||||
<pFcarmOut></pFcarmOut>
|
||||
<pFcarmGrp></pFcarmGrp>
|
||||
<pFcArmRoot></pFcArmRoot>
|
||||
<FcArmLst>0</FcArmLst>
|
||||
</Utilities>
|
||||
<TargetArmAds>
|
||||
<ArmAdsMisc>
|
||||
@@ -199,22 +213,24 @@
|
||||
<AdsLsxf>1</AdsLsxf>
|
||||
<RvctClst>0</RvctClst>
|
||||
<GenPPlst>0</GenPPlst>
|
||||
<AdsCpuType></AdsCpuType>
|
||||
<AdsCpuType>ARM926EJ-S</AdsCpuType>
|
||||
<RvctDeviceName></RvctDeviceName>
|
||||
<mOS>0</mOS>
|
||||
<uocRom>0</uocRom>
|
||||
<uocRam>0</uocRam>
|
||||
<hadIROM>0</hadIROM>
|
||||
<hadIRAM>0</hadIRAM>
|
||||
<hadIRAM>1</hadIRAM>
|
||||
<hadXRAM>0</hadXRAM>
|
||||
<uocXRam>0</uocXRam>
|
||||
<RvdsVP>0</RvdsVP>
|
||||
<RvdsMve>0</RvdsMve>
|
||||
<hadIRAM2>0</hadIRAM2>
|
||||
<hadIROM2>0</hadIROM2>
|
||||
<StupSel>0</StupSel>
|
||||
<useUlib>0</useUlib>
|
||||
<EndSel>0</EndSel>
|
||||
<uLtcg>0</uLtcg>
|
||||
<nSecure>0</nSecure>
|
||||
<RoSelD>3</RoSelD>
|
||||
<RwSelD>3</RwSelD>
|
||||
<CodeSel>0</CodeSel>
|
||||
@@ -267,8 +283,8 @@
|
||||
</Ocm6>
|
||||
<IRAM>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x200000</StartAddress>
|
||||
<Size>0x1000</Size>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x1</Size>
|
||||
</IRAM>
|
||||
<IROM>
|
||||
<Type>1</Type>
|
||||
@@ -323,7 +339,7 @@
|
||||
<OCR_RVCT9>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
<Size>0x1</Size>
|
||||
</OCR_RVCT9>
|
||||
<OCR_RVCT10>
|
||||
<Type>0</Type>
|
||||
@@ -347,6 +363,16 @@
|
||||
<wLevel>2</wLevel>
|
||||
<uThumb>0</uThumb>
|
||||
<uSurpInc>0</uSurpInc>
|
||||
<uC99>0</uC99>
|
||||
<uGnu>0</uGnu>
|
||||
<useXO>0</useXO>
|
||||
<v6Lang>1</v6Lang>
|
||||
<v6LangP>1</v6LangP>
|
||||
<vShortEn>1</vShortEn>
|
||||
<vShortWch>1</vShortWch>
|
||||
<v6Lto>0</v6Lto>
|
||||
<v6WtE>0</v6WtE>
|
||||
<v6Rtti>0</v6Rtti>
|
||||
<VariousControls>
|
||||
<MiscControls>--c99</MiscControls>
|
||||
<Define>RT_USING_INTERRUPT_INFO</Define>
|
||||
@@ -363,6 +389,8 @@
|
||||
<SwStkChk>0</SwStkChk>
|
||||
<NoWarn>0</NoWarn>
|
||||
<uSurpInc>0</uSurpInc>
|
||||
<useXO>0</useXO>
|
||||
<uClangAs>0</uClangAs>
|
||||
<VariousControls>
|
||||
<MiscControls></MiscControls>
|
||||
<Define></Define>
|
||||
@@ -379,6 +407,7 @@
|
||||
<useFile>0</useFile>
|
||||
<TextAddressRange>0x20000000</TextAddressRange>
|
||||
<DataAddressRange>0x20800000</DataAddressRange>
|
||||
<pXoBase></pXoBase>
|
||||
<ScatterFile>.\linking_scripts\n9h30.sct</ScatterFile>
|
||||
<IncludeLibs></IncludeLibs>
|
||||
<IncludeLibsPath></IncludeLibsPath>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -44,15 +44,13 @@ NuMaker-RTU-NUC980, also known as Chili, is a Nuvoton’s development platform t
|
||||
|VCOM | For console | Ready.(Need to install VCOM driver) |
|
||||
|
||||
## 2. Supported compiler
|
||||
Support GCC, MDK4 and MDK5 IDE/compilers. More information of these compiler version as following:
|
||||
|
||||
Support GCC and MDK IDE/compilers. More information of these compiler version as following:
|
||||
| IDE/Compiler | Tested version |
|
||||
| ---------- | ---------------------------- |
|
||||
| MDK4 | 4.76 |
|
||||
| MDK5 | 5.26.2 |
|
||||
| GCC | GCC 5.4.1 20160919 (release) |
|
||||
| MDK | uVision 5.25.2 |
|
||||
| GCC | 6-2017-q1-update |
|
||||
|
||||
Notice: Please install ICE driver for development.
|
||||
Notice: Please install ICE driver for development and [NuMicro_ARM9_Device_Database_Keil](https://www.nuvoton.com/resource-download.jsp?tp_GUID=SW1820201207155701).
|
||||
|
||||
## 3. Program firmware
|
||||
### 3.1 SDRAM Downloading using NuWriter
|
||||
|
||||
@@ -58,14 +58,8 @@
|
||||
#define RT_USING_USER_MAIN
|
||||
#define RT_MAIN_THREAD_STACK_SIZE 2048
|
||||
#define RT_MAIN_THREAD_PRIORITY 10
|
||||
|
||||
/* C++ features */
|
||||
|
||||
|
||||
/* Command shell */
|
||||
|
||||
#define RT_USING_FINSH
|
||||
#define RT_USING_MSH
|
||||
#define RT_USING_FINSH
|
||||
#define FINSH_USING_MSH
|
||||
#define FINSH_THREAD_NAME "tshell"
|
||||
#define FINSH_THREAD_PRIORITY 20
|
||||
@@ -77,9 +71,6 @@
|
||||
#define MSH_USING_BUILT_IN_COMMANDS
|
||||
#define FINSH_USING_DESCRIPTION
|
||||
#define FINSH_ARG_MAX 10
|
||||
|
||||
/* Device virtual file system */
|
||||
|
||||
#define RT_USING_DFS
|
||||
#define DFS_USING_POSIX
|
||||
#define DFS_USING_WORKDIR
|
||||
@@ -103,6 +94,12 @@
|
||||
#define RT_DFS_ELM_REENTRANT
|
||||
#define RT_DFS_ELM_MUTEX_TIMEOUT 3000
|
||||
#define RT_USING_DFS_DEVFS
|
||||
#define RT_USING_FAL
|
||||
#define FAL_DEBUG_CONFIG
|
||||
#define FAL_DEBUG 1
|
||||
#define FAL_PART_HAS_TABLE_CFG
|
||||
#define FAL_USING_SFUD_PORT
|
||||
#define FAL_USING_NOR_FLASH_DEV_NAME "norflash0"
|
||||
|
||||
/* Device Drivers */
|
||||
|
||||
@@ -171,7 +168,7 @@
|
||||
#define RT_VCOM_TX_TIMEOUT 1000
|
||||
#define RT_USB_MSTORAGE_DISK_NAME "ramdisk1"
|
||||
|
||||
/* POSIX layer and C standard library */
|
||||
/* C/C++ and POSIX layer */
|
||||
|
||||
#define RT_LIBC_DEFAULT_TIMEZONE 8
|
||||
|
||||
@@ -187,9 +184,8 @@
|
||||
|
||||
/* Socket is in the 'Network' category */
|
||||
|
||||
/* Network */
|
||||
|
||||
/* Socket abstraction layer */
|
||||
/* Network */
|
||||
|
||||
#define RT_USING_SAL
|
||||
|
||||
@@ -197,9 +193,6 @@
|
||||
|
||||
#define SAL_USING_LWIP
|
||||
#define SAL_USING_POSIX
|
||||
|
||||
/* Network interface device */
|
||||
|
||||
#define RT_USING_NETDEV
|
||||
#define NETDEV_USING_IFCONFIG
|
||||
#define NETDEV_USING_PING
|
||||
@@ -207,11 +200,9 @@
|
||||
#define NETDEV_USING_AUTO_DEFAULT
|
||||
#define NETDEV_IPV4 1
|
||||
#define NETDEV_IPV6 0
|
||||
|
||||
/* light weight TCP/IP stack */
|
||||
|
||||
#define RT_USING_LWIP
|
||||
#define RT_USING_LWIP212
|
||||
#define RT_USING_LWIP_VER_NUM 0x20102
|
||||
#define RT_LWIP_MEM_ALIGNMENT 4
|
||||
#define RT_LWIP_IGMP
|
||||
#define RT_LWIP_ICMP
|
||||
@@ -255,12 +246,6 @@
|
||||
#define RT_LWIP_STATS
|
||||
#define RT_LWIP_USING_PING
|
||||
|
||||
/* AT commands */
|
||||
|
||||
|
||||
/* VBUS(Virtual Software BUS) */
|
||||
|
||||
|
||||
/* Utilities */
|
||||
|
||||
#define RT_USING_UTEST
|
||||
@@ -303,6 +288,11 @@
|
||||
|
||||
/* language packages */
|
||||
|
||||
/* JSON: JavaScript Object Notation, a lightweight data-interchange format */
|
||||
|
||||
|
||||
/* XML: Extensible Markup Language */
|
||||
|
||||
|
||||
/* multimedia packages */
|
||||
|
||||
@@ -334,14 +324,6 @@
|
||||
|
||||
/* Micrium: Micrium software products porting for RT-Thread */
|
||||
|
||||
#define RT_USING_FAL
|
||||
#define FAL_DEBUG_CONFIG
|
||||
#define FAL_DEBUG 1
|
||||
#define FAL_PART_HAS_TABLE_CFG
|
||||
#define FAL_USING_SFUD_PORT
|
||||
#define FAL_USING_NOR_FLASH_DEV_NAME "norflash0"
|
||||
#define RT_USING_FAL_LATEST_VERSION
|
||||
#define PKG_FAL_VER_NUM 0x99999
|
||||
#define PKG_USING_RAMDISK
|
||||
#define PKG_USING_RAMDISK_LATEST_VERSION
|
||||
|
||||
@@ -353,6 +335,8 @@
|
||||
|
||||
/* miscellaneous packages */
|
||||
|
||||
/* project laboratory */
|
||||
|
||||
/* samples: kernel and components samples */
|
||||
|
||||
|
||||
@@ -429,7 +413,5 @@
|
||||
|
||||
#define NU_PKG_USING_UTILS
|
||||
#define NU_PKG_USING_DEMO
|
||||
#define BOARD_USE_UTEST
|
||||
#define UTEST_CMD_PREFIX "bsp.nuvoton.nk-rtu980.test.utest."
|
||||
|
||||
#endif
|
||||
|
||||
@@ -10,11 +10,13 @@
|
||||
<TargetName>rtthread</TargetName>
|
||||
<ToolsetNumber>0x4</ToolsetNumber>
|
||||
<ToolsetName>ARM-ADS</ToolsetName>
|
||||
<pCCUsed>5060750::V5.06 update 6 (build 750)::ARMCC</pCCUsed>
|
||||
<uAC6>0</uAC6>
|
||||
<TargetOption>
|
||||
<TargetCommonOption>
|
||||
<Device>Nuvoton_ARM9_Series</Device>
|
||||
<Vendor>Nuvoton</Vendor>
|
||||
<Cpu></Cpu>
|
||||
<Cpu>IRAM(0x0-0x0) CLOCK(000000000) CPUTYPE(ARM926EJ-S)</Cpu>
|
||||
<FlashUtilSpec></FlashUtilSpec>
|
||||
<StartupFile></StartupFile>
|
||||
<FlashDriverDll></FlashDriverDll>
|
||||
@@ -30,6 +32,7 @@
|
||||
<SLE66AMisc></SLE66AMisc>
|
||||
<SLE66LinkerMisc></SLE66LinkerMisc>
|
||||
<SFDFile></SFDFile>
|
||||
<bCustSvd>0</bCustSvd>
|
||||
<UseEnv>0</UseEnv>
|
||||
<BinPath></BinPath>
|
||||
<IncludePath></IncludePath>
|
||||
@@ -43,14 +46,14 @@
|
||||
<NotGenerated>0</NotGenerated>
|
||||
<InvalidFlash>1</InvalidFlash>
|
||||
</TargetStatus>
|
||||
<OutputDirectory>.\Objects\</OutputDirectory>
|
||||
<OutputDirectory>.\build\keil4\</OutputDirectory>
|
||||
<OutputName>rtthread</OutputName>
|
||||
<CreateExecutable>1</CreateExecutable>
|
||||
<CreateLib>0</CreateLib>
|
||||
<CreateHexFile>0</CreateHexFile>
|
||||
<DebugInformation>1</DebugInformation>
|
||||
<BrowseInformation>1</BrowseInformation>
|
||||
<ListingPath>.\Listings\</ListingPath>
|
||||
<ListingPath>.\build\keil4\</ListingPath>
|
||||
<HexFormatSelection>1</HexFormatSelection>
|
||||
<Merge32K>0</Merge32K>
|
||||
<CreateBatchFile>0</CreateBatchFile>
|
||||
@@ -71,14 +74,18 @@
|
||||
<UserProg2Name></UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopB1X>0</nStopB1X>
|
||||
<nStopB2X>0</nStopB2X>
|
||||
</BeforeMake>
|
||||
<AfterMake>
|
||||
<RunUserProg1>0</RunUserProg1>
|
||||
<RunUserProg1>1</RunUserProg1>
|
||||
<RunUserProg2>0</RunUserProg2>
|
||||
<UserProg1Name></UserProg1Name>
|
||||
<UserProg1Name>fromelf.exe --bin --output "$L@L.bin" "$L@L.axf"</UserProg1Name>
|
||||
<UserProg2Name></UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopA1X>0</nStopA1X>
|
||||
<nStopA2X>0</nStopA2X>
|
||||
</AfterMake>
|
||||
<SelectedForBatchBuild>0</SelectedForBatchBuild>
|
||||
<SVCSIdString></SVCSIdString>
|
||||
@@ -97,6 +104,7 @@
|
||||
<StopOnExitCode>3</StopOnExitCode>
|
||||
<CustomArgument></CustomArgument>
|
||||
<IncludeLibraryModules></IncludeLibraryModules>
|
||||
<ComprImg>1</ComprImg>
|
||||
</CommonProperty>
|
||||
<DllOption>
|
||||
<SimDllName>SARM.DLL</SimDllName>
|
||||
@@ -118,7 +126,7 @@
|
||||
</OPTHX>
|
||||
<Simulator>
|
||||
<UseSimulator>0</UseSimulator>
|
||||
<LoadApplicationAtStartup>1</LoadApplicationAtStartup>
|
||||
<LoadApplicationAtStartup>0</LoadApplicationAtStartup>
|
||||
<RunToMain>1</RunToMain>
|
||||
<RestoreBreakpoints>1</RestoreBreakpoints>
|
||||
<RestoreWatchpoints>1</RestoreWatchpoints>
|
||||
@@ -126,10 +134,11 @@
|
||||
<RestoreFunctions>1</RestoreFunctions>
|
||||
<RestoreToolbox>1</RestoreToolbox>
|
||||
<LimitSpeedToRealTime>0</LimitSpeedToRealTime>
|
||||
<RestoreSysVw>1</RestoreSysVw>
|
||||
</Simulator>
|
||||
<Target>
|
||||
<UseTarget>1</UseTarget>
|
||||
<LoadApplicationAtStartup>0</LoadApplicationAtStartup>
|
||||
<LoadApplicationAtStartup>1</LoadApplicationAtStartup>
|
||||
<RunToMain>0</RunToMain>
|
||||
<RestoreBreakpoints>1</RestoreBreakpoints>
|
||||
<RestoreWatchpoints>1</RestoreWatchpoints>
|
||||
@@ -137,9 +146,10 @@
|
||||
<RestoreFunctions>0</RestoreFunctions>
|
||||
<RestoreToolbox>1</RestoreToolbox>
|
||||
<RestoreTracepoints>1</RestoreTracepoints>
|
||||
<RestoreSysVw>1</RestoreSysVw>
|
||||
</Target>
|
||||
<RunDebugAfterBuild>0</RunDebugAfterBuild>
|
||||
<TargetSelection>6</TargetSelection>
|
||||
<TargetSelection>18</TargetSelection>
|
||||
<SimDlls>
|
||||
<CpuDll></CpuDll>
|
||||
<CpuDllArguments></CpuDllArguments>
|
||||
@@ -167,8 +177,12 @@
|
||||
</Flash1>
|
||||
<bUseTDR>0</bUseTDR>
|
||||
<Flash2>Segger\JLTAgdi.dll</Flash2>
|
||||
<Flash3>"" ()</Flash3>
|
||||
<Flash3></Flash3>
|
||||
<Flash4></Flash4>
|
||||
<pFcarmOut></pFcarmOut>
|
||||
<pFcarmGrp></pFcarmGrp>
|
||||
<pFcArmRoot></pFcArmRoot>
|
||||
<FcArmLst>0</FcArmLst>
|
||||
</Utilities>
|
||||
<TargetArmAds>
|
||||
<ArmAdsMisc>
|
||||
@@ -199,22 +213,24 @@
|
||||
<AdsLsxf>1</AdsLsxf>
|
||||
<RvctClst>0</RvctClst>
|
||||
<GenPPlst>0</GenPPlst>
|
||||
<AdsCpuType></AdsCpuType>
|
||||
<AdsCpuType>ARM926EJ-S</AdsCpuType>
|
||||
<RvctDeviceName></RvctDeviceName>
|
||||
<mOS>0</mOS>
|
||||
<uocRom>0</uocRom>
|
||||
<uocRam>0</uocRam>
|
||||
<hadIROM>0</hadIROM>
|
||||
<hadIRAM>0</hadIRAM>
|
||||
<hadIRAM>1</hadIRAM>
|
||||
<hadXRAM>0</hadXRAM>
|
||||
<uocXRam>0</uocXRam>
|
||||
<RvdsVP>0</RvdsVP>
|
||||
<RvdsMve>0</RvdsMve>
|
||||
<hadIRAM2>0</hadIRAM2>
|
||||
<hadIROM2>0</hadIROM2>
|
||||
<StupSel>0</StupSel>
|
||||
<useUlib>0</useUlib>
|
||||
<EndSel>0</EndSel>
|
||||
<uLtcg>0</uLtcg>
|
||||
<nSecure>0</nSecure>
|
||||
<RoSelD>3</RoSelD>
|
||||
<RwSelD>3</RwSelD>
|
||||
<CodeSel>0</CodeSel>
|
||||
@@ -267,8 +283,8 @@
|
||||
</Ocm6>
|
||||
<IRAM>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x200000</StartAddress>
|
||||
<Size>0x1000</Size>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x1</Size>
|
||||
</IRAM>
|
||||
<IROM>
|
||||
<Type>1</Type>
|
||||
@@ -323,7 +339,7 @@
|
||||
<OCR_RVCT9>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
<Size>0x1</Size>
|
||||
</OCR_RVCT9>
|
||||
<OCR_RVCT10>
|
||||
<Type>0</Type>
|
||||
@@ -347,6 +363,16 @@
|
||||
<wLevel>2</wLevel>
|
||||
<uThumb>0</uThumb>
|
||||
<uSurpInc>0</uSurpInc>
|
||||
<uC99>0</uC99>
|
||||
<uGnu>0</uGnu>
|
||||
<useXO>0</useXO>
|
||||
<v6Lang>1</v6Lang>
|
||||
<v6LangP>1</v6LangP>
|
||||
<vShortEn>1</vShortEn>
|
||||
<vShortWch>1</vShortWch>
|
||||
<v6Lto>0</v6Lto>
|
||||
<v6WtE>0</v6WtE>
|
||||
<v6Rtti>0</v6Rtti>
|
||||
<VariousControls>
|
||||
<MiscControls>--c99</MiscControls>
|
||||
<Define>RT_USING_INTERRUPT_INFO</Define>
|
||||
@@ -363,6 +389,8 @@
|
||||
<SwStkChk>0</SwStkChk>
|
||||
<NoWarn>0</NoWarn>
|
||||
<uSurpInc>0</uSurpInc>
|
||||
<useXO>0</useXO>
|
||||
<uClangAs>0</uClangAs>
|
||||
<VariousControls>
|
||||
<MiscControls></MiscControls>
|
||||
<Define></Define>
|
||||
@@ -379,6 +407,7 @@
|
||||
<useFile>0</useFile>
|
||||
<TextAddressRange>0x20000000</TextAddressRange>
|
||||
<DataAddressRange>0x20800000</DataAddressRange>
|
||||
<pXoBase></pXoBase>
|
||||
<ScatterFile>.\linking_scripts\nuc980.sct</ScatterFile>
|
||||
<IncludeLibs></IncludeLibs>
|
||||
<IncludeLibsPath></IncludeLibsPath>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -57,14 +57,8 @@
|
||||
#define RT_USING_USER_MAIN
|
||||
#define RT_MAIN_THREAD_STACK_SIZE 2048
|
||||
#define RT_MAIN_THREAD_PRIORITY 10
|
||||
|
||||
/* C++ features */
|
||||
|
||||
|
||||
/* Command shell */
|
||||
|
||||
#define RT_USING_FINSH
|
||||
#define RT_USING_MSH
|
||||
#define RT_USING_FINSH
|
||||
#define FINSH_USING_MSH
|
||||
#define FINSH_THREAD_NAME "tshell"
|
||||
#define FINSH_THREAD_PRIORITY 20
|
||||
@@ -76,9 +70,6 @@
|
||||
#define MSH_USING_BUILT_IN_COMMANDS
|
||||
#define FINSH_USING_DESCRIPTION
|
||||
#define FINSH_ARG_MAX 10
|
||||
|
||||
/* Device virtual file system */
|
||||
|
||||
#define RT_USING_DFS
|
||||
#define DFS_USING_POSIX
|
||||
#define DFS_USING_WORKDIR
|
||||
@@ -101,6 +92,10 @@
|
||||
#define RT_DFS_ELM_REENTRANT
|
||||
#define RT_DFS_ELM_MUTEX_TIMEOUT 3000
|
||||
#define RT_USING_DFS_DEVFS
|
||||
#define RT_USING_FAL
|
||||
#define FAL_DEBUG_CONFIG
|
||||
#define FAL_DEBUG 1
|
||||
#define FAL_PART_HAS_TABLE_CFG
|
||||
|
||||
/* Device Drivers */
|
||||
|
||||
@@ -178,7 +173,7 @@
|
||||
#define RT_USB_DEVICE_HID
|
||||
#define RT_USB_DEVICE_HID_MOUSE
|
||||
|
||||
/* POSIX layer and C standard library */
|
||||
/* C/C++ and POSIX layer */
|
||||
|
||||
#define RT_LIBC_DEFAULT_TIMEZONE 8
|
||||
|
||||
@@ -194,9 +189,8 @@
|
||||
|
||||
/* Socket is in the 'Network' category */
|
||||
|
||||
/* Network */
|
||||
|
||||
/* Socket abstraction layer */
|
||||
/* Network */
|
||||
|
||||
#define RT_USING_SAL
|
||||
#define SAL_INTERNET_CHECK
|
||||
@@ -205,9 +199,6 @@
|
||||
|
||||
#define SAL_USING_AT
|
||||
#define SAL_USING_POSIX
|
||||
|
||||
/* Network interface device */
|
||||
|
||||
#define RT_USING_NETDEV
|
||||
#define NETDEV_USING_IFCONFIG
|
||||
#define NETDEV_USING_PING
|
||||
@@ -215,12 +206,6 @@
|
||||
#define NETDEV_USING_AUTO_DEFAULT
|
||||
#define NETDEV_IPV4 1
|
||||
#define NETDEV_IPV6 0
|
||||
|
||||
/* light weight TCP/IP stack */
|
||||
|
||||
|
||||
/* AT commands */
|
||||
|
||||
#define RT_USING_AT
|
||||
#define AT_USING_CLIENT
|
||||
#define AT_CLIENT_NUM_MAX 1
|
||||
@@ -229,9 +214,6 @@
|
||||
#define AT_CMD_MAX_LEN 512
|
||||
#define AT_SW_VERSION_NUM 0x10301
|
||||
|
||||
/* VBUS(Virtual Software BUS) */
|
||||
|
||||
|
||||
/* Utilities */
|
||||
|
||||
#define RT_USING_UTEST
|
||||
@@ -268,6 +250,11 @@
|
||||
|
||||
/* language packages */
|
||||
|
||||
/* JSON: JavaScript Object Notation, a lightweight data-interchange format */
|
||||
|
||||
|
||||
/* XML: Extensible Markup Language */
|
||||
|
||||
|
||||
/* multimedia packages */
|
||||
|
||||
@@ -299,12 +286,6 @@
|
||||
|
||||
/* Micrium: Micrium software products porting for RT-Thread */
|
||||
|
||||
#define PKG_USING_FAL
|
||||
#define FAL_DEBUG_CONFIG
|
||||
#define FAL_DEBUG 1
|
||||
#define FAL_PART_HAS_TABLE_CFG
|
||||
#define PKG_USING_FAL_LATEST_VERSION
|
||||
#define PKG_FAL_VER_NUM 0x99999
|
||||
|
||||
/* peripheral libraries and drivers */
|
||||
|
||||
@@ -314,6 +295,8 @@
|
||||
|
||||
/* miscellaneous packages */
|
||||
|
||||
/* project laboratory */
|
||||
|
||||
/* samples: kernel and components samples */
|
||||
|
||||
|
||||
@@ -398,7 +381,5 @@
|
||||
#define NU_PKG_USING_DEMO
|
||||
#define NU_PKG_USING_BMX055
|
||||
#define NU_PKG_USING_NAU88L25
|
||||
#define BOARD_USE_UTEST
|
||||
#define UTEST_CMD_PREFIX "bsp.nuvoton.numaker-iot-m487.test.utest."
|
||||
|
||||
#endif
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -57,14 +57,8 @@
|
||||
#define RT_USING_USER_MAIN
|
||||
#define RT_MAIN_THREAD_STACK_SIZE 2048
|
||||
#define RT_MAIN_THREAD_PRIORITY 10
|
||||
|
||||
/* C++ features */
|
||||
|
||||
|
||||
/* Command shell */
|
||||
|
||||
#define RT_USING_FINSH
|
||||
#define RT_USING_MSH
|
||||
#define RT_USING_FINSH
|
||||
#define FINSH_USING_MSH
|
||||
#define FINSH_THREAD_NAME "tshell"
|
||||
#define FINSH_THREAD_PRIORITY 20
|
||||
@@ -76,9 +70,6 @@
|
||||
#define MSH_USING_BUILT_IN_COMMANDS
|
||||
#define FINSH_USING_DESCRIPTION
|
||||
#define FINSH_ARG_MAX 10
|
||||
|
||||
/* Device virtual file system */
|
||||
|
||||
#define RT_USING_DFS
|
||||
#define DFS_USING_POSIX
|
||||
#define DFS_USING_WORKDIR
|
||||
@@ -115,7 +106,7 @@
|
||||
#define RT_USB_DEVICE_HID
|
||||
#define RT_USB_DEVICE_HID_MOUSE
|
||||
|
||||
/* POSIX layer and C standard library */
|
||||
/* C/C++ and POSIX layer */
|
||||
|
||||
#define RT_LIBC_DEFAULT_TIMEZONE 8
|
||||
|
||||
@@ -127,22 +118,9 @@
|
||||
|
||||
/* Socket is in the 'Network' category */
|
||||
|
||||
|
||||
/* Network */
|
||||
|
||||
/* Socket abstraction layer */
|
||||
|
||||
|
||||
/* Network interface device */
|
||||
|
||||
|
||||
/* light weight TCP/IP stack */
|
||||
|
||||
|
||||
/* AT commands */
|
||||
|
||||
|
||||
/* VBUS(Virtual Software BUS) */
|
||||
|
||||
|
||||
/* Utilities */
|
||||
|
||||
@@ -186,6 +164,11 @@
|
||||
|
||||
/* language packages */
|
||||
|
||||
/* JSON: JavaScript Object Notation, a lightweight data-interchange format */
|
||||
|
||||
|
||||
/* XML: Extensible Markup Language */
|
||||
|
||||
|
||||
/* multimedia packages */
|
||||
|
||||
@@ -226,17 +209,14 @@
|
||||
|
||||
/* miscellaneous packages */
|
||||
|
||||
/* project laboratory */
|
||||
|
||||
/* samples: kernel and components samples */
|
||||
|
||||
|
||||
/* entertainment: terminal games and other interesting software packages */
|
||||
|
||||
|
||||
/* Nuvoton Packages Config */
|
||||
|
||||
#define NU_PKG_USING_UTILS
|
||||
#define NU_PKG_USING_DEMO
|
||||
|
||||
/* Hardware Drivers Config */
|
||||
|
||||
/* On-chip Peripheral Drivers */
|
||||
@@ -282,7 +262,10 @@
|
||||
|
||||
/* Board extended module drivers */
|
||||
|
||||
#define BOARD_USE_UTEST
|
||||
#define UTEST_CMD_PREFIX "bsp.nuvoton.numaker-m032ki.test.utest."
|
||||
|
||||
/* Nuvoton Packages Config */
|
||||
|
||||
#define NU_PKG_USING_UTILS
|
||||
#define NU_PKG_USING_DEMO
|
||||
|
||||
#endif
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -53,14 +53,8 @@
|
||||
#define RT_USING_USER_MAIN
|
||||
#define RT_MAIN_THREAD_STACK_SIZE 2048
|
||||
#define RT_MAIN_THREAD_PRIORITY 10
|
||||
|
||||
/* C++ features */
|
||||
|
||||
|
||||
/* Command shell */
|
||||
|
||||
#define RT_USING_FINSH
|
||||
#define RT_USING_MSH
|
||||
#define RT_USING_FINSH
|
||||
#define FINSH_USING_MSH
|
||||
#define FINSH_THREAD_NAME "tshell"
|
||||
#define FINSH_THREAD_PRIORITY 20
|
||||
@@ -72,9 +66,6 @@
|
||||
#define MSH_USING_BUILT_IN_COMMANDS
|
||||
#define FINSH_USING_DESCRIPTION
|
||||
#define FINSH_ARG_MAX 10
|
||||
|
||||
/* Device virtual file system */
|
||||
|
||||
#define RT_USING_DFS
|
||||
#define DFS_USING_POSIX
|
||||
#define DFS_USING_WORKDIR
|
||||
@@ -97,6 +88,10 @@
|
||||
#define RT_DFS_ELM_REENTRANT
|
||||
#define RT_DFS_ELM_MUTEX_TIMEOUT 3000
|
||||
#define RT_USING_DFS_DEVFS
|
||||
#define RT_USING_FAL
|
||||
#define FAL_DEBUG_CONFIG
|
||||
#define FAL_DEBUG 1
|
||||
#define FAL_PART_HAS_TABLE_CFG
|
||||
|
||||
/* Device Drivers */
|
||||
|
||||
@@ -176,7 +171,7 @@
|
||||
#define RT_USB_DEVICE_HID
|
||||
#define RT_USB_DEVICE_HID_MOUSE
|
||||
|
||||
/* POSIX layer and C standard library */
|
||||
/* C/C++ and POSIX layer */
|
||||
|
||||
#define RT_LIBC_DEFAULT_TIMEZONE 8
|
||||
|
||||
@@ -192,9 +187,8 @@
|
||||
|
||||
/* Socket is in the 'Network' category */
|
||||
|
||||
/* Network */
|
||||
|
||||
/* Socket abstraction layer */
|
||||
/* Network */
|
||||
|
||||
#define RT_USING_SAL
|
||||
#define SAL_INTERNET_CHECK
|
||||
@@ -203,9 +197,6 @@
|
||||
|
||||
#define SAL_USING_AT
|
||||
#define SAL_USING_POSIX
|
||||
|
||||
/* Network interface device */
|
||||
|
||||
#define RT_USING_NETDEV
|
||||
#define NETDEV_USING_IFCONFIG
|
||||
#define NETDEV_USING_PING
|
||||
@@ -213,12 +204,6 @@
|
||||
#define NETDEV_USING_AUTO_DEFAULT
|
||||
#define NETDEV_IPV4 1
|
||||
#define NETDEV_IPV6 0
|
||||
|
||||
/* light weight TCP/IP stack */
|
||||
|
||||
|
||||
/* AT commands */
|
||||
|
||||
#define RT_USING_AT
|
||||
#define AT_USING_CLIENT
|
||||
#define AT_CLIENT_NUM_MAX 1
|
||||
@@ -227,9 +212,6 @@
|
||||
#define AT_CMD_MAX_LEN 2048
|
||||
#define AT_SW_VERSION_NUM 0x10301
|
||||
|
||||
/* VBUS(Virtual Software BUS) */
|
||||
|
||||
|
||||
/* Utilities */
|
||||
|
||||
#define RT_USING_UTEST
|
||||
@@ -254,6 +236,7 @@
|
||||
#define PKG_USING_AT_DEVICE
|
||||
#define AT_DEVICE_USING_ESP8266
|
||||
#define AT_DEVICE_ESP8266_INIT_ASYN
|
||||
#define AT_DEVICE_ESP8266_SOCKET
|
||||
#define PKG_USING_AT_DEVICE_LATEST_VERSION
|
||||
#define PKG_AT_DEVICE_VER_NUM 0x99999
|
||||
|
||||
@@ -265,6 +248,11 @@
|
||||
|
||||
/* language packages */
|
||||
|
||||
/* JSON: JavaScript Object Notation, a lightweight data-interchange format */
|
||||
|
||||
|
||||
/* XML: Extensible Markup Language */
|
||||
|
||||
|
||||
/* multimedia packages */
|
||||
|
||||
@@ -296,12 +284,6 @@
|
||||
|
||||
/* Micrium: Micrium software products porting for RT-Thread */
|
||||
|
||||
#define RT_USING_FAL
|
||||
#define FAL_DEBUG_CONFIG
|
||||
#define FAL_DEBUG 1
|
||||
#define FAL_PART_HAS_TABLE_CFG
|
||||
#define RT_USING_FAL_LATEST_VERSION
|
||||
#define PKG_FAL_VER_NUM 0x99999
|
||||
|
||||
/* peripheral libraries and drivers */
|
||||
|
||||
@@ -311,6 +293,8 @@
|
||||
|
||||
/* miscellaneous packages */
|
||||
|
||||
/* project laboratory */
|
||||
|
||||
/* samples: kernel and components samples */
|
||||
|
||||
|
||||
@@ -379,7 +363,5 @@
|
||||
|
||||
#define NU_PKG_USING_UTILS
|
||||
#define NU_PKG_USING_DEMO
|
||||
#define BOARD_USE_UTEST
|
||||
#define UTEST_CMD_PREFIX "bsp.nuvoton.numaker-m2354.test.utest."
|
||||
|
||||
#endif
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -57,14 +57,8 @@
|
||||
#define RT_USING_USER_MAIN
|
||||
#define RT_MAIN_THREAD_STACK_SIZE 2048
|
||||
#define RT_MAIN_THREAD_PRIORITY 10
|
||||
|
||||
/* C++ features */
|
||||
|
||||
|
||||
/* Command shell */
|
||||
|
||||
#define RT_USING_FINSH
|
||||
#define RT_USING_MSH
|
||||
#define RT_USING_FINSH
|
||||
#define FINSH_USING_MSH
|
||||
#define FINSH_THREAD_NAME "tshell"
|
||||
#define FINSH_THREAD_PRIORITY 20
|
||||
@@ -76,9 +70,6 @@
|
||||
#define MSH_USING_BUILT_IN_COMMANDS
|
||||
#define FINSH_USING_DESCRIPTION
|
||||
#define FINSH_ARG_MAX 10
|
||||
|
||||
/* Device virtual file system */
|
||||
|
||||
#define RT_USING_DFS
|
||||
#define DFS_USING_POSIX
|
||||
#define DFS_USING_WORKDIR
|
||||
@@ -101,6 +92,10 @@
|
||||
#define RT_DFS_ELM_REENTRANT
|
||||
#define RT_DFS_ELM_MUTEX_TIMEOUT 3000
|
||||
#define RT_USING_DFS_DEVFS
|
||||
#define RT_USING_FAL
|
||||
#define FAL_DEBUG_CONFIG
|
||||
#define FAL_DEBUG 1
|
||||
#define FAL_PART_HAS_TABLE_CFG
|
||||
|
||||
/* Device Drivers */
|
||||
|
||||
@@ -176,7 +171,7 @@
|
||||
#define RT_USB_DEVICE_HID
|
||||
#define RT_USB_DEVICE_HID_MOUSE
|
||||
|
||||
/* POSIX layer and C standard library */
|
||||
/* C/C++ and POSIX layer */
|
||||
|
||||
#define RT_LIBC_DEFAULT_TIMEZONE 8
|
||||
|
||||
@@ -190,9 +185,8 @@
|
||||
|
||||
/* Socket is in the 'Network' category */
|
||||
|
||||
/* Network */
|
||||
|
||||
/* Socket abstraction layer */
|
||||
/* Network */
|
||||
|
||||
#define RT_USING_SAL
|
||||
#define SAL_INTERNET_CHECK
|
||||
@@ -201,9 +195,6 @@
|
||||
|
||||
#define SAL_USING_LWIP
|
||||
#define SAL_SOCKETS_NUM 16
|
||||
|
||||
/* Network interface device */
|
||||
|
||||
#define RT_USING_NETDEV
|
||||
#define NETDEV_USING_IFCONFIG
|
||||
#define NETDEV_USING_PING
|
||||
@@ -211,11 +202,9 @@
|
||||
#define NETDEV_USING_AUTO_DEFAULT
|
||||
#define NETDEV_IPV4 1
|
||||
#define NETDEV_IPV6 0
|
||||
|
||||
/* light weight TCP/IP stack */
|
||||
|
||||
#define RT_USING_LWIP
|
||||
#define RT_USING_LWIP203
|
||||
#define RT_USING_LWIP_VER_NUM 0x20003
|
||||
#define RT_LWIP_MEM_ALIGNMENT 4
|
||||
#define RT_LWIP_IGMP
|
||||
#define RT_LWIP_ICMP
|
||||
@@ -256,12 +245,6 @@
|
||||
#define LWIP_NETIF_LOOPBACK 0
|
||||
#define RT_LWIP_USING_PING
|
||||
|
||||
/* AT commands */
|
||||
|
||||
|
||||
/* VBUS(Virtual Software BUS) */
|
||||
|
||||
|
||||
/* Utilities */
|
||||
|
||||
#define RT_USING_UTEST
|
||||
@@ -292,6 +275,11 @@
|
||||
|
||||
/* language packages */
|
||||
|
||||
/* JSON: JavaScript Object Notation, a lightweight data-interchange format */
|
||||
|
||||
|
||||
/* XML: Extensible Markup Language */
|
||||
|
||||
|
||||
/* multimedia packages */
|
||||
|
||||
@@ -323,12 +311,6 @@
|
||||
|
||||
/* Micrium: Micrium software products porting for RT-Thread */
|
||||
|
||||
#define RT_USING_FAL
|
||||
#define FAL_DEBUG_CONFIG
|
||||
#define FAL_DEBUG 1
|
||||
#define FAL_PART_HAS_TABLE_CFG
|
||||
#define RT_USING_FAL_LATEST_VERSION
|
||||
#define PKG_FAL_VER_NUM 0x99999
|
||||
|
||||
/* peripheral libraries and drivers */
|
||||
|
||||
@@ -338,6 +320,8 @@
|
||||
|
||||
/* miscellaneous packages */
|
||||
|
||||
/* project laboratory */
|
||||
|
||||
/* samples: kernel and components samples */
|
||||
|
||||
|
||||
@@ -410,7 +394,5 @@
|
||||
#define NU_PKG_USING_UTILS
|
||||
#define NU_PKG_USING_DEMO
|
||||
#define NU_PKG_USING_NAU88L25
|
||||
#define BOARD_USE_UTEST
|
||||
#define UTEST_CMD_PREFIX "bsp.nuvoton.numaker-pfm-m487.test.utest."
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user