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
aa6cf073
Commit
aa6cf073
authored
6 years ago
by
Alexandre Abadie
Browse files
Options
Downloads
Patches
Plain Diff
cpu/stm32l1: add definitions for internal eeprom
parent
fc9a853c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cpu/stm32l1/Makefile.features
+1
-0
1 addition, 0 deletions
cpu/stm32l1/Makefile.features
cpu/stm32l1/include/cpu_conf.h
+12
-0
12 additions, 0 deletions
cpu/stm32l1/include/cpu_conf.h
with
13 additions
and
0 deletions
cpu/stm32l1/Makefile.features
+
1
−
0
View file @
aa6cf073
FEATURES_PROVIDED
+=
periph_flash_common
FEATURES_PROVIDED
+=
periph_flashpage
FEATURES_PROVIDED
+=
periph_flashpage_raw
FEATURES_PROVIDED
+=
periph_eeprom
-include
$(RIOTCPU)/stm32_common/Makefile.features
This diff is collapsed.
Click to expand it.
cpu/stm32l1/include/cpu_conf.h
+
12
−
0
View file @
aa6cf073
...
...
@@ -93,6 +93,18 @@ extern "C" {
#define FLASHPAGE_RAW_ALIGNMENT (4U)
/** @} */
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_START_ADDR (0x08080000)
#if defined(CPU_MODEL_STM32L152RE)
#define EEPROM_SIZE (16384UL)
/* 16kB */
#elif defined(CPU_MODEL_STM32L151RC)
#define EEPROM_SIZE (8192U)
/* 8kB */
#endif
/** @} */
#ifdef __cplusplus
}
#endif
...
...
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