1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

6 Commits

Author SHA1 Message Date
Marian Buschsieweke
750d3078e4
boards/common/arduino-atmega: Refactoring
- including `avrdude.mk` and `serial.mk` is no longer needed
- the avrdude flag -F is dropped
    - This allows flashing a board having an MCU different to the one
      RIOT was compiled for
    - It is better to let the user provide this flag manually if she/he really
      wants to turn safety off, knows what she/he is doing, and accepts the
      risk associated with this
- the avrdude flag -D is dropped
    - This disables issuing an erase command during flashing, however this
      erase cycle is strictly required to be able to program the flash
    - This is only needed in case of the stk500v2 bootloader, which implicitly
      does the erase cycle and fails if explicitly asked to do so
    - Only for the stk500v2 bootloader this flag is now added
2020-02-10 14:52:07 +01:00
Marian Buschsieweke
7bc9b4b707
boards/common/atmega: Refactoring periph_conf.h
- Moved code for periph_conf of all ATmega based boards to boards/common/atmega
- Added possibility to override config from individual board:
  - Named file `periph_conf_atmega_common.h` and let this be included from
    `board/$BOARD/include/periph_conf.h` to allow modifications
  - Guarded individual periph configs by `#ifndef $PERIPH_NUMOF` ... `#endif`
2019-02-25 18:48:09 +01:00
Francisco Acosta
1a98d64cd5 boards/arduino*: use common avrdude.inc.mk from atmega_common
Leverages common flasher (avrdude) and removes unnecessary exports.
Moreover, a reuse of serial.inc.mk is perfomed from the same
atmega_common/Makefile.include
2019-02-05 17:12:03 +01:00
cladmi
3f145413f5 boards/makefiles: Remove '-Otype' from OFLAGS
* Remove '-Oihex' and '-Obinary' from OFLAGS for all boards
  It is now provided by the Makefile.include rule.
2018-04-09 17:32:46 +02:00
Gaëtan Harter
72ddc72f2b make: cleanup HEXFILE/ELFFILE/BINFILE
* Use the existing variable when possible
* Remove duplicate definition
* Remove unused BINFILE variable
2018-03-27 16:02:48 +02:00
Hauke Petersen
0f155db499 boards/arduino-atmega: move shared code to common/arduino-atmega 2017-11-30 10:26:35 +01:00