summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-06 15:35:40 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-06 15:35:40 +0000
commit8fc0346a821d144d7073a68d76eb8dcf90deb59c (patch)
treec84ffa53f23bae04514902362526b72777de519b
parentbb5ede8152f14cc757ff4ee6f44ff3128c3ff144 (diff)
downloadnuttx-8fc0346a821d144d7073a68d76eb8dcf90deb59c.tar.gz
nuttx-8fc0346a821d144d7073a68d76eb8dcf90deb59c.tar.bz2
nuttx-8fc0346a821d144d7073a68d76eb8dcf90deb59c.zip
Script clobbered pascal test file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@638 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--nuttx/examples/pashello/hello.pas28
-rwxr-xr-xnuttx/examples/pashello/mkhello.sh2
2 files changed, 6 insertions, 24 deletions
diff --git a/nuttx/examples/pashello/hello.pas b/nuttx/examples/pashello/hello.pas
index 82f1f749c..fe137f1b6 100644
--- a/nuttx/examples/pashello/hello.pas
+++ b/nuttx/examples/pashello/hello.pas
@@ -1,23 +1,5 @@
-unsigned char hello_pex[] = {
- 0x50, 0x4f, 0x46, 0x46, 0x01, 0x01, 0x00, 0x00, 0x14, 0x00, 0x05, 0x00,
- 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00,
- 0x01, 0x06, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x7c, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x01, 0x03, 0x00, 0x00,
- 0x17, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8d, 0x00, 0x00, 0x00,
- 0x0f, 0x00, 0x00, 0x00, 0x05, 0x00, 0x04, 0x00, 0x1f, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x9c, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
- 0x06, 0x00, 0x08, 0x00, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0xa0, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00,
- 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0x00, 0x00, 0x00,
- 0x38, 0x00, 0x00, 0x00, 0xb1, 0x00, 0x00, 0x74, 0x0e, 0xf9, 0x00, 0x00,
- 0x25, 0xb5, 0xff, 0xfc, 0xf9, 0x00, 0x00, 0x20, 0x3f, 0x48, 0x65, 0x6c,
- 0x6c, 0x6f, 0x20, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x21, 0x21, 0x21, 0x00,
- 0x07, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x04, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x48, 0x45, 0x4c,
- 0x4c, 0x4f, 0x00, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2e, 0x70, 0x61, 0x73,
- 0x00, 0x2e, 0x74, 0x65, 0x78, 0x74, 0x00, 0x2e, 0x72, 0x6f, 0x64, 0x61,
- 0x74, 0x61, 0x00, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x74, 0x61, 0x62, 0x00,
- 0x2e, 0x6c, 0x69, 0x6e, 0x65, 0x6e, 0x6f, 0x00, 0x2e, 0x73, 0x74, 0x72,
- 0x74, 0x61, 0x62, 0x00
-};
-unsigned int hello_pex_len = 232;
+program hello(output);
+begin
+ writeln('Hello world!!!');
+end.
+
diff --git a/nuttx/examples/pashello/mkhello.sh b/nuttx/examples/pashello/mkhello.sh
index 7dfa6bbab..c2656344c 100755
--- a/nuttx/examples/pashello/mkhello.sh
+++ b/nuttx/examples/pashello/mkhello.sh
@@ -130,7 +130,7 @@ function test_hello ()
function make_include ()
{
- xxd -i hello.pex >hello.pas
+ xxd -i hello.pex >hello.h
}
sanity_check