Basic project setup
This commit is contained in:
parent
e6d3ad9e78
commit
2ff37d5991
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,4 @@
|
|||||||
|
.pioenvs
|
||||||
|
.piolibdeps
|
||||||
*.kicad_pcb-bak
|
*.kicad_pcb-bak
|
||||||
|
*.sublime-workspace
|
9
DeskControl.sublime-project
Normal file
9
DeskControl.sublime-project
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"folders":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"path": ".",
|
||||||
|
"file_exclude_patterns": ["*.sublime-project"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
23
platformio.ini
Normal file
23
platformio.ini
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
; PlatformIO Project Configuration File
|
||||||
|
;
|
||||||
|
; Build options: build flags, source filter
|
||||||
|
; Upload options: custom upload port, speed and extra flags
|
||||||
|
; Library options: dependencies, extra library storages
|
||||||
|
; Advanced options: extra scripting
|
||||||
|
;
|
||||||
|
; Please visit documentation for the other options and examples
|
||||||
|
; http://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
|
[env:atmega328]
|
||||||
|
platform = atmelavr
|
||||||
|
board = pro8MHzatmega328
|
||||||
|
framework = arduino
|
||||||
|
|
||||||
|
upload_protocol = usbtiny
|
||||||
|
upload_flags = -e
|
||||||
|
upload_speed = 19200
|
||||||
|
|
||||||
|
board_build.f_cpu = 8000000L
|
||||||
|
|
||||||
|
lib_deps =
|
||||||
|
Bounce2
|
4
src/main.cpp
Normal file
4
src/main.cpp
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
int main()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
1
upload.ps1
Normal file
1
upload.ps1
Normal file
@ -0,0 +1 @@
|
|||||||
|
& platformio run --target upload
|
Loading…
Reference in New Issue
Block a user