From 7e73509ef9ab4a77466bc41a563b8193329f934a Mon Sep 17 00:00:00 2001 From: arighi Date: Tue, 25 May 2010 08:54:40 +0000 Subject: [PATCH] arduino: use default build options for "empty" preset template. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3820 38d2e660-2303-0410-9eaa-f027e97ec537 --- boards/arduino/templates/empty/empty_user.mk | 3 +-- boards/arduino/templates/empty/project.bertos | 20 ++++++++++--------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/boards/arduino/templates/empty/empty_user.mk b/boards/arduino/templates/empty/empty_user.mk index 03b17d6d..4c8ed7ef 100644 --- a/boards/arduino/templates/empty/empty_user.mk +++ b/boards/arduino/templates/empty/empty_user.mk @@ -4,7 +4,7 @@ # # Programmer interface configuration, see http://dev.bertos.org/wiki/ProgrammerInterface for help -empty_PROGRAMMER_TYPE = arduino +empty_PROGRAMMER_TYPE = none empty_PROGRAMMER_PORT = none # Files included by the user. @@ -38,7 +38,6 @@ empty_USER_CPPAFLAGS = \ # Flags included by the user. empty_USER_CPPFLAGS = \ - -O2 \ -fno-strict-aliasing \ -fwrapv \ # diff --git a/boards/arduino/templates/empty/project.bertos b/boards/arduino/templates/empty/project.bertos index e7c3dfd2..80c22f45 100644 --- a/boards/arduino/templates/empty/project.bertos +++ b/boards/arduino/templates/empty/project.bertos @@ -58,22 +58,24 @@ aS'signal' p29 aS'timer' p30 -asS'CPU_NAME' +aS'debug' p31 -VATmega328P +asS'CPU_NAME' p32 -sS'PROJECT_HW_PATH' +VATmega328P p33 -S'../..' +sS'PROJECT_HW_PATH' p34 -sS'PROJECT_SRC_PATH' +S'../..' p35 -S'.' +sS'PROJECT_SRC_PATH' p36 -sS'PRESET' +S'.' p37 +sS'PRESET' +p38 I01 sS'OUTPUT' -p38 -(lp39 +p39 +(lp40 s. \ No newline at end of file -- 2.25.1