Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
multipass
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
derf
multipass
Commits
0eee4b0b
Commit
0eee4b0b
authored
4 years ago
by
Birte Kristina Friesel
Browse files
Options
Downloads
Patches
Plain Diff
arduino nano: add cpu frequency to kconfig
parent
8f1b5c41
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
src/arch/arduino-nano/Kconfig
+9
-0
9 additions, 0 deletions
src/arch/arduino-nano/Kconfig
src/arch/arduino-nano/Makefile.inc
+4
-0
4 additions, 0 deletions
src/arch/arduino-nano/Makefile.inc
with
13 additions
and
0 deletions
src/arch/arduino-nano/Kconfig
+
9
−
0
View file @
0eee4b0b
# Copyright 2020 Daniel Friesel
#
# SPDX-License-Identifier: CC0-1.0
config arch_arduino_nano_cpufreq
int "CPU Frequency"
#!accept [62500, 125000, 250000, 500000, 1000000, 2000000, 4000000, 8000000, 16000000]
range 62500 16000000
default 16000000
help
Assumes an externel 16MHz crystal to be present
config arch_arduino_nano_driver_adc
bool "ADC (Analog-Digital-Converter)"
select meta_driver_adc
...
...
This diff is collapsed.
Click to expand it.
src/arch/arduino-nano/Makefile.inc
+
4
−
0
View file @
0eee4b0b
...
...
@@ -13,6 +13,10 @@ ifdef CONFIG_arch_arduino_nano_mega168
BAUD
=
19200
endif
ifdef
CONFIG_arch_arduino_nano_cpufreq
cpu_freq
=
${
CONFIG_arch_arduino_nano_cpufreq
}
endif
cpu_freq
?=
16000000
COMMON_FLAGS
+=
-Werror
=
overflow
...
...
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