Changeset 421
- Timestamp:
- Mar 17, 2020, 1:51:50 PM (4 years ago)
- Location:
- ssp_armv6_m_gcc/trunk
- Files:
-
- 6 deleted
- 45 edited
- 11 copied
Legend:
- Unmodified
- Added
- Removed
-
ssp_armv6_m_gcc/trunk
-
Property svn:mergeinfo
set to
/ssp_armv6_m_gcc/branches/rubycfg merged eligible
-
Property svn:mergeinfo
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/MANIFEST
-
Property svn:mime-type
set to
text/plain; charset=utf-8
r86 r421 5 5 Makefile.prc 6 6 arm_m.h 7 prc.tf8 7 prc_cfg1_out.h 9 prc_check.t f8 prc_check.trb 10 9 prc_config.c 11 10 prc_config.h 12 prc_def.csv13 11 prc_insn.h 14 12 prc_kernel.h 13 prc_kernel.trb 15 14 prc_rename.def 16 15 prc_rename.h … … 18 17 prc_stddef.h 19 18 prc_support.S 19 prc_sym.def 20 20 prc_test.h 21 prc_timer.c 21 22 prc_timer.cfg 22 prc_timer.c23 23 prc_timer.h 24 24 prc_unrename.h -
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/Makefile.prc
-
Property svn:mime-type
set to
text/plain; charset=utf-8
r86 r421 1 1 # 2 2 # @(#) $Id: Makefile.prc 1304 2008-08-27 07:28:36Z ertl-honda $ 3 # 3 # 4 4 5 5 # … … 7 7 # 8 8 9 PRCDIR = $(SRCDIR)/arch/$(PRC)_$(TOOL) 10 9 11 # 10 12 # コンパイルオプション 11 13 # 12 INCLUDES := $(INCLUDES) -I$(SRCDIR)/arch/$(PRC)_$(TOOL)/ 13 LDFLAGS := -nostdlib $(LDFLAGS) 14 COPTS := $(COPTS) 14 15 CDEFS := $(CDEFS) -DTOPPERS_LABEL_ASM 16 INCLUDES := $(INCLUDES) -I$(PRCDIR) 17 LDFLAGS := -nostdlib $(LDFLAGS) 15 18 LIBS := $(LIBS) -lgcc 16 19 … … 18 21 # カーネルに関する定義 19 22 # 20 KERNEL_DIR := $(KERNEL_DIR) $(SRCDIR)/arch/$(PRC)_$(TOOL)23 KERNEL_DIRS := $(KERNEL_DIRS) $(PRCDIR) 21 24 KERNEL_ASMOBJS := $(KERNEL_ASMOBJS) prc_support.o 22 25 KERNEL_COBJS := $(KERNEL_COBJS) prc_config.o prc_timer.o 26 KERNEL_CFLAGS := $(KERNEL_CFLAGS) 23 27 24 28 # 25 29 # コンフィギュレータ関係の変数の定義 26 30 # 27 CFG_TABS := $(CFG_TABS) --cfg1-def-table $(SRCDIR)/arch/$(PRC)_$(TOOL)/prc_def.csv 31 CFG_TABS := $(CFG_TABS) --symval-table $(PRCDIR)/prc_sym.def 32 CFG1_OUT_LDFLAGS := $(CFG1_OUT_LDFLAGS) 33 CFG_OBJS := $(CFG_OBJS) 34 CFG2_OUT := $(CFG2_OUT) 28 35 29 36 # 30 37 # 依存関係の定義 31 38 # 32 cfg1_out.c: $(SRCDIR)/arch/$(PRC)_$(TOOL)/prc_def.csv 33 kernel_cfg.timestamp: $(SRCDIR)/arch/$(PRC)_$(TOOL)/prc.tf 39 cfg1_out.c: $(PRCDIR)/prc_sym.def 40 kernel_cfg.timestamp: $(PRCDIR)/prc_kernel.trb 41 check.timestamp: $(PRCDIR)/prc_check.trb 42 43 # 44 # その他 45 # 46 CLEAN_FILES := $(CLEAN_FILES) 47 REALCLEAN_FILES := $(REALCLEAN_FILES) -
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/arm_m.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/prc_cfg1_out.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/prc_config.c
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/prc_config.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/prc_insn.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/prc_kernel.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/prc_rename.def
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/prc_rename.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/prc_sil.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/prc_stddef.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/prc_support.S
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/prc_test.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/prc_timer.c
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/prc_timer.cfg
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/prc_timer.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/prc_unrename.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/prc_user.txt
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/armv6_m_gcc/start.S
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/E_PACKAGE
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/LPC812M101FDH20.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/MANIFEST
-
Property svn:mime-type
set to
text/plain; charset=utf-8
r86 r421 2 2 3 3 E_PACKAGE 4 LPC812M101FDH20.h 4 5 MANIFEST 5 6 Makefile.target 6 7 lpcxpresso_lpc812.h 7 8 lpcxpresso_lpc812.ld 8 LPC812M101FDH20.h 9 target.tf 9 openocd_lpc812max.cfg 10 10 target_cfg1_out.h 11 target_check.t f11 target_check.trb 12 12 target_config.c 13 13 target_config.h 14 target_ def.csv14 target_kernel.cfg 15 15 target_kernel.h 16 target_kernel.trb 16 17 target_rename.def 17 18 target_rename.h … … 22 23 target_stddef.h 23 24 target_support.S 25 target_sym.def 24 26 target_syssvc.h 25 27 target_test.h -
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/Makefile.target
-
Property svn:mime-type
set to
text/plain; charset=utf-8
r86 r421 13 13 # CMSIS を使うかどうか 14 14 # 15 16 15 USE_CMSIS = false 17 16 CMSIS_INCLUDE_PATH = /Users/saito/Documents/LPCXpresso_5.2.4/workspace/CMSIS_CORE_LPC8xx/inc … … 21 20 # MTB(Micro Trace Buffer)を使うかどうか 22 21 # 23 24 22 USE_MTB = false 25 23 MTB_BUF_SIZE = 64 … … 31 29 32 30 # 33 # 各セグメントの開始アドレスの定義31 # コンパイルオプション 34 32 # 33 COPTS := $(COPTS) -mcpu=cortex-m0 -mthumb 34 CDEFS := $(CDEFS) -D__NEWLIB__ 35 INCLUDES := $(INCLUDES) -I$(TARGETDIR) 36 LDFLAGS := $(LDFLAGS) 37 LIBS := $(LIBS) 35 38 36 39 # 37 # コンパイルオプション40 # システムサービスに関する定義 38 41 # 39 INCLUDES := $(INCLUDES) -I$(TARGETDIR) 40 CDEFS := $(CDEFS) -D__NEWLIB__ 41 COPTS := $(COPTS) -mcpu=cortex-m0 -mthumb 42 SYSSVC_DIRS := $(SYSSVC_DIRS) 43 SYSSVC_ASMOBJS := $(SYSSVC_ASMOBJS) 44 SYSSVC_COBJS := $(SYSSVC_COBJS) 45 SYSSVC_CFLAGS := $(SYSSVC_CFLAGS) 46 SYSSVC_LIBS := $(SYSSVC_LIBS) 42 47 43 48 # 44 49 # カーネルに関する定義 45 50 # 46 KERNEL_DIR := $(KERNEL_DIR) $(TARGETDIR)47 KERNEL_ASMOBJS := $(KERNEL_ASMOBJS) target_support.o 51 KERNEL_DIRS := $(KERNEL_DIRS) $(TARGETDIR) 52 KERNEL_ASMOBJS := $(KERNEL_ASMOBJS) target_support.o 48 53 KERNEL_COBJS := $(KERNEL_COBJS) target_config.o target_serial.o 49 54 KERNEL_CFLAGS := $(KERNEL_CFLAGS) -fno-strict-aliasing 50 51 #52 # システムサービスに関する定義53 #54 SYSSVC_DIR := $(SYSSVC_DIR)55 SYSSVC_COBJS := $(SYSSVC_COBJS)56 SYSSVC_CFLAGS := $(SYSSVC_CFLAGS)57 58 #59 # コンフィギュレータ関係の変数の定義60 #61 CFG_TABS := $(CFG_TABS) --cfg1-def-table $(TARGETDIR)/target_def.csv62 55 63 56 # … … 66 59 ifeq ($(ENABLE_TRACE),true) 67 60 COPTS := $(COPTS) -DTOPPERS_ENABLE_TRACE 68 KERNEL_DIR := $(KERNEL_DIR) $(SRCDIR)/arch/logtrace61 KERNEL_DIRS := $(KERNEL_DIRS) $(SRCDIR)/arch/logtrace 69 62 KERNEL_COBJS := $(KERNEL_COBJS) trace_config.o trace_dump.o 70 63 endif 64 65 # 66 # コンフィギュレータ関係の変数の定義 67 # 68 CFG_TABS := $(CFG_TABS) --symval-table $(TARGETDIR)/target_sym.def 69 CFG1_OUT_LDFLAGS := $(CFG1_OUT_LDFLAGS) 70 CFG_OBJS := $(CFG_OBJS) 71 CFG2_OUT := $(CFG2_OUT) 72 73 # 74 # -Wall オプションの省略 75 # -Wallを追加したくない場合に true に定義する 76 # 77 #OMIT_WARNING_ALL = true 78 79 # 80 # 最適化フラグの省略 81 # -O2を追加したくない場合に true に定義する 82 # 83 #OMIT_OPTIMIZATION = true 71 84 72 85 # … … 99 112 100 113 # 114 # 各セクションの先頭番地の指定 115 # 116 #TEXT_START_ADDRESS = 117 #DATA_START_ADDRESS = 118 119 # 101 120 # スタートアップモジュールに関する定義 102 121 # 122 123 # スタートアップモジュール 124 START_OBJS = 103 125 # リンカスクリプトに「STARTUP(start.o)」を記述したため,スタートアップモジュー 104 126 # ルの名前をHIDDEN_OBJSに定義する.また,LDFLAGSに-nostdlibを追加している. 105 #106 127 HIDDEN_OBJS = start.o 107 128 129 # スタートアップモジュールのコンパイルルール 130 $(START_OBJS): %.o: %.S 131 $(CC) -c $(CFLAGS) $(KERNEL_CFLAGS) $< 108 132 $(HIDDEN_OBJS): %.o: %.S 109 133 $(CC) -c $(CFLAGS) $(KERNEL_CFLAGS) $< 110 134 135 136 # スタートアップモジュールの依存関係作成ルール 137 $(START_OBJS:.o=.d): %.d: %.S 138 @$(PERL) $(SRCDIR)/utils/makedep -C $(CC) $(MAKEDEP_OPTS) \ 139 -O "$(CFLAGS) $(KERNEL_CFLAGS)" $< >> Makefile.depend 111 140 $(HIDDEN_OBJS:.o=.d): %.d: %.S 112 @$(PERL) $(SRCDIR)/utils/makedep -C $(CC) \113 141 @$(PERL) $(SRCDIR)/utils/makedep -C $(CC) $(MAKEDEP_OPTS) \ 142 -O "$(CFLAGS) $(KERNEL_CFLAGS)" $< >> Makefile.depend 114 143 115 144 LDFLAGS := -nostdlib $(LDFLAGS) --entry=_start … … 118 147 # 依存関係の定義 119 148 # 120 cfg1_out.c: $(TARGETDIR)/target_def.csv 121 kernel_cfg.timestamp: $(TARGETDIR)/target.tf 122 $(OBJFILE): $(TARGETDIR)/target_check.tf 149 cfg1_out.c: $(TARGETDIR)/target_sym.def 150 kernel_cfg.timestamp: $(TARGETDIR)/target_kernel.trb 151 check.timestamp: $(TARGETDIR)/target_check.trb 152 153 # 154 # その他 155 # 156 CLEAN_FILES := $(CLEAN_FILES) 157 REALCLEAN_FILES := $(REALCLEAN_FILES) 158 123 159 124 160 # -
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/lpcxpresso_lpc812.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
r86 r421 2 2 * TOPPERS/SSP Kernel 3 3 * Smallest Set Profile Kernel 4 * 4 * 5 5 * Copyright (C) 2013 by Naoki Saito 6 6 * Nagoya Municipal Industrial Research Institute, JAPAN 7 * 7 * 8 8 * 上記著作権者は,Free Software Foundation によって公表されている 9 9 * GNU General Public License の Version 2 に記述されている条件か,以 … … 26 26 * (4) 本ソフトウェアの利用により直接的または間接的に生じるいかなる損 27 27 * 害からも,上記著作権者を免責すること. 28 * 28 * 29 29 * 本ソフトウェアは,無保証で提供されているものである.上記著作権者は, 30 30 * 本ソフトウェアに関して,その適用可能性も含めて,いかなる保証も行わ 31 31 * ない.また,本ソフトウェアの利用により直接的または間接的に生じたい 32 32 * かなる損害に関しても,その責任を負わない. 33 * 33 * 34 34 */ 35 35 … … 58 58 59 59 // 外部オシレータを使用する(使用しない場合はコメントアウトする.クロック源はIRCとなる) 60 #define USE_EXTERNAL_OSCILLATOR60 //#define USE_EXTERNAL_OSCILLATOR 61 61 62 62 /* … … 92 92 // PLLの逓倍器および分周器のパラメータ 93 93 // 以下からダウンロードできるPLLパラメータ設定用Excelシートで算出した. 94 // http ://www.lpcware.com/content/nxpfile/lpc8xx-clock-and-pll-configuration-tool94 // https://community.nxp.com/docs/DOC-334793 95 95 // これによると,入力周波数が12MHzで60MHzのメインクロックを生成する場合,PSEL=2, MSEL=4 96 96 #define TVALUE_SYSCON_SYSPLLCTRL_MSEL (0x04) // MSEL = 4 -
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/lpcxpresso_lpc812.ld
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_cfg1_out.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_config.c
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_config.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_kernel.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_rename.def
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_rename.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_serial.c
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_serial.cfg
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_serial.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_sil.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_stddef.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_support.S
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_syssvc.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_test.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_timer.cfg
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_timer.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_unrename.h
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
-
ssp_armv6_m_gcc/trunk/lpcxpresso_lpc812_gcc/target_user.txt
-
Property svn:mime-type
set to
text/plain; charset=utf-8
-
Property svn:mime-type
set to
Note:
See TracChangeset
for help on using the changeset viewer.