* ºâÁ¿¶¯Ì¬Ó뾲̬ÄÚ´æ·ÖÅä¶ÔЧÂʵÄÓ°Ïì, ¹ÊÖ±½ÓÔÚ´ËÔ¤Ïȶ¨Ò忪±ÙÁËÒ»¿é JPEG_Decoder_Buff »º³åÇø×¨ÓÃÓÚ JPEG ½âÂëËùÐè
*/
uint8_t JPEG_Decoder_Buff[512 * 1024/*LCD_HDOT * LCD_VDOT * LCD_FMT*/]
-__attribute__(( section(".SDRAM1"), aligned(4) ));
+__attribute__(( section(".bss.SDRAM1"), aligned(4) ));
/** ÖжϱêÖ¾ */
typedef enum
/** FileSystem Object Structure Õ¼Óà RAM ºÜ¸ß, Óû§¿É¸ù¾Ý×ÔÉíʵ¼Ê¹¦ÄܽøÐÐËõ¼õ(min >= 2).
* ×¢ÒâÐèҪͬ²½ disk_t ö¾Ù( load_file.h ÄÚ) / FF_VOLUMES ºê( ffconf.h ÄÚ).
*/
-static FATFS FatFs_Obj[FF_VOLUMES] __attribute__((section(".SDRAM1")));
+static FATFS FatFs_Obj[FF_VOLUMES] __attribute__((section(".bss.SDRAM1")));
/** ´ÅÅÌн¨¾í¹¤×÷ÇøÕ¼Óà RAM Ì«¸ß, ½öÖ§³ÖÒ»¸ö´ÅÅÌͬʱ½øÐÐмӾí. */
-static char Volume_Work[FF_MAX_SS] __attribute__((section(".SDRAM1")));
+static char Volume_Work[FF_MAX_SS] __attribute__((section(".bss.SDRAM1")));
// static char Volume_Work[FF_VOLUMES][FF_MAX_SS];
/*******************************************************************************************************************************************
*******************************************************************************************************************************************/
/** ÄÚ´æ³Ø */
static uint8_t Memory_Pool[(SDRAMM_SIZE - (LCD_HDOT * LCD_VDOT * LCD_FMT * 2) - 512 * 1024 - LV_MEM_SIZE - 4096 * 2)]
- __attribute__((section(".SDRAM1"), aligned(4)));
+ __attribute__((section(".bss.SDRAM1"), aligned(4)));
/** ÄÚ´æ¾ä±ú */
static volatile mm_t Memory_Handle = {
#endif
/** ¶Á»º³åÇø(ÏûºÄRAMÌ«´ó, ÓÅ»¯·ÅÖÃÔÚ SDRAM ) */
-static uint8_t Read_Buff[Flash_Alignment] __attribute__(( section(".SDRAM1"), aligned(4) ));
+static uint8_t Read_Buff[Flash_Alignment] __attribute__(( section(".bss.SDRAM1"), aligned(4) ));
/** д»º³åÇø(ÏûºÄRAMÌ«´ó, ÓÅ»¯·ÅÖÃÔÚ SDRAM ) */
-static uint8_t Write_Buff[Flash_Alignment] __attribute__(( section(".SDRAM1"), aligned(4) ));
+static uint8_t Write_Buff[Flash_Alignment] __attribute__(( section(".bss.SDRAM1"), aligned(4) ));
/*******************************************************************************************************************************************
* Private Prototype
};
/* GPIOs for 5 LEDs: LED0~LED4 (active low) */
-static GPIO_TypeDef *led_port[5] = { GPIOD, GPIOD, GPIOC, GPIOC, GPIOC };
-static uint32_t led_pin[5] = { PIN7, PIN0, PIN4, PIN5, PIN8 };
+static GPIO_TypeDef * const led_port[5] = { GPIOD, GPIOD, GPIOC, GPIOC, GPIOC };
+static const uint32_t led_pin[5] = { PIN7, PIN0, PIN4, PIN5, PIN8 };
static lv_obj_t *softkey[5]; /* right 5 soft keys */
#include "SPI_GD25Q128.h"
/* 静态缓存: 避免依赖动态内存 (读缓存/写缓存/前瞻缓存) */
-__attribute__((aligned(4))) static uint8_t s_read_buf[FS_CACHE_SIZE] __attribute__((section(".SDRAM1")));
-__attribute__((aligned(4))) static uint8_t s_prog_buf[FS_CACHE_SIZE] __attribute__((section(".SDRAM1")));
-__attribute__((aligned(4))) static uint8_t s_lookahead_buf[FS_BLOCK_COUNT / 8] __attribute__((section(".SDRAM1")));
+__attribute__((aligned(4))) static uint8_t s_read_buf[FS_CACHE_SIZE] __attribute__((section(".bss.SDRAM1")));
+__attribute__((aligned(4))) static uint8_t s_prog_buf[FS_CACHE_SIZE] __attribute__((section(".bss.SDRAM1")));
+__attribute__((aligned(4))) static uint8_t s_lookahead_buf[FS_BLOCK_COUNT / 8] __attribute__((section(".bss.SDRAM1")));
/* littlefs 全局实例 */
lfs_t fs_lfs;
};
/* 变位报告区上下文 (buffer 在 SDRAM 动态分配) */
-static uint16_t s_chg_buf[EVENT_CHG_MAX * EVENT_CHG_REG_PER] __attribute__((section(".SDRAM1"))); //512x8
-static uint16_t s_act_buf[EVENT_ACT_MAX * EVENT_ACT_REG_PER] __attribute__((section(".SDRAM1"))); //128x32
+static uint16_t s_chg_buf[EVENT_CHG_MAX * EVENT_CHG_REG_PER] __attribute__((section(".bss.SDRAM1"))); //512x8
+static uint16_t s_act_buf[EVENT_ACT_MAX * EVENT_ACT_REG_PER] __attribute__((section(".bss.SDRAM1"))); //128x32
static const event_zone_t chg_zone = {
EVENT_CHG_BASE, EVENT_CHG_MAX, EVENT_CHG_REG_PER,
char *name;
}import_area_t;
-import_area_t area[AREA_MAX] = {
+const import_area_t area[AREA_MAX] = {
{ 1000, 0, 80, "protect" },
{ 1200, 80, 26, "process_control" },
{ 2100, 106, 12, "general_param" },
int user_soe_write_act( FIL *fp, int idx, uint16_t *act_evt );
int user_soe_write_chg( FIL *fp, int idx, uint16_t *chg_evt );
-static const char * s_chg_type_name_1_44[] = {
+static const char * const s_chg_type_name_1_44[] = {
"unkown",
changed_type_1, changed_type_2, changed_type_3, changed_type_4, changed_type_5, changed_type_6, changed_type_7, changed_type_8,
changed_type_9, changed_type_10, changed_type_11, changed_type_12, changed_type_13, changed_type_14, changed_type_15, changed_type_16,
changed_type_41, changed_type_42, changed_type_43, changed_type_44
};
-static const char * s_chg_type_name_71_78[] = {
+static const char * const s_chg_type_name_71_78[] = {
changed_type_71, changed_type_72, changed_type_73, changed_type_74, changed_type_75, changed_type_76, changed_type_77, changed_type_78,
};
-static const char * s_chg_type_name_101_113[] = {
+static const char * const s_chg_type_name_101_113[] = {
changed_type_101, changed_type_102, changed_type_103, changed_type_104, changed_type_105, changed_type_106, changed_type_107, changed_type_108,
changed_type_109, changed_type_110, changed_type_111, changed_type_112, changed_type_113
};
//开出变位 141 -- 146
-static const char * s_chg_type_name_141_146[] = {
+static const char * const s_chg_type_name_141_146[] = {
changed_type_141, changed_type_142, changed_type_143, changed_type_144, changed_type_145, changed_type_146
};
//操作变位 171 -- 194
-static const char * s_chg_type_name_171_194[] = {
+static const char * const s_chg_type_name_171_194[] = {
changed_type_171, changed_type_172, changed_type_173, changed_type_174, changed_type_175, changed_type_176, changed_type_177, changed_type_178,
changed_type_179, changed_type_180, changed_type_181, changed_type_182, changed_type_183, changed_type_184, changed_type_185, changed_type_186,
changed_type_187, changed_type_188, changed_type_189, changed_type_190, changed_type_191, changed_type_192, changed_type_193, changed_type_194
return "";
}
-static const char * s_act_type_name[] = {
+static const char * const s_act_type_name[] = {
act_type_0,
act_type_1, act_type_2, act_type_3, act_type_4, act_type_5, act_type_6, act_type_7, act_type_8,
act_type_9, act_type_10, act_type_11, act_type_12, act_type_13, act_type_14, act_type_15, act_type_16,
act_type_41, act_type_42, act_type_43, act_type_44
};
-static const char * s_act_src_name[] = {
+static const char * const s_act_src_name[] = {
"",
"",
act_start_src_2,
return rc;
}
-FIL s_iap_fp __attribute__((section(".SDRAM1"), aligned(4)));
+FIL s_iap_fp __attribute__((section(".bss.SDRAM1"), aligned(4)));
int iap_open_fw( void )
{
FRESULT fres;
return (exported > 0) ? ERR_OK : ERR_NO_DATA;
}
-static FIL wave_raw_file __attribute__((section(".SDRAM1"), aligned(4)));
+static FIL wave_raw_file __attribute__((section(".bss.SDRAM1"), aligned(4)));
int wave_raw_create( void )
{
; 增加一些固件信息,方便外部工具对其校验和解析使用 kyz
IMPORT |Region$$Table$$Limit|
IMPORT |Region$$Table$$Base|
- ;ALIGN 0x400
- SPACE 0x400 - __Vectors_Size
+ IMPORT |Load$$LR$$LR_IROM1$$Length|
+ ;ALIGN 0x200
+ SPACE 0x200 - __Vectors_Size
FW_INFO_ADDR
IF :DEF:BOOTLOADER
IMPORT BOOT_VER
DCD |Region$$Table$$Base|
DCD |Region$$Table$$Limit|
DCD __Vectors
- SPACE 44
+ DCD |Load$$LR$$LR_IROM1$$Length| ;固件大小
+ SPACE 40
;------------------------------------------------------------
AREA |.text|, CODE, READONLY
;*(.SRAM)
}
RW_SDRAM1 0x80200000 UNINIT 0x00400000 { ; RW data
- *(.SDRAM1)
- *(.SDRAM1.bss)
+ *(.bss.SDRAM1)
}
; 0x00200000
; RW_SDRAM2 0x80600000 0x00200000 { ; RW data
* heap - probably so it can be placed in a special segment or address. */
extern uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
#else
- PRIVILEGED_DATA static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ] __attribute__((section(".SDRAM1"), aligned(8))) ;
+ PRIVILEGED_DATA static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ] __attribute__((section(".bss.SDRAM1"), aligned(8))) ;
#endif /* configAPPLICATION_ALLOCATED_HEAP */
/* Define the linked list structure. This is used to link free blocks in order
/** Descriptor of a display driver */
static lv_disp_drv_t disp_drv;
/** A screen sized buffer */
-static lv_color_t lcdbuf_gui[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".SDRAM1")));
+static lv_color_t lcdbuf_gui[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".bss.SDRAM1")));
#if (1 == LVGL_DISP_MODE)
#else
/** An other screen sized buffer */
- static lv_color_t lcdbuf_show[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".SDRAM1")));
+ static lv_color_t lcdbuf_show[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".bss.SDRAM1")));
#endif
/**********************
/* Example for 1) */
static lv_disp_buf_t draw_buf_dsc;
- static lv_color_t draw_buf_1[LV_HOR_RES_MAX * 10] __attribute__((section(".SDRAM1"))); //A buffer for 10 rows
+ static lv_color_t draw_buf_1[LV_HOR_RES_MAX * 10] __attribute__((section(".bss.SDRAM1"))); //A buffer for 10 rows
lv_disp_buf_init(&draw_buf_dsc, draw_buf_1, NULL, LV_HOR_RES_MAX * 10); //Initialize the display buffer
/* Example for 2) */
static lv_disp_buf_t draw_buf_dsc;
- static lv_color_t draw_buf_2_1[LV_HOR_RES_MAX * 10] __attribute__((section(".SDRAM1"))); //A buffer for 10 rows
- static lv_color_t draw_buf_2_2[LV_HOR_RES_MAX * 10] __attribute__((section(".SDRAM1"))); //An other buffer for 10 rows
+ static lv_color_t draw_buf_2_1[LV_HOR_RES_MAX * 10] __attribute__((section(".bss.SDRAM1"))); //A buffer for 10 rows
+ static lv_color_t draw_buf_2_2[LV_HOR_RES_MAX * 10] __attribute__((section(".bss.SDRAM1"))); //An other buffer for 10 rows
lv_disp_buf_init(&draw_buf_dsc, draw_buf_2_1, draw_buf_2_2, LV_HOR_RES_MAX * 10); //Initialize the display buffer
/**********************
* STATIC VARIABLES
**********************/
-static lv_color_t lcdbuf_gui[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".SDRAM1")));
-static lv_color_t lcdbuf_show[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".SDRAM1")));
+static lv_color_t lcdbuf_gui[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".bss.SDRAM1")));
+static lv_color_t lcdbuf_show[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".bss.SDRAM1")));
/**********************
* MACROS
**********************/
**********************/
static lv_disp_drv_t disp_drv; /*Descriptor of a display driver*/
-static lv_color_t lcdbuf_gui[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".SDRAM1")));
-static lv_color_t lcdbuf_show[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".SDRAM1")));
+static lv_color_t lcdbuf_gui[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".bss.SDRAM1")));
+static lv_color_t lcdbuf_show[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".bss.SDRAM1")));
/**********************
* MACROS
**********************/
static volatile int16_t y_flush_act;
static volatile const lv_color_t *buf_to_flush;
-static lv_color_t lcdbuf_gui[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".SDRAM1")));
-static lv_color_t lcdbuf_show[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".SDRAM1")));
+static lv_color_t lcdbuf_gui[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".bss.SDRAM1")));
+static lv_color_t lcdbuf_show[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".bss.SDRAM1")));
/**********************
* MACROS
**********************/
/* Example for 3) */
static lv_disp_buf_t draw_buf_dsc_3;
- static lv_color_t lcdbuf_gui[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".SDRAM1"))); /*A screen sized buffer*/
- static lv_color_t lcdbuf_show[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".SDRAM1"))); /*An other screen sized buffer*/
+ static lv_color_t lcdbuf_gui[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".bss.SDRAM1"))); /*A screen sized buffer*/
+ static lv_color_t lcdbuf_show[LV_HOR_RES_MAX * LV_VER_RES_MAX] __attribute__((section(".bss.SDRAM1"))); /*An other screen sized buffer*/
lv_disp_buf_init(&draw_buf_dsc_3, lcdbuf_gui, lcdbuf_show, LV_HOR_RES_MAX * LV_VER_RES_MAX); /*Initialize the display buffer*/
/*-----------------------------------
#endif
/* Compiler prefix for a big array declaration */
-# define LV_MEM_ATTR __attribute__((section(".SDRAM1")))
+# define LV_MEM_ATTR __attribute__((section(".bss.SDRAM1")))
/* Set an address for the memory pool instead of allocating it as an array.
* Can be in external SRAM too. */
<MiscControls>-Wno-invalid-source-encoding</MiscControls>
<Define>CODE_ON_SDRAM,__TARGET_CONST__=0</Define>
<Undefine></Undefine>
- <IncludePath>.\CSL\CMSIS\CoreSupport;.\CSL\CMSIS\DeviceSupport;.\CSL\SWM341_StdPeriph_Driver;.\CSL\SWM341_UsbHost_Lib;.\CSL\SWM341_UsbHost_Lib\CDC;.\CSL\SWM341_UsbHost_Lib\HID;.\CSL\SWM341_UsbHost_Lib\MSC;.\CSL\SWM341_UsbHost_Lib\MTP;.\Middleware\FatFs\source;.\Middleware\lvgl;.\Middleware\lvgl\lvgl;.\Middleware\lvgl\lvgl\src;.\Middleware\lvgl\lvgl\src\lv_core;.\Middleware\lvgl\lvgl\src\lv_draw;.\Middleware\lvgl\lvgl\src\lv_font;.\Middleware\lvgl\lvgl\src\lv_gpu;.\Middleware\lvgl\lvgl\src\lv_hal;.\Middleware\lvgl\lvgl\src\lv_misc;.\Middleware\lvgl\lvgl\src\lv_themes;.\Middleware\lvgl\lvgl\src\lv_widgets;.\Middleware\lvgl\lvgl\examples\porting;.\Middleware\lvgl\lv_examples;.\Middleware\lvgl\lv_examples\src;.\Middleware\lvgl\lv_examples\src\lv_demo_widgets;.\Middleware\lvgl\lv_examples\src\lv_demo_benchmark;.\Middleware\lvgl\lv_examples\src\lv_demo_stress;.\Middleware\lvgl\lv_examples\src\lv_demo_music;.\APP;.\APP\can_comm;.\APP\BSP;.\APP\IC_Driver;.\APP\Common Module;.\APP\Software_Parser;.\APP\USB\Device;.\APP\USB\Host;.\APP\UI;.\APP\UI\Resource;.\APP\UI\Page;.\Middleware\FreeRTOS-Kernel;.\Middleware\FreeRTOS-Kernel\include;.\Middleware\FreeRTOS-Kernel\portable\GCC\ARM_CM33_NTZ\non_secure;.\Middleware\FreeRTOS-Kernel\portable\MemMang;.\APP\can_comm;.\APP\mb;.\APP\shell;.\APP\shell\cherryrl</IncludePath>
+ <IncludePath>.\CSL\CMSIS\CoreSupport;.\CSL\CMSIS\DeviceSupport;.\CSL\SWM341_StdPeriph_Driver;.\CSL\SWM341_UsbHost_Lib;.\CSL\SWM341_UsbHost_Lib\CDC;.\CSL\SWM341_UsbHost_Lib\HID;.\CSL\SWM341_UsbHost_Lib\MSC;.\CSL\SWM341_UsbHost_Lib\MTP;.\Middleware\FatFs\source;.\Middleware\lvgl;.\Middleware\lvgl\lvgl;.\Middleware\lvgl\lvgl\src;.\Middleware\lvgl\lvgl\src\lv_core;.\Middleware\lvgl\lvgl\src\lv_draw;.\Middleware\lvgl\lvgl\src\lv_font;.\Middleware\lvgl\lvgl\src\lv_gpu;.\Middleware\lvgl\lvgl\src\lv_hal;.\Middleware\lvgl\lvgl\src\lv_misc;.\Middleware\lvgl\lvgl\src\lv_themes;.\Middleware\lvgl\lvgl\src\lv_widgets;.\Middleware\lvgl\lvgl\examples\porting;.\Middleware\lvgl\lv_examples;.\Middleware\lvgl\lv_examples\src;.\Middleware\lvgl\lv_examples\src\lv_demo_widgets;.\Middleware\lvgl\lv_examples\src\lv_demo_benchmark;.\Middleware\lvgl\lv_examples\src\lv_demo_stress;.\Middleware\lvgl\lv_examples\src\lv_demo_music;.\APP;.\APP\can_comm;.\APP\BSP;.\APP\IC_Driver;.\APP\Common Module;.\APP\Software_Parser;.\APP\USB\Device;.\APP\USB\Host;.\APP\UI;.\APP\UI\Resource;.\APP\UI\Page;.\Middleware\FreeRTOS-Kernel;.\Middleware\FreeRTOS-Kernel\include;.\Middleware\FreeRTOS-Kernel\portable\GCC\ARM_CM33_NTZ\non_secure;.\Middleware\FreeRTOS-Kernel\portable\MemMang;.\APP\can_comm;.\APP\mb;.\APP\shell;.\APP\shell\cherryrl;.\APP\user;.\APP\lfs</IncludePath>
</VariousControls>
</Cads>
<Aads>
<ScatterFile>.\Linker_Scatter_File\SWM34S_SDRAM.sct</ScatterFile>
<IncludeLibs></IncludeLibs>
<IncludeLibsPath></IncludeLibsPath>
- <Misc></Misc>
+ <Misc>--datacompressor=off</Misc>
<LinkerInputFile></LinkerInputFile>
<DisabledWarnings></DisabledWarnings>
</LDads>
<FileType>1</FileType>
<FilePath>.\app\main.c</FilePath>
</File>
- <File>
- <FileName>user_app.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_app.c</FilePath>
- </File>
- <File>
- <FileName>user_ui.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_ui.c</FilePath>
- </File>
- <File>
- <FileName>user_usb.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_usb.c</FilePath>
- </File>
- <File>
- <FileName>user_mb.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_mb.c</FilePath>
- </File>
- <File>
- <FileName>user_iap.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_iap.c</FilePath>
- </File>
- <File>
- <FileName>user_rtc.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_rtc.c</FilePath>
- </File>
- <File>
- <FileName>user_mb_data.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_mb_data.c</FilePath>
- </File>
- <File>
- <FileName>user_export.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_export.c</FilePath>
- </File>
- <File>
- <FileName>wave_data.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\wave_data.c</FilePath>
- </File>
</Files>
</Group>
<Group>
<File>
<FileName>lfs.c</FileName>
<FileType>1</FileType>
- <FilePath>.\APP\fs\lfs.c</FilePath>
+ <FilePath>.\APP\lfs\lfs.c</FilePath>
</File>
<File>
<FileName>lfs_port.c</FileName>
<FileType>1</FileType>
- <FilePath>.\APP\fs\lfs_port.c</FilePath>
+ <FilePath>.\APP\lfs\lfs_port.c</FilePath>
</File>
<File>
<FileName>lfs_util.c</FileName>
<FileType>1</FileType>
- <FilePath>.\APP\fs\lfs_util.c</FilePath>
+ <FilePath>.\APP\lfs\lfs_util.c</FilePath>
+ </File>
+ </Files>
+ </Group>
+ <Group>
+ <GroupName>APP\user</GroupName>
+ <Files>
+ <File>
+ <FileName>user_app.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\user_app.c</FilePath>
+ </File>
+ <File>
+ <FileName>user_export.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\user_export.c</FilePath>
+ </File>
+ <File>
+ <FileName>user_iap.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\user_iap.c</FilePath>
+ </File>
+ <File>
+ <FileName>user_mb.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\user_mb.c</FilePath>
+ </File>
+ <File>
+ <FileName>user_mb_data.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\user_mb_data.c</FilePath>
+ </File>
+ <File>
+ <FileName>user_rtc.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\user_rtc.c</FilePath>
+ </File>
+ <File>
+ <FileName>user_ui.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\user_ui.c</FilePath>
+ </File>
+ <File>
+ <FileName>user_usb.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\user_usb.c</FilePath>
+ </File>
+ <File>
+ <FileName>wave_data.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\wave_data.c</FilePath>
</File>
</Files>
</Group>
<FileType>1</FileType>
<FilePath>.\app\main.c</FilePath>
</File>
- <File>
- <FileName>user_app.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_app.c</FilePath>
- </File>
- <File>
- <FileName>user_ui.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_ui.c</FilePath>
- </File>
- <File>
- <FileName>user_usb.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_usb.c</FilePath>
- </File>
- <File>
- <FileName>user_mb.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_mb.c</FilePath>
- </File>
- <File>
- <FileName>user_iap.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_iap.c</FilePath>
- </File>
- <File>
- <FileName>user_rtc.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_rtc.c</FilePath>
- </File>
- <File>
- <FileName>user_mb_data.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_mb_data.c</FilePath>
- </File>
- <File>
- <FileName>user_export.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_export.c</FilePath>
- </File>
- <File>
- <FileName>wave_data.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\wave_data.c</FilePath>
- </File>
</Files>
</Group>
<Group>
<File>
<FileName>lfs.c</FileName>
<FileType>1</FileType>
- <FilePath>.\APP\fs\lfs.c</FilePath>
+ <FilePath>.\APP\lfs\lfs.c</FilePath>
</File>
<File>
<FileName>lfs_port.c</FileName>
<FileType>1</FileType>
- <FilePath>.\APP\fs\lfs_port.c</FilePath>
+ <FilePath>.\APP\lfs\lfs_port.c</FilePath>
</File>
<File>
<FileName>lfs_util.c</FileName>
<FileType>1</FileType>
- <FilePath>.\APP\fs\lfs_util.c</FilePath>
+ <FilePath>.\APP\lfs\lfs_util.c</FilePath>
+ </File>
+ </Files>
+ </Group>
+ <Group>
+ <GroupName>APP\user</GroupName>
+ <Files>
+ <File>
+ <FileName>user_app.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\user_app.c</FilePath>
+ </File>
+ <File>
+ <FileName>user_export.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\user_export.c</FilePath>
+ </File>
+ <File>
+ <FileName>user_iap.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\user_iap.c</FilePath>
+ </File>
+ <File>
+ <FileName>user_mb.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\user_mb.c</FilePath>
+ </File>
+ <File>
+ <FileName>user_mb_data.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\user_mb_data.c</FilePath>
+ </File>
+ <File>
+ <FileName>user_rtc.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\user_rtc.c</FilePath>
+ </File>
+ <File>
+ <FileName>user_ui.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\user_ui.c</FilePath>
+ </File>
+ <File>
+ <FileName>user_usb.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\user_usb.c</FilePath>
+ </File>
+ <File>
+ <FileName>wave_data.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\APP\user\wave_data.c</FilePath>
</File>
</Files>
</Group>
<InvalidFlash>1</InvalidFlash>
</TargetStatus>
<OutputDirectory>.\out\dispboard_bootloader\</OutputDirectory>
- <OutputName>dispboard</OutputName>
+ <OutputName>dispboard_bootloader</OutputName>
<CreateExecutable>1</CreateExecutable>
<CreateLib>0</CreateLib>
- <CreateHexFile>0</CreateHexFile>
+ <CreateHexFile>1</CreateHexFile>
<DebugInformation>1</DebugInformation>
<BrowseInformation>1</BrowseInformation>
<ListingPath>.\out\dispboard_bootloader\</ListingPath>
<AfterMake>
<RunUserProg1>1</RunUserProg1>
<RunUserProg2>0</RunUserProg2>
- <UserProg1Name>fromelf --i32combined -o "$L@L.hex" "#L"</UserProg1Name>
+ <UserProg1Name>fromelf --bin -o "$L@L.bin" "#L"</UserProg1Name>
<UserProg2Name>fromelf --text -a -c -o "$L@L.asm" "#L"</UserProg2Name>
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
<MiscControls>-Wno-invalid-source-encoding</MiscControls>
<Define>__TARGET_CONST__=0, BOOTLOADER</Define>
<Undefine></Undefine>
- <IncludePath>.\CSL\CMSIS\CoreSupport;.\CSL\CMSIS\DeviceSupport;.\CSL\SWM341_StdPeriph_Driver;.\CSL\SWM341_UsbHost_Lib;.\CSL\SWM341_UsbHost_Lib\CDC;.\CSL\SWM341_UsbHost_Lib\HID;.\CSL\SWM341_UsbHost_Lib\MSC;.\CSL\SWM341_UsbHost_Lib\MTP;.\Middleware\FatFs\source;.\Middleware\lvgl;.\Middleware\lvgl\lvgl;.\Middleware\lvgl\lvgl\src;.\Middleware\lvgl\lvgl\src\lv_core;.\Middleware\lvgl\lvgl\src\lv_draw;.\Middleware\lvgl\lvgl\src\lv_font;.\Middleware\lvgl\lvgl\src\lv_gpu;.\Middleware\lvgl\lvgl\src\lv_hal;.\Middleware\lvgl\lvgl\src\lv_misc;.\Middleware\lvgl\lvgl\src\lv_themes;.\Middleware\lvgl\lvgl\src\lv_widgets;.\Middleware\lvgl\lvgl\examples\porting;.\Middleware\lvgl\lv_examples;.\Middleware\lvgl\lv_examples\src;.\Middleware\lvgl\lv_examples\src\lv_demo_widgets;.\Middleware\lvgl\lv_examples\src\lv_demo_benchmark;.\Middleware\lvgl\lv_examples\src\lv_demo_stress;.\Middleware\lvgl\lv_examples\src\lv_demo_music;.\APP;.\APP\can_comm;.\APP\BSP;.\APP\IC_Driver;.\APP\Common Module;.\APP\Software_Parser;.\APP\USB\Device;.\APP\USB\Host;.\APP\UI;.\APP\UI\Resource;.\APP\UI\Page;.\Middleware\FreeRTOS-Kernel;.\Middleware\FreeRTOS-Kernel\include;.\Middleware\FreeRTOS-Kernel\portable\GCC\ARM_CM33_NTZ\non_secure;.\Middleware\FreeRTOS-Kernel\portable\MemMang;.\APP\can_comm;.\APP\mb;.\APP\shell;.\APP\shell\cherryrl;.\APP\bootloader;.\APP\bootloader\font;.\APP\fs</IncludePath>
+ <IncludePath>.\CSL\CMSIS\CoreSupport;.\CSL\CMSIS\DeviceSupport;.\CSL\SWM341_StdPeriph_Driver;.\CSL\SWM341_UsbHost_Lib;.\CSL\SWM341_UsbHost_Lib\CDC;.\CSL\SWM341_UsbHost_Lib\HID;.\CSL\SWM341_UsbHost_Lib\MSC;.\CSL\SWM341_UsbHost_Lib\MTP;.\Middleware\FatFs\source;.\Middleware\lvgl;.\Middleware\lvgl\lvgl;.\Middleware\lvgl\lvgl\src;.\Middleware\lvgl\lvgl\src\lv_core;.\Middleware\lvgl\lvgl\src\lv_draw;.\Middleware\lvgl\lvgl\src\lv_font;.\Middleware\lvgl\lvgl\src\lv_gpu;.\Middleware\lvgl\lvgl\src\lv_hal;.\Middleware\lvgl\lvgl\src\lv_misc;.\Middleware\lvgl\lvgl\src\lv_themes;.\Middleware\lvgl\lvgl\src\lv_widgets;.\Middleware\lvgl\lvgl\examples\porting;.\Middleware\lvgl\lv_examples;.\Middleware\lvgl\lv_examples\src;.\Middleware\lvgl\lv_examples\src\lv_demo_widgets;.\Middleware\lvgl\lv_examples\src\lv_demo_benchmark;.\Middleware\lvgl\lv_examples\src\lv_demo_stress;.\Middleware\lvgl\lv_examples\src\lv_demo_music;.\APP;.\APP\can_comm;.\APP\BSP;.\APP\IC_Driver;.\APP\Common Module;.\APP\Software_Parser;.\APP\USB\Device;.\APP\USB\Host;.\APP\UI;.\APP\UI\Resource;.\APP\UI\Page;.\Middleware\FreeRTOS-Kernel;.\Middleware\FreeRTOS-Kernel\include;.\Middleware\FreeRTOS-Kernel\portable\GCC\ARM_CM33_NTZ\non_secure;.\Middleware\FreeRTOS-Kernel\portable\MemMang;.\APP\can_comm;.\APP\mb;.\APP\shell;.\APP\shell\cherryrl;.\APP\bootloader;.\APP\bootloader\font;.\APP\lfs;.\APP\user</IncludePath>
</VariousControls>
</Cads>
<Aads>
</FileArmAds>
</FileOption>
</File>
- <File>
- <FileName>user_app.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_app.c</FilePath>
- <FileOption>
- <CommonProperty>
- <UseCPPCompiler>2</UseCPPCompiler>
- <RVCTCodeConst>0</RVCTCodeConst>
- <RVCTZI>0</RVCTZI>
- <RVCTOtherData>0</RVCTOtherData>
- <ModuleSelection>0</ModuleSelection>
- <IncludeInBuild>0</IncludeInBuild>
- <AlwaysBuild>2</AlwaysBuild>
- <GenerateAssemblyFile>2</GenerateAssemblyFile>
- <AssembleAssemblyFile>2</AssembleAssemblyFile>
- <PublicsOnly>2</PublicsOnly>
- <StopOnExitCode>11</StopOnExitCode>
- <CustomArgument></CustomArgument>
- <IncludeLibraryModules></IncludeLibraryModules>
- <ComprImg>1</ComprImg>
- </CommonProperty>
- <FileArmAds>
- <Cads>
- <interw>2</interw>
- <Optim>0</Optim>
- <oTime>2</oTime>
- <SplitLS>2</SplitLS>
- <OneElfS>2</OneElfS>
- <Strict>2</Strict>
- <EnumInt>2</EnumInt>
- <PlainCh>2</PlainCh>
- <Ropi>2</Ropi>
- <Rwpi>2</Rwpi>
- <wLevel>0</wLevel>
- <uThumb>2</uThumb>
- <uSurpInc>2</uSurpInc>
- <uC99>2</uC99>
- <uGnu>2</uGnu>
- <useXO>2</useXO>
- <v6Lang>0</v6Lang>
- <v6LangP>0</v6LangP>
- <vShortEn>2</vShortEn>
- <vShortWch>2</vShortWch>
- <v6Lto>2</v6Lto>
- <v6WtE>2</v6WtE>
- <v6Rtti>2</v6Rtti>
- <VariousControls>
- <MiscControls></MiscControls>
- <Define></Define>
- <Undefine></Undefine>
- <IncludePath></IncludePath>
- </VariousControls>
- </Cads>
- </FileArmAds>
- </FileOption>
- </File>
- <File>
- <FileName>user_usb.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_usb.c</FilePath>
- <FileOption>
- <CommonProperty>
- <UseCPPCompiler>2</UseCPPCompiler>
- <RVCTCodeConst>0</RVCTCodeConst>
- <RVCTZI>0</RVCTZI>
- <RVCTOtherData>0</RVCTOtherData>
- <ModuleSelection>0</ModuleSelection>
- <IncludeInBuild>0</IncludeInBuild>
- <AlwaysBuild>2</AlwaysBuild>
- <GenerateAssemblyFile>2</GenerateAssemblyFile>
- <AssembleAssemblyFile>2</AssembleAssemblyFile>
- <PublicsOnly>2</PublicsOnly>
- <StopOnExitCode>11</StopOnExitCode>
- <CustomArgument></CustomArgument>
- <IncludeLibraryModules></IncludeLibraryModules>
- <ComprImg>1</ComprImg>
- </CommonProperty>
- <FileArmAds>
- <Cads>
- <interw>2</interw>
- <Optim>0</Optim>
- <oTime>2</oTime>
- <SplitLS>2</SplitLS>
- <OneElfS>2</OneElfS>
- <Strict>2</Strict>
- <EnumInt>2</EnumInt>
- <PlainCh>2</PlainCh>
- <Ropi>2</Ropi>
- <Rwpi>2</Rwpi>
- <wLevel>0</wLevel>
- <uThumb>2</uThumb>
- <uSurpInc>2</uSurpInc>
- <uC99>2</uC99>
- <uGnu>2</uGnu>
- <useXO>2</useXO>
- <v6Lang>0</v6Lang>
- <v6LangP>0</v6LangP>
- <vShortEn>2</vShortEn>
- <vShortWch>2</vShortWch>
- <v6Lto>2</v6Lto>
- <v6WtE>2</v6WtE>
- <v6Rtti>2</v6Rtti>
- <VariousControls>
- <MiscControls></MiscControls>
- <Define></Define>
- <Undefine></Undefine>
- <IncludePath></IncludePath>
- </VariousControls>
- </Cads>
- </FileArmAds>
- </FileOption>
- </File>
- <File>
- <FileName>user_rtc.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_rtc.c</FilePath>
- <FileOption>
- <CommonProperty>
- <UseCPPCompiler>2</UseCPPCompiler>
- <RVCTCodeConst>0</RVCTCodeConst>
- <RVCTZI>0</RVCTZI>
- <RVCTOtherData>0</RVCTOtherData>
- <ModuleSelection>0</ModuleSelection>
- <IncludeInBuild>0</IncludeInBuild>
- <AlwaysBuild>2</AlwaysBuild>
- <GenerateAssemblyFile>2</GenerateAssemblyFile>
- <AssembleAssemblyFile>2</AssembleAssemblyFile>
- <PublicsOnly>2</PublicsOnly>
- <StopOnExitCode>11</StopOnExitCode>
- <CustomArgument></CustomArgument>
- <IncludeLibraryModules></IncludeLibraryModules>
- <ComprImg>1</ComprImg>
- </CommonProperty>
- <FileArmAds>
- <Cads>
- <interw>2</interw>
- <Optim>0</Optim>
- <oTime>2</oTime>
- <SplitLS>2</SplitLS>
- <OneElfS>2</OneElfS>
- <Strict>2</Strict>
- <EnumInt>2</EnumInt>
- <PlainCh>2</PlainCh>
- <Ropi>2</Ropi>
- <Rwpi>2</Rwpi>
- <wLevel>0</wLevel>
- <uThumb>2</uThumb>
- <uSurpInc>2</uSurpInc>
- <uC99>2</uC99>
- <uGnu>2</uGnu>
- <useXO>2</useXO>
- <v6Lang>0</v6Lang>
- <v6LangP>0</v6LangP>
- <vShortEn>2</vShortEn>
- <vShortWch>2</vShortWch>
- <v6Lto>2</v6Lto>
- <v6WtE>2</v6WtE>
- <v6Rtti>2</v6Rtti>
- <VariousControls>
- <MiscControls></MiscControls>
- <Define></Define>
- <Undefine></Undefine>
- <IncludePath></IncludePath>
- </VariousControls>
- </Cads>
- </FileArmAds>
- </FileOption>
- </File>
</Files>
</Group>
<Group>
<File>
<FileName>lfs.c</FileName>
<FileType>1</FileType>
- <FilePath>.\APP\fs\lfs.c</FilePath>
+ <FilePath>.\APP\lfs\lfs.c</FilePath>
</File>
<File>
<FileName>lfs_port.c</FileName>
<FileType>1</FileType>
- <FilePath>.\APP\fs\lfs_port.c</FilePath>
+ <FilePath>.\APP\lfs\lfs_port.c</FilePath>
</File>
<File>
<FileName>lfs_util.c</FileName>
<FileType>1</FileType>
- <FilePath>.\APP\fs\lfs_util.c</FilePath>
+ <FilePath>.\APP\lfs\lfs_util.c</FilePath>
</File>
</Files>
</Group>
<FileType>1</FileType>
<FilePath>.\app\main.c</FilePath>
</File>
- <File>
- <FileName>user_app.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_app.c</FilePath>
- </File>
- <File>
- <FileName>user_usb.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_usb.c</FilePath>
- </File>
- <File>
- <FileName>user_rtc.c</FileName>
- <FileType>1</FileType>
- <FilePath>.\APP\user_rtc.c</FilePath>
- </File>
</Files>
</Group>
<Group>
<File>
<FileName>lfs.c</FileName>
<FileType>1</FileType>
- <FilePath>.\APP\fs\lfs.c</FilePath>
+ <FilePath>.\APP\lfs\lfs.c</FilePath>
</File>
<File>
<FileName>lfs_port.c</FileName>
<FileType>1</FileType>
- <FilePath>.\APP\fs\lfs_port.c</FilePath>
+ <FilePath>.\APP\lfs\lfs_port.c</FilePath>
</File>
<File>
<FileName>lfs_util.c</FileName>
<FileType>1</FileType>
- <FilePath>.\APP\fs\lfs_util.c</FilePath>
+ <FilePath>.\APP\lfs\lfs_util.c</FilePath>
</File>
</Files>
</Group>