• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

テスト用のあれこれ共用フォルダ


Commit MetaInfo

Revisión6d0f2ff74adfd3a64189284168a1e36e86d4d565 (tree)
Tiempo2018-08-10 13:12:02
Autortakemasa <suikan@user...>
Commitertakemasa

Log Message

Added CMSIS-5 dsp setting as here-document

Cambiar Resumen

Diferencia incremental

--- a/management/installation/install-spresense
+++ b/management/installation/install-spresense
@@ -39,4 +39,21 @@ popd
3939 cat ~/shared_foo/management/installation/terminal.template | sed -e 's/baudrate/115200/' | sed -e 's/devname/ttySPRESENSE/' > ~/spresense/sdk/terminal
4040 chmod +x ~/spresense/sdk/terminal
4141
42+# Additional definition to use CMSIS-5-DSP
43+cat >> /home/takemasa/spresense/sdk/Make.defs <<-'EOF'
44+
45+ CFLAGS += -I$(SDKDIR)/../CMSIS_5/CMSIS/DSP/Include
46+ CFLAGS += -I$(SDKDIR)/../CMSIS_5/CMSIS/Core/Include
47+ CFLAGS += -DARM_MATH_CM4
48+ CFLAGS += -D__FPU_PRESENT=1
49+
50+ CXXFLAGS += -I$(SDKDIR)/../CMSIS_5/CMSIS/DSP/Include
51+ CXXFLAGS += -I$(SDKDIR)/../CMSIS_5/CMSIS/Core/Include
52+ CXXFLAGS += -DARM_MATH_CM4
53+ CXXFLAGS += -D__FPU_PRESENT=1
54+
55+ EXTRA_LIBS += -larm_cortexM4lf_math
56+ EXTRA_LIBPATHS += -L$(SDKDIR)/../CMSIS_5/CMSIS/Lib/GCC
57+
58+EOF
4259