Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
6ec835df
Commit
6ec835df
authored
10 years ago
by
Damien George
Browse files
Options
Downloads
Patches
Plain Diff
Don't print git hash as well as git tag in banner.
parent
1549f170
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
stmhal/pyexec.c
+1
-1
1 addition, 1 deletion
stmhal/pyexec.c
unix/main.c
+1
-1
1 addition, 1 deletion
unix/main.c
with
2 additions
and
2 deletions
stmhal/pyexec.c
+
1
−
1
View file @
6ec835df
...
...
@@ -155,7 +155,7 @@ int pyexec_friendly_repl(void) {
#endif
friendly_repl_reset:
stdout_tx_str
(
"Micro Python "
MICROPY_GIT_TAG
"
("
MICROPY_GIT_HASH
"
on "
MICROPY_BUILD_DATE
"
)
; "
MICROPY_HW_BOARD_NAME
" with STM32F405RG
\r\n
"
);
stdout_tx_str
(
"Micro Python "
MICROPY_GIT_TAG
" on "
MICROPY_BUILD_DATE
"; "
MICROPY_HW_BOARD_NAME
" with STM32F405RG
\r\n
"
);
stdout_tx_str
(
"Type
\"
help()
\"
for more information.
\r\n
"
);
// to test ctrl-C
...
...
This diff is collapsed.
Click to expand it.
unix/main.c
+
1
−
1
View file @
6ec835df
...
...
@@ -142,7 +142,7 @@ STATIC char *prompt(char *p) {
}
STATIC
void
do_repl
(
void
)
{
printf
(
"Micro Python "
MICROPY_GIT_TAG
"
("
MICROPY_GIT_HASH
"
on "
MICROPY_BUILD_DATE
"
)
; UNIX version
\n
"
);
printf
(
"Micro Python "
MICROPY_GIT_TAG
" on "
MICROPY_BUILD_DATE
"; UNIX version
\n
"
);
for
(;;)
{
char
*
line
=
prompt
(
">>> "
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment