aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDan Kegel <[email protected]>2024-08-05 17:17:17 -0700
committerDan Kegel <[email protected]>2024-08-12 10:46:18 -0700
commit486b3435d1bf737dc25056687dabe0777f85873f (patch)
tree75171a886380545260e9ffb9405603b7c3395cb6
parent93d523b2ffbe76ebcf2eeb9c6578c43788d97200 (diff)
downloadtinygo-486b3435d1bf737dc25056687dabe0777f85873f.tar.gz
tinygo-486b3435d1bf737dc25056687dabe0777f85873f.zip
GNUMakefile: remove exception for programmmer, fix instance now found by 'make spell'
-rw-r--r--GNUmakefile2
-rw-r--r--compileopts/config.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 14283589c..50305b4dc 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -962,7 +962,7 @@ lint: ## Lint source tree
.PHONY: spell
spell: ## Spellcheck source tree
- go run github.com/client9/misspell/cmd/misspell -i 'ackward,devided,extint,programmmer,rela' $$( find . -depth 1 -type d | egrep -w -v 'lib|llvm|src/net' )
+ go run github.com/client9/misspell/cmd/misspell -i 'ackward,devided,extint,rela' $$( find . -depth 1 -type d | egrep -w -v 'lib|llvm|src/net' )
# https://www.client9.com/self-documenting-makefiles/
.PHONY: help
diff --git a/compileopts/config.go b/compileopts/config.go
index 67c773de1..634efa5bf 100644
--- a/compileopts/config.go
+++ b/compileopts/config.go
@@ -461,7 +461,7 @@ func (c *Config) BinaryFormat(ext string) string {
// Programmer returns the flash method and OpenOCD interface name given a
// particular configuration. It may either be all configured in the target JSON
-// file or be modified using the -programmmer command-line option.
+// file or be modified using the -programmer command-line option.
func (c *Config) Programmer() (method, openocdInterface string) {
switch c.Options.Programmer {
case "":