AT90USB1286 PIO cleanup and optimization (#11230)

-normalize `env` and `board` to lowercase naming convention.
-make board `name` follow descriptive convention.
-implement `-fsingle-precision-constant` compile optimization per https://github.com/MarlinFirmware/Marlin/pull/11178#issuecomment-401673901
-fix typo in 5DPRINT entry.
This commit is contained in:
Dave Johnson 2018-07-26 03:58:28 -07:00 committed by Scott Lahteine
parent 094e6d81a5
commit 8a24ff94d1
3 changed files with 13 additions and 13 deletions

View File

@ -252,21 +252,21 @@
// //
#elif MB(TEENSYLU) #elif MB(TEENSYLU)
#include "pins_TEENSYLU.h" // AT90USB1286, AT90USB1286P env:at90USB1286_CDC #include "pins_TEENSYLU.h" // AT90USB1286, AT90USB1286P env:at90usb1286_cdc
#elif MB(PRINTRBOARD) #elif MB(PRINTRBOARD)
#include "pins_PRINTRBOARD.h" // AT90USB1286 env:at90USB1286_DFU #include "pins_PRINTRBOARD.h" // AT90USB1286 env:at90usb1286_dfu
#elif MB(PRINTRBOARD_REVF) #elif MB(PRINTRBOARD_REVF)
#include "pins_PRINTRBOARD_REVF.h" // AT90USB1286 env:at90USB1286_DFU #include "pins_PRINTRBOARD_REVF.h" // AT90USB1286 env:at90usb1286_dfu
#elif MB(BRAINWAVE) #elif MB(BRAINWAVE)
#include "pins_BRAINWAVE.h" // AT90USB646 env:at90USB1286_CDC #include "pins_BRAINWAVE.h" // AT90USB646 env:at90usb1286_cdc
#elif MB(BRAINWAVE_PRO) #elif MB(BRAINWAVE_PRO)
#include "pins_BRAINWAVE_PRO.h" // AT90USB1286 env:at90USB1286_CDC #include "pins_BRAINWAVE_PRO.h" // AT90USB1286 env:at90usb1286_cdc
#elif MB(SAV_MKI) #elif MB(SAV_MKI)
#include "pins_SAV_MKI.h" // AT90USB1286 env:at90USB1286_CDC #include "pins_SAV_MKI.h" // AT90USB1286 env:at90usb1286_cdc
#elif MB(TEENSY2) #elif MB(TEENSY2)
#include "pins_TEENSY2.h" // AT90USB1286 env:teensy20 #include "pins_TEENSY2.h" // AT90USB1286 env:teensy20
#elif MB(5DPRINT) #elif MB(5DPRINT)
#include "pins_5DPRINT.h" // AT90USB1286 ?env:at90USB1286_DFU #include "pins_5DPRINT.h" // AT90USB1286 env:at90usb1286_dfu
// //
// LPC1768 ARM Cortex M3 // LPC1768 ARM Cortex M3

View File

@ -1,14 +1,14 @@
{ {
"build": { "build": {
"core": "teensy", "core": "teensy",
"extra_flags": "-DTEENSY2PP", "extra_flags": "-DTEENSY2PP -fsingle-precision-constant",
"f_cpu": "16000000L", "f_cpu": "16000000L",
"mcu": "at90usb1286" "mcu": "at90usb1286"
}, },
"frameworks": [ "frameworks": [
"arduino" "arduino"
], ],
"name": "at90USB1286.json", "name": "Atmel AT90USB1286 based",
"upload": { "upload": {
"maximum_ram_size": 8192, "maximum_ram_size": 8192,
"maximum_size": 122880, "maximum_size": 122880,

View File

@ -81,10 +81,10 @@ monitor_speed = 250000
# - SAV_MKI # - SAV_MKI
# - TEENSYLU # - TEENSYLU
# #
[env:at90USB1286_CDC] [env:at90usb1286_cdc]
platform = teensy platform = teensy
framework = arduino framework = arduino
board = at90USB1286 board = at90usb1286
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ldf_mode = deep+ lib_ldf_mode = deep+
@ -98,10 +98,10 @@ monitor_speed = 250000
# - PrintrBoard Rev.F # - PrintrBoard Rev.F
# - ? 5DPRINT ? # - ? 5DPRINT ?
# #
[env:at90USB1286_DFU] [env:at90usb1286_dfu]
platform = teensy platform = teensy
framework = arduino framework = arduino
board = at90USB1286 board = at90usb1286
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ldf_mode = deep+ lib_ldf_mode = deep+