Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
contiki-ng
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
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
NATAF Emmanuel
contiki-ng
Commits
6c0bbc49
Commit
6c0bbc49
authored
13 years ago
by
Mariano Alvira
Browse files
Options
Downloads
Patches
Plain Diff
change mc1322x rtimers to 32-bit
hardcode a close default value for the RTC
parent
c773920d
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
cpu/mc1322x/rtimer-arch.h
+1
-1
1 addition, 1 deletion
cpu/mc1322x/rtimer-arch.h
platform/redbee-dev/contiki-conf.h
+5
-0
5 additions, 0 deletions
platform/redbee-dev/contiki-conf.h
platform/redbee-econotag/contiki-conf.h
+4
-0
4 additions, 0 deletions
platform/redbee-econotag/contiki-conf.h
with
10 additions
and
1 deletion
cpu/mc1322x/rtimer-arch.h
+
1
−
1
View file @
6c0bbc49
...
...
@@ -53,7 +53,7 @@
#if USE_32KHZ_XTAL
#define RTIMER_ARCH_SECOND 32768
#else
#define RTIMER_ARCH_SECOND
2000
/* bogus valu
e ---
you
should
set xmac_config after
calibrat
ion
*/
#define RTIMER_ARCH_SECOND
18778
/* clos
e --- should
get
calibrat
ed
*/
#endif
#define rtimer_arch_now() (*CRM_RTC_COUNT)
...
...
This diff is collapsed.
Click to expand it.
platform/redbee-dev/contiki-conf.h
+
5
−
0
View file @
6c0bbc49
...
...
@@ -89,6 +89,11 @@
/* end of mc1322x specific config. */
/* start of conitki config. */
/* Core rtimer.h defaults to 16 bit timer unless RTIMER_CLOCK_LT is defined */
typedef
unsigned
long
rtimer_clock_t
;
#define RTIMER_CLOCK_LT(a,b) ((signed long)((a)-(b)) < 0)
#define RIMEADDR_CONF_SIZE 8
/* EUI64 generation */
...
...
This diff is collapsed.
Click to expand it.
platform/redbee-econotag/contiki-conf.h
+
4
−
0
View file @
6c0bbc49
...
...
@@ -100,6 +100,10 @@
#define PLATFORM_HAS_LEDS 1
#define PLATFORM_HAS_BUTTON 1
/* Core rtimer.h defaults to 16 bit timer unless RTIMER_CLOCK_LT is defined */
typedef
unsigned
long
rtimer_clock_t
;
#define RTIMER_CLOCK_LT(a,b) ((signed long)((a)-(b)) < 0)
#define RIMEADDR_CONF_SIZE 8
/* EUI64 generation */
...
...
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