Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
42390758
Commit
42390758
authored
8 years ago
by
Oleg Hahm
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #6406 from kYc0o/xbee_fixes
Xbee fixes
parents
5f26171e
51e0aaed
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
drivers/xbee/xbee.c
+2
-2
2 additions, 2 deletions
drivers/xbee/xbee.c
examples/gnrc_minimal/Makefile
+5
-5
5 additions, 5 deletions
examples/gnrc_minimal/Makefile
tests/driver_xbee/Makefile
+9
-1
9 additions, 1 deletion
tests/driver_xbee/Makefile
with
16 additions
and
8 deletions
drivers/xbee/xbee.c
+
2
−
2
View file @
42390758
...
@@ -41,11 +41,11 @@
...
@@ -41,11 +41,11 @@
/**
/**
* @brief Delay when entering command mode, must be > 1s
* @brief Delay when entering command mode, must be > 1s
*/
*/
#define ENTER_CMD_MODE_DELAY (1100U *
1000U
)
#define ENTER_CMD_MODE_DELAY (1100U
L
*
US_PER_MS
)
/**
/**
* @brief Delay when resetting the device, 10ms
* @brief Delay when resetting the device, 10ms
*/
*/
#define RESET_DELAY (10U *
1000U
)
#define RESET_DELAY (10U
L
*
US_PER_MS
)
/**
/**
* @brief Timeout for receiving AT command response
* @brief Timeout for receiving AT command response
...
...
This diff is collapsed.
Click to expand it.
examples/gnrc_minimal/Makefile
+
5
−
5
View file @
42390758
...
@@ -13,15 +13,15 @@ BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h
...
@@ -13,15 +13,15 @@ BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h
#USEMODULE += xbee
#USEMODULE += xbee
## set default UART to use in case none was defined
## set default UART to use in case none was defined
#XBEE_UART ?= "
UART_NUMOF-
1"
#XBEE_UART ?= "1"
## export UART to params file
## export UART to params file
#CFLAGS += -DXBEE_UART=$(XBEE_UART)
#CFLAGS += -DXBEE_UART=$(XBEE_UART)
#
#
add current directory to the include path. Putting it in CFLAGS will make
#
Comment this out to disable code in RIOT that does safety checking
#
#
it go to the beginning, before the standard includes.
#
which is not needed in a production environment but helps in the
#
#
That way xbee_params.h get's included and auto configuration can pick it up.
#
development process:
#
CFLAGS += -
I$(CURDIR)
CFLAGS
+=
-
DDEVELHELP
# Include packages that pull up and auto-init the link layer.
# Include packages that pull up and auto-init the link layer.
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
...
...
This diff is collapsed.
Click to expand it.
tests/driver_xbee/Makefile
+
9
−
1
View file @
42390758
...
@@ -16,11 +16,19 @@ USEMODULE += shell
...
@@ -16,11 +16,19 @@ USEMODULE += shell
USEMODULE
+=
shell_commands
USEMODULE
+=
shell_commands
# set default UART to use in case none was defined
# set default UART to use in case none was defined
XBEE_UART
?=
"
UART_NUMOF-
1"
XBEE_UART
?=
"1"
# export UART to params file
# export UART to params file
CFLAGS
+=
-DXBEE_UART
=
$(
XBEE_UART
)
CFLAGS
+=
-DXBEE_UART
=
$(
XBEE_UART
)
# No need of big buffer for this test
CFLAGS
+=
-DGNRC_PKTBUF_SIZE
=
512
# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
CFLAGS
+=
-DDEVELHELP
# add current directory to the include path. Putting it in CFLAGS will make
# add current directory to the include path. Putting it in CFLAGS will make
# it go to the beginning, before the standard includes.
# it go to the beginning, before the standard includes.
# That way xbee_params.h get's included and auto configuration can pick it up.
# That way xbee_params.h get's included and auto configuration can pick it up.
...
...
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