From 327a2c0bc5ffd44b664ea766fe1bbcd939b55a1c Mon Sep 17 00:00:00 2001 From: mahi Date: Wed, 1 Dec 2010 23:32:37 +0100 Subject: [PATCH] Added sim targets to tiny and simple examples. --- boards/mpc563xsim/build_config.mk | 2 +- examples/simple/config/mpc551xsim/Os_Cfg.c | 30 ++--- examples/simple/config/mpc551xsim/Os_Cfg.h | 28 ++-- examples/simple/config/mpc5554sim/Os_Cfg.c | 145 +++++++++++++++++++++ examples/simple/config/mpc5554sim/Os_Cfg.h | 84 ++++++++++++ examples/tiny/config/mpc551xsim/Os_Cfg.c | 145 +++++++++++++++++++++ examples/tiny/config/mpc551xsim/Os_Cfg.h | 84 ++++++++++++ examples/tiny/config/mpc5554sim/Os_Cfg.c | 145 +++++++++++++++++++++ examples/tiny/config/mpc5554sim/Os_Cfg.h | 84 ++++++++++++ system/kernel/makefile | 2 +- tools/t32/config.cmm | 5 +- tools/t32/load.cmm | 4 +- 12 files changed, 724 insertions(+), 34 deletions(-) create mode 100644 examples/simple/config/mpc5554sim/Os_Cfg.c create mode 100644 examples/simple/config/mpc5554sim/Os_Cfg.h create mode 100644 examples/tiny/config/mpc551xsim/Os_Cfg.c create mode 100644 examples/tiny/config/mpc551xsim/Os_Cfg.h create mode 100644 examples/tiny/config/mpc5554sim/Os_Cfg.c create mode 100644 examples/tiny/config/mpc5554sim/Os_Cfg.h diff --git a/boards/mpc563xsim/build_config.mk b/boards/mpc563xsim/build_config.mk index e46d5e39..c343374b 100644 --- a/boards/mpc563xsim/build_config.mk +++ b/boards/mpc563xsim/build_config.mk @@ -5,7 +5,7 @@ ARCH_FAM=ppc ARCH_MCU=mpc5633 # CFG (y/n) macros -CFG=PPC BOOKE E200Z3 MPC55XX MPC5633 BRD_MPC5633SIM SPE +CFG=PPC BOOKE E200Z3 MPC55XX MPC5633 BRD_MPC5633SIM SPE SIMULATOR # What buildable modules does this board have, # default or private diff --git a/examples/simple/config/mpc551xsim/Os_Cfg.c b/examples/simple/config/mpc551xsim/Os_Cfg.c index d0ef2a09..e3fe908e 100644 --- a/examples/simple/config/mpc551xsim/Os_Cfg.c +++ b/examples/simple/config/mpc551xsim/Os_Cfg.c @@ -1,17 +1,17 @@ -/* -* Configuration of module Os (Os_Cfg.c) -* -* Created by: ArcCore AB -* Configured for (MCU): Undefined MCU -* -* Module editor vendor: ArcCore -* Module editor version: 2.0.7 -* -* Copyright ArcCore AB 2010 -* Generated by Arctic Studio (http://arccore.com) -* on Fri Jun 18 12:52:09 CEST 2010 -*/ - +/* + * Configuration of module Os (Os_Cfg.c) + * + * Created by: ArcCore AB + * Configured for (MCU): Undefined MCU + * + * Module vendor: ArcCore + * Module version: 2.0.11 + * + * Copyright ArcCore AB 2010 + * Generated by Arctic Studio (http://arccore.com) + * on Wed Dec 01 21:46:57 CET 2010 + */ + #include @@ -43,7 +43,7 @@ GEN_COUNTER_HEAD { COUNTER_UNIT_NANO, 0xffff, 1, - 1, + 0, 0), }; diff --git a/examples/simple/config/mpc551xsim/Os_Cfg.h b/examples/simple/config/mpc551xsim/Os_Cfg.h index dd8caff2..94d802b3 100644 --- a/examples/simple/config/mpc551xsim/Os_Cfg.h +++ b/examples/simple/config/mpc551xsim/Os_Cfg.h @@ -1,17 +1,17 @@ -/* -* Configuration of module Os (Os_Cfg.h) -* -* Created by: ArcCore AB -* Configured for (MCU): Undefined MCU -* -* Module editor vendor: ArcCore -* Module editor version: 2.0.7 -* -* Copyright ArcCore AB 2010 -* Generated by Arctic Studio (http://arccore.com) -* on Fri Jun 18 12:52:09 CEST 2010 -*/ - +/* + * Configuration of module Os (Os_Cfg.h) + * + * Created by: ArcCore AB + * Configured for (MCU): Undefined MCU + * + * Module vendor: ArcCore + * Module version: 2.0.11 + * + * Copyright ArcCore AB 2010 + * Generated by Arctic Studio (http://arccore.com) + * on Wed Dec 01 21:46:57 CET 2010 + */ + #if (OS_SW_MAJOR_VERSION != 2) #error "Os: Configuration file version differs from BSW version." diff --git a/examples/simple/config/mpc5554sim/Os_Cfg.c b/examples/simple/config/mpc5554sim/Os_Cfg.c new file mode 100644 index 00000000..e3fe908e --- /dev/null +++ b/examples/simple/config/mpc5554sim/Os_Cfg.c @@ -0,0 +1,145 @@ +/* + * Configuration of module Os (Os_Cfg.c) + * + * Created by: ArcCore AB + * Configured for (MCU): Undefined MCU + * + * Module vendor: ArcCore + * Module version: 2.0.11 + * + * Copyright ArcCore AB 2010 + * Generated by Arctic Studio (http://arccore.com) + * on Wed Dec 01 21:46:57 CET 2010 + */ + + + +#include +#include +#include "Platform_Types.h" +#include "Os.h" // includes Os_Cfg.h +#include "os_config_macros.h" +#include "kernel.h" +#include "kernel_offset.h" +#include "alist_i.h" +#include "Mcu.h" + +extern void dec_exception( void ); + +// Set the os tick frequency +OsTickType OsTickFreq = 1000; + + +// ############################### DEBUG OUTPUT ############################# +uint32 os_dbg_mask = 0; + + + +// ################################# COUNTERS ############################### +GEN_COUNTER_HEAD { + GEN_COUNTER( COUNTER_ID_OsTick, + "OsTick", + COUNTER_TYPE_HARD, + COUNTER_UNIT_NANO, + 0xffff, + 1, + 0, + 0), +}; + +CounterType Os_Arc_OsTickCounter = COUNTER_ID_OsTick; + +// ################################## ALARMS ################################ +GEN_ALARM_AUTOSTART(ALARM_ID_Alarm1, ALARM_AUTOSTART_ABSOLUTE, 100, 10, OSDEFAULTAPPMODE ); + + +GEN_ALARM_HEAD { + GEN_ALARM( ALARM_ID_Alarm1, + "Alarm1", + COUNTER_ID_OsTick, + GEN_ALARM_AUTOSTART_NAME(ALARM_ID_Alarm1), + ALARM_ACTION_SETEVENT, + TASK_ID_etask_1, + EVENT_MASK_EVENT_2, + NULL ), +}; + +// ################################ RESOURCES ############################### +GEN_RESOURCE_HEAD { +}; + +// ############################## STACKS (TASKS) ############################ +DECLARE_STACK(OsIdle,OS_OSIDLE_STACK_SIZE); +DECLARE_STACK(btask_3,2048); +DECLARE_STACK(etask_1,2048); +DECLARE_STACK(etask_2,2048); + +// ################################## TASKS ################################# +GEN_TASK_HEAD { + GEN_ETASK( OsIdle, + 0, + FULL, + TRUE, + NULL, + 0 + ), + GEN_BTASK( + btask_3, + 3, + FULL, + FALSE, + NULL, + 0, + 1 + ), + + GEN_ETASK( + etask_1, + 1, + FULL, + TRUE, + NULL, + 0 + ), + + + GEN_ETASK( + etask_2, + 2, + FULL, + TRUE, + NULL, + 0 + ), + + +}; + +// ################################## HOOKS ################################# +GEN_HOOKS( + StartupHook, + NULL, + ShutdownHook, + ErrorHook, + PreTaskHook, + PostTaskHook +); + +// ################################## ISRS ################################## + + +// ############################ SCHEDULE TABLES ############################# + +// Table heads +GEN_SCHTBL_HEAD { +}; + +GEN_PCB_LIST() + +uint8_t os_interrupt_stack[OS_INTERRUPT_STACK_SIZE] __attribute__ ((aligned (0x10))); + +GEN_IRQ_VECTOR_TABLE_HEAD {}; +GEN_IRQ_ISR_TYPE_TABLE_HEAD {}; +GEN_IRQ_PRIORITY_TABLE_HEAD {}; + +#include "os_config_funcs.h" diff --git a/examples/simple/config/mpc5554sim/Os_Cfg.h b/examples/simple/config/mpc5554sim/Os_Cfg.h new file mode 100644 index 00000000..94d802b3 --- /dev/null +++ b/examples/simple/config/mpc5554sim/Os_Cfg.h @@ -0,0 +1,84 @@ +/* + * Configuration of module Os (Os_Cfg.h) + * + * Created by: ArcCore AB + * Configured for (MCU): Undefined MCU + * + * Module vendor: ArcCore + * Module version: 2.0.11 + * + * Copyright ArcCore AB 2010 + * Generated by Arctic Studio (http://arccore.com) + * on Wed Dec 01 21:46:57 CET 2010 + */ + + +#if (OS_SW_MAJOR_VERSION != 2) +#error "Os: Configuration file version differs from BSW version." +#endif + + +#ifndef OS_CFG_H_ +#define OS_CFG_H_ + + +// Alarm Id's +#define ALARM_ID_Alarm1 0 + +// Counter Id's +#define COUNTER_ID_OsTick 0 + +// Counter macros +#define OSMAXALLOWEDVALUE_OsTick 65535 + + +// Event masks +#define EVENT_MASK_EVENT_1 1 +#define EVENT_MASK_EVENT_2 2 +#define EVENT_MASK_EVENT_3 3 + +// Isr Id's + +// Resource Id's + +// Linked resource id's + +// Resource masks + +// Task Id's +#define TASK_ID_OsIdle 0 +#define TASK_ID_btask_3 1 +#define TASK_ID_etask_1 2 +#define TASK_ID_etask_2 3 + +// Task entry points +void OsIdle( void ); +void btask_3( void ); +void etask_1( void ); +void etask_2( void ); + +// Schedule table id's + +// Stack size +#define OS_INTERRUPT_STACK_SIZE 2048 +#define OS_OSIDLE_STACK_SIZE 512 + +#define OS_ALARM_CNT 1 +#define OS_TASK_CNT 4 +#define OS_SCHTBL_CNT 0 +#define OS_COUNTER_CNT 1 +#define OS_EVENTS_CNT 3 +#define OS_ISRS_CNT 0 +#define OS_RESOURCE_CNT 0 +#define OS_LINKED_RESOURCE_CNT 0 + +#define CFG_OS_DEBUG STD_OFF + +#define OS_SC1 STD_ON +#define OS_STACK_MONITORING STD_ON +#define OS_STATUS_EXTENDED STD_ON +#define OS_USE_GET_SERVICE_ID STD_ON +#define OS_USE_PARAMETER_ACCESS STD_ON +#define OS_RES_SCHEDULER STD_ON + +#endif /*OS_CFG_H_*/ diff --git a/examples/tiny/config/mpc551xsim/Os_Cfg.c b/examples/tiny/config/mpc551xsim/Os_Cfg.c new file mode 100644 index 00000000..3143cb77 --- /dev/null +++ b/examples/tiny/config/mpc551xsim/Os_Cfg.c @@ -0,0 +1,145 @@ +/* + * Configuration of module Os (Os_Cfg.c) + * + * Created by: ArcCore AB + * Configured for (MCU): Undefined MCU + * + * Module vendor: ArcCore + * Module version: 2.0.11 + * + * Copyright ArcCore AB 2010 + * Generated by Arctic Studio (http://arccore.com) + * on Wed Dec 01 23:08:30 CET 2010 + */ + + + +#include +#include +#include "Platform_Types.h" +#include "Os.h" // includes Os_Cfg.h +#include "os_config_macros.h" +#include "kernel.h" +#include "kernel_offset.h" +#include "alist_i.h" +#include "Mcu.h" + +extern void dec_exception( void ); + +// Set the os tick frequency +OsTickType OsTickFreq = 1000; + + +// ############################### DEBUG OUTPUT ############################# +uint32 os_dbg_mask = 0; + + + +// ################################# COUNTERS ############################### +GEN_COUNTER_HEAD { + GEN_COUNTER( COUNTER_ID_OsTick, + "OsTick", + COUNTER_TYPE_HARD, + COUNTER_UNIT_NANO, + 0xffff, + 1, + 0, + 0), +}; + +CounterType Os_Arc_OsTickCounter = COUNTER_ID_OsTick; + +// ################################## ALARMS ################################ +GEN_ALARM_AUTOSTART(ALARM_ID_Alarm_4ms, ALARM_AUTOSTART_ABSOLUTE, 100, 4, OSDEFAULTAPPMODE ); + + +GEN_ALARM_HEAD { + GEN_ALARM( ALARM_ID_Alarm_4ms, + "Alarm_4ms", + COUNTER_ID_OsTick, + GEN_ALARM_AUTOSTART_NAME(ALARM_ID_Alarm_4ms), + ALARM_ACTION_SETEVENT, + TASK_ID_etask_1, + EVENT_MASK_EVENT_2, + NULL ), +}; + +// ################################ RESOURCES ############################### +GEN_RESOURCE_HEAD { +}; + +// ############################## STACKS (TASKS) ############################ +DECLARE_STACK(OsIdle,OS_OSIDLE_STACK_SIZE); +DECLARE_STACK(btask_3,2048); +DECLARE_STACK(etask_1,2048); +DECLARE_STACK(etask_2,2048); + +// ################################## TASKS ################################# +GEN_TASK_HEAD { + GEN_ETASK( OsIdle, + 0, + FULL, + TRUE, + NULL, + 0 + ), + GEN_BTASK( + btask_3, + 3, + FULL, + FALSE, + NULL, + 0, + 1 + ), + + GEN_ETASK( + etask_1, + 1, + FULL, + TRUE, + NULL, + 0 + ), + + + GEN_ETASK( + etask_2, + 2, + FULL, + TRUE, + NULL, + 0 + ), + + +}; + +// ################################## HOOKS ################################# +GEN_HOOKS( + StartupHook, + NULL, + ShutdownHook, + ErrorHook, + PreTaskHook, + PostTaskHook +); + +// ################################## ISRS ################################## + + +// ############################ SCHEDULE TABLES ############################# + +// Table heads +GEN_SCHTBL_HEAD { +}; + +GEN_PCB_LIST() + +uint8_t os_interrupt_stack[OS_INTERRUPT_STACK_SIZE] __attribute__ ((aligned (0x10))); + +GEN_IRQ_VECTOR_TABLE_HEAD {}; +GEN_IRQ_ISR_TYPE_TABLE_HEAD {}; +GEN_IRQ_PRIORITY_TABLE_HEAD {}; + +#include "os_config_funcs.h" diff --git a/examples/tiny/config/mpc551xsim/Os_Cfg.h b/examples/tiny/config/mpc551xsim/Os_Cfg.h new file mode 100644 index 00000000..e662da38 --- /dev/null +++ b/examples/tiny/config/mpc551xsim/Os_Cfg.h @@ -0,0 +1,84 @@ +/* + * Configuration of module Os (Os_Cfg.h) + * + * Created by: ArcCore AB + * Configured for (MCU): Undefined MCU + * + * Module vendor: ArcCore + * Module version: 2.0.11 + * + * Copyright ArcCore AB 2010 + * Generated by Arctic Studio (http://arccore.com) + * on Wed Dec 01 23:08:30 CET 2010 + */ + + +#if (OS_SW_MAJOR_VERSION != 2) +#error "Os: Configuration file version differs from BSW version." +#endif + + +#ifndef OS_CFG_H_ +#define OS_CFG_H_ + + +// Alarm Id's +#define ALARM_ID_Alarm_4ms 0 + +// Counter Id's +#define COUNTER_ID_OsTick 0 + +// Counter macros +#define OSMAXALLOWEDVALUE_OsTick 65535 + + +// Event masks +#define EVENT_MASK_EVENT_0 0 +#define EVENT_MASK_EVENT_1 1 +#define EVENT_MASK_EVENT_2 2 + +// Isr Id's + +// Resource Id's + +// Linked resource id's + +// Resource masks + +// Task Id's +#define TASK_ID_OsIdle 0 +#define TASK_ID_btask_3 1 +#define TASK_ID_etask_1 2 +#define TASK_ID_etask_2 3 + +// Task entry points +void OsIdle( void ); +void btask_3( void ); +void etask_1( void ); +void etask_2( void ); + +// Schedule table id's + +// Stack size +#define OS_INTERRUPT_STACK_SIZE 2048 +#define OS_OSIDLE_STACK_SIZE 512 + +#define OS_ALARM_CNT 1 +#define OS_TASK_CNT 4 +#define OS_SCHTBL_CNT 0 +#define OS_COUNTER_CNT 1 +#define OS_EVENTS_CNT 3 +#define OS_ISRS_CNT 0 +#define OS_RESOURCE_CNT 0 +#define OS_LINKED_RESOURCE_CNT 0 + +#define CFG_OS_DEBUG STD_OFF + +#define OS_SC1 STD_ON +#define OS_STACK_MONITORING STD_ON +#define OS_STATUS_EXTENDED STD_ON +#define OS_USE_GET_SERVICE_ID STD_ON +#define OS_USE_PARAMETER_ACCESS STD_ON +#define OS_RES_SCHEDULER STD_ON + +#endif /*OS_CFG_H_*/ diff --git a/examples/tiny/config/mpc5554sim/Os_Cfg.c b/examples/tiny/config/mpc5554sim/Os_Cfg.c new file mode 100644 index 00000000..3143cb77 --- /dev/null +++ b/examples/tiny/config/mpc5554sim/Os_Cfg.c @@ -0,0 +1,145 @@ +/* + * Configuration of module Os (Os_Cfg.c) + * + * Created by: ArcCore AB + * Configured for (MCU): Undefined MCU + * + * Module vendor: ArcCore + * Module version: 2.0.11 + * + * Copyright ArcCore AB 2010 + * Generated by Arctic Studio (http://arccore.com) + * on Wed Dec 01 23:08:30 CET 2010 + */ + + + +#include +#include +#include "Platform_Types.h" +#include "Os.h" // includes Os_Cfg.h +#include "os_config_macros.h" +#include "kernel.h" +#include "kernel_offset.h" +#include "alist_i.h" +#include "Mcu.h" + +extern void dec_exception( void ); + +// Set the os tick frequency +OsTickType OsTickFreq = 1000; + + +// ############################### DEBUG OUTPUT ############################# +uint32 os_dbg_mask = 0; + + + +// ################################# COUNTERS ############################### +GEN_COUNTER_HEAD { + GEN_COUNTER( COUNTER_ID_OsTick, + "OsTick", + COUNTER_TYPE_HARD, + COUNTER_UNIT_NANO, + 0xffff, + 1, + 0, + 0), +}; + +CounterType Os_Arc_OsTickCounter = COUNTER_ID_OsTick; + +// ################################## ALARMS ################################ +GEN_ALARM_AUTOSTART(ALARM_ID_Alarm_4ms, ALARM_AUTOSTART_ABSOLUTE, 100, 4, OSDEFAULTAPPMODE ); + + +GEN_ALARM_HEAD { + GEN_ALARM( ALARM_ID_Alarm_4ms, + "Alarm_4ms", + COUNTER_ID_OsTick, + GEN_ALARM_AUTOSTART_NAME(ALARM_ID_Alarm_4ms), + ALARM_ACTION_SETEVENT, + TASK_ID_etask_1, + EVENT_MASK_EVENT_2, + NULL ), +}; + +// ################################ RESOURCES ############################### +GEN_RESOURCE_HEAD { +}; + +// ############################## STACKS (TASKS) ############################ +DECLARE_STACK(OsIdle,OS_OSIDLE_STACK_SIZE); +DECLARE_STACK(btask_3,2048); +DECLARE_STACK(etask_1,2048); +DECLARE_STACK(etask_2,2048); + +// ################################## TASKS ################################# +GEN_TASK_HEAD { + GEN_ETASK( OsIdle, + 0, + FULL, + TRUE, + NULL, + 0 + ), + GEN_BTASK( + btask_3, + 3, + FULL, + FALSE, + NULL, + 0, + 1 + ), + + GEN_ETASK( + etask_1, + 1, + FULL, + TRUE, + NULL, + 0 + ), + + + GEN_ETASK( + etask_2, + 2, + FULL, + TRUE, + NULL, + 0 + ), + + +}; + +// ################################## HOOKS ################################# +GEN_HOOKS( + StartupHook, + NULL, + ShutdownHook, + ErrorHook, + PreTaskHook, + PostTaskHook +); + +// ################################## ISRS ################################## + + +// ############################ SCHEDULE TABLES ############################# + +// Table heads +GEN_SCHTBL_HEAD { +}; + +GEN_PCB_LIST() + +uint8_t os_interrupt_stack[OS_INTERRUPT_STACK_SIZE] __attribute__ ((aligned (0x10))); + +GEN_IRQ_VECTOR_TABLE_HEAD {}; +GEN_IRQ_ISR_TYPE_TABLE_HEAD {}; +GEN_IRQ_PRIORITY_TABLE_HEAD {}; + +#include "os_config_funcs.h" diff --git a/examples/tiny/config/mpc5554sim/Os_Cfg.h b/examples/tiny/config/mpc5554sim/Os_Cfg.h new file mode 100644 index 00000000..e662da38 --- /dev/null +++ b/examples/tiny/config/mpc5554sim/Os_Cfg.h @@ -0,0 +1,84 @@ +/* + * Configuration of module Os (Os_Cfg.h) + * + * Created by: ArcCore AB + * Configured for (MCU): Undefined MCU + * + * Module vendor: ArcCore + * Module version: 2.0.11 + * + * Copyright ArcCore AB 2010 + * Generated by Arctic Studio (http://arccore.com) + * on Wed Dec 01 23:08:30 CET 2010 + */ + + +#if (OS_SW_MAJOR_VERSION != 2) +#error "Os: Configuration file version differs from BSW version." +#endif + + +#ifndef OS_CFG_H_ +#define OS_CFG_H_ + + +// Alarm Id's +#define ALARM_ID_Alarm_4ms 0 + +// Counter Id's +#define COUNTER_ID_OsTick 0 + +// Counter macros +#define OSMAXALLOWEDVALUE_OsTick 65535 + + +// Event masks +#define EVENT_MASK_EVENT_0 0 +#define EVENT_MASK_EVENT_1 1 +#define EVENT_MASK_EVENT_2 2 + +// Isr Id's + +// Resource Id's + +// Linked resource id's + +// Resource masks + +// Task Id's +#define TASK_ID_OsIdle 0 +#define TASK_ID_btask_3 1 +#define TASK_ID_etask_1 2 +#define TASK_ID_etask_2 3 + +// Task entry points +void OsIdle( void ); +void btask_3( void ); +void etask_1( void ); +void etask_2( void ); + +// Schedule table id's + +// Stack size +#define OS_INTERRUPT_STACK_SIZE 2048 +#define OS_OSIDLE_STACK_SIZE 512 + +#define OS_ALARM_CNT 1 +#define OS_TASK_CNT 4 +#define OS_SCHTBL_CNT 0 +#define OS_COUNTER_CNT 1 +#define OS_EVENTS_CNT 3 +#define OS_ISRS_CNT 0 +#define OS_RESOURCE_CNT 0 +#define OS_LINKED_RESOURCE_CNT 0 + +#define CFG_OS_DEBUG STD_OFF + +#define OS_SC1 STD_ON +#define OS_STACK_MONITORING STD_ON +#define OS_STATUS_EXTENDED STD_ON +#define OS_USE_GET_SERVICE_ID STD_ON +#define OS_USE_PARAMETER_ACCESS STD_ON +#define OS_RES_SCHEDULER STD_ON + +#endif /*OS_CFG_H_*/ diff --git a/system/kernel/makefile b/system/kernel/makefile index aeb1102e..8e6ef338 100644 --- a/system/kernel/makefile +++ b/system/kernel/makefile @@ -2,7 +2,7 @@ #VPATH += $(ROOTDIR)/arch/arm/arm_cm3/kernel vpath-y += $(ARCH_PATH-y)/kernel -obj-y += asm_sample.o +#obj-y += asm_sample.o #CFLAGS_asm_sample.o += -O3 obj-y += arch_krn.o obj-$(CFG_HC1X) += arch_irq.o diff --git a/tools/t32/config.cmm b/tools/t32/config.cmm index 1f478bbd..4390b6be 100644 --- a/tools/t32/config.cmm +++ b/tools/t32/config.cmm @@ -125,7 +125,7 @@ dialog_project: pos 1. 1. 14. text "CPU:" pos 1. 2. 10. -CPU: PULLDOWN "mpc5516,mpc5554,mpc5633M,CortexM3,CortexR4F,HC12DG128A" +CPU: PULLDOWN "MPC5516,MPC5554,MPC5633M,CortexM3,CortexR4F,HC12DG128A" ( ) HEADER "Project config" @@ -144,6 +144,7 @@ P_PATH: EDIT "&cfg_project_path_g" "" DEFBUTTON "Cancel" "jumpto win_close" CLOSE "jumpto win_close" ) + stop save_close: &cfg_cpu_g=dialog.string(CPU) @@ -180,6 +181,8 @@ win_close: + + diff --git a/tools/t32/load.cmm b/tools/t32/load.cmm index df6942c9..7264e1a1 100644 --- a/tools/t32/load.cmm +++ b/tools/t32/load.cmm @@ -92,8 +92,7 @@ postload_CortexM3: r.s MSP 0x20005000 RETURN -postload_mpc5516: -postload_MPC5554: +postload_MPC5516: postload_MPC5554: postload_mpc5633M: RETURN @@ -172,5 +171,6 @@ path: + -- 2.39.2