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

83 Commits

Author SHA1 Message Date
Marian Buschsieweke
fdba678045
boards/waspmote-pro: deprecate board
The board has history of bugs that (such as broken timer configuration)
that would directly bite any users, but still have gone unnoticed for
significant time periods due to lack of testing. It appears, that none
of the core contributors has access to the boards and the number of
users is limited.
2024-05-06 09:29:16 +02:00
Marian Buschsieweke
162bb6eb41
boards/waspmote-pro: fix ztimer config 2024-04-30 18:44:45 +02:00
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Gunar Schorcht
26030e28af boards: remove extern mtd_dev_t* Declarations 2023-12-07 15:32:49 +01:00
Marian Buschsieweke
043e8cc88e
boards,sys/arduino: major clean up
- Rename all `arduino_pinmap.h` to `arduino_iomap.h`
    - An empty `arduino_pinmap.h` that just includes `arduino_iomap.h`
      is provided for backward compatibility
    - Move all info from `arduino_board.h` into the new file as trivial
      macros, so that they can also be used outside of sketches
    - The new name reflects the fact not just pin mappings, but also
      other I/O features such as PWMs are mapped
- Drop all `arduino_board.h`
    - `arduino_board.h` and `arduino_iomap.h` now provide the exact
      same information, just in a different format
    - a generic `arduino_board.h` is provided instead that just
      uses the info in `arduinio_iomap.h` and provides them in the
      format the code in `sys/arduino` expects it
- Add fine grained features to indicate for mappings
    - availability of mappings for analog pins, DAC pins, PWM pins,
      UART devices, SPI/I2C buses to the corresponding RIOT
      identification can now be expressed:
        - `arduino_pins`: `ARDUINO_PIN_0` etc. are available
        - `arduino_analog`: `ARDUINO_A0` etc. are available
        - `arduino_pwm`: `ARDUINO_PIN_13_PWM_DEV` etc. are available
        - `arduino_dac`: `ARDUINO_DAC0` etc. are available
        - `arduino_uart`: `ARDUINO_UART_D0D1` or similar are available
        - `arduino_spi`: `ARDUINO_SPI_ISP` or similar are available
        - `arduino_i2c`: `ARDUINO_I2C_UNO` or similar are available
    - mechanical/electrical compatibility with specific form factors
      can now be expressed as features:
        - `aruino_shield_nano`: Arduino NANO compatible headers
        - `aruino_shield_uno`: Arduino UNO compatible headers
        - `aruino_shield_mega`: Arduino MEGA compatible headers
        - `aruino_shield_isp`: ISP header is available

This provides the groundwork to implement shield support as modules
that can rely on the I/O mappings, rather than having to provide a
configuration per board.
2023-06-26 17:24:07 +02:00
Benjamin Valentin
b1feb0fd93 boards/waspmote-pro: make use of mtd_sdcard_default 2023-02-05 19:05:43 +01:00
J. David Ibáñez
1ce7537d9e
boards/waspmote-pro: add sdcard configuration 2022-09-23 18:09:12 +02:00
Karl Fessel
05f114d0af doc: fix unbalaced grouping
- most were trivial
    - missing group close or open
    - extra space
    - no doxygen comment
- name commad might open an implicit group
    this hould also be implicit cosed but does not happen somtimes
- crazy: internal declared groups have to be closed internal
2022-09-14 15:05:25 +02:00
Benjamin Valentin
5d111e71aa boards: drop board_init() from board.h 2022-02-25 15:08:58 +01:00
Benjamin Valentin
468ea89953 boards: drop LED init
This is handled by periph_init_leds now
2022-02-18 14:35:43 +01:00
Leandro Lanzieri
f684ecfd5c
boards: model avr-based boards Kconfig
Modelled boards:

arduino-duemilanove
arduino-leonardo
arduino-mega2560
arduino-nano
arduino-uno
atmega1284p
atmega256rfr2-xpro
atmega328p-xplained-mini
atmega328p
atxmega-a1-xplained
atxmega-a1u-xpro
atxmega-a3bu-xplained
avr-rss2
derfmega128
derfmega256
mega-xplained
microduino-corerf
zigduino
2021-11-22 12:25:30 +01:00
Benjamin Valentin
fc88c4c4e5 boards: drop cpu_init() 2021-10-13 23:36:41 +02:00
Gerson Fernando Budke
d041199825 cpu/avr8_common: Move irq_enable from board to cpu
Some mega boards enabling global irq at board_init.  This moves that
responsability to cpu/avr8_common to create a common point to all
variants.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-15 20:16:10 -03:00
64b6314807
boards/atmega: cleanup BOOTLOADER variables definitions 2021-02-02 14:10:03 +01:00
f8822b5f8f
boards: remove not need PORT_LINUX/PORT_DARWIN
They defined the same in serial.inc.mk. Some Darwin default are changed because they are probably wrong
2020-12-02 09:20:57 +01:00
J. David Ibáñez
00d4ffd934 boards/waspmote-pro: add arduino feature to Kconfig 2020-10-29 18:03:38 +01:00
J. David Ibáñez
dbb397aedf boards/waspmote-pro: add arduino feature
Fixes #15232
2020-10-29 15:41:43 +01:00
Marian Buschsieweke
f465ada642
boards/waspmote: Update XTIMER{,_ISR}_BACKOFF 2020-09-23 20:12:06 +02:00
Marian Buschsieweke
d5c0e30a11
boards/waspmote: Fix timer config
- Set XTIMER_HZ to something that is actually possible to generate with one
  of the available clock dividers from the core frequency
- Use xtimer_on_ztimer if xtimer is used and not ztimer_xtimer_compat is used
    - This is needed because xtimer is simply not compatible with any of the
      possible clock frequencies of this board
2020-09-23 20:12:06 +02:00
Leandro Lanzieri
740e83b163
boards/waspmote-pro: Add Kconfig symbols 2020-06-22 17:09:03 +02:00
Marian Buschsieweke
4d1a5b9256
cpu/atmega_common: Drop legacy include
Drop `#include "irq.h"` in `cpu.h`, which was there for a legacy work around.
A bunch of missing includes of `irq.h` materialized due to this and were
fixed.
2020-05-15 11:24:28 +02:00
Marian Buschsieweke
edd93411fe
dist: De-duplicated AVR debug config & scripts
Use common debug.sh, debug_srv.sh and gdb.conf for all AVR boards.
2020-03-10 12:54:51 +01:00
Marian Buschsieweke
fec0f8dd48
boards/waspmote-pro: Refactor avrdude conf 2020-02-10 21:48:03 +01:00
Sören Tempel
8485c535d5 waspmote-pro: don't build the boards_common_atmega module
Only include its headers. Without this change board_init would be
defined twice. Once in `boards/waspmote-pro/board.c` and the other time
`boards/common/atmega/board.c`.
2020-01-29 12:32:16 +01:00
27f2a19f72
boards/atmega: remove useless provided gpio features
These features are provided at CPU level
2019-10-17 21:42:49 +02:00
49967b2c4a
boards/avr/dist: setsid can be set with env variable 2019-10-03 12:43:49 +02:00
Francisco
6d800ed85a
Merge pull request #11366 from maribu/early_stdio_atmega
cpu/atmega_common: Moved atmega_stdio_init() to cpu_init()
2019-09-09 10:22:53 +03:00
Gaëtan Harter
636285ebe4
boards: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-08-20 16:11:50 +02:00
Robert Hartung
09b26120fd boards: adds atmega pin change interrupt to doc 2019-08-01 09:35:35 +02:00
Marian Buschsieweke
ca5e196e78
cpu/atmega_common: Move stdio_init() to cpu_init()
Moving atmega_stdio_init() to cpu_init() just before periph_init() guarantees
that stdio is available to allow DEBUG() in periph_init(). This also helps to
unify the boot up process of ATmega boards and de-duplicates the stdio init from
board_init().
2019-04-10 10:18:43 +02:00
Sebastian Meiling
d29d336894
Merge pull request #11039 from maribu/avrdude
makefiles/tools: Improved avrdude integration
2019-02-28 22:15:30 +02:00
Marian Buschsieweke
4abc41a227
makefiles/tools: Automatically set avrdude target
The CPU variable in the boards Makefile.include file already contains the target
CPU, so there is no reason to provide it in each board again as avrdude flag.

This commit automatically sets the avrdude target from the CPU variable and
removes the unneeded flags.
2019-02-28 20:55:04 +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
7139393394 boards: include potential features from CPU for atmega boards
Features must be provided by the board if they're actually
available on board. Other features might be provided by the
CPU.

Some grouping is also removed as it is not necessary.
2019-02-05 17:12:04 +01:00
Francisco Acosta
d208cba464 boards: leverage avrdude.inc.mk for atmega based boards.
Additionally, it removes unnecessary exports and cleans up
waspmote-pro toolchain variables (not needed) which are taken
from atmega_common.
2019-02-05 17:12:04 +01:00
Sebastian Meiling
0edf76d362
Merge pull request #9984 from kaspar030/refactor_atmega_libc
cpu/atmega_common: refactor AVR libc code into module
2019-01-22 08:41:37 +01:00
7313525035 atmega_common: refactor avr-libc-extra into avr_libc_extra module 2019-01-21 14:37:08 +01:00
smlng
262a04c9cf atmega: fix periph timer configuration
- correct number of timers for atmega328p from 2 to 1
- correct number of timer channels for atmega328p from 3 to 2
- adapt atmega periph timer implementation accordingly
2018-11-29 09:30:44 +01:00
Francisco Acosta
956ae521dc boards: add atmega based boards clock scale defaults
The `atmega_set_prescaler` was using a "sensible" default
but it's better to define it at the board level to make
it clear.
2018-11-02 16:24:30 +01:00
Francisco Acosta
5823f69123 boards: add LED_PANIC to atmega based boards
This adds a LED_PANIC macro which defines which LED,
or combination of LEDs should notify a panic error.
This is currently used to signal BADISR_vect errors.
2018-11-02 16:23:48 +01:00
cladmi
b450141d4d
boards: unconditionally include CPU/Makefile.features
The file always exist so no need to do '-include'.

Replaced using:

    sed -i 's|-\(include $(RIOTCPU)/.*/Makefile.features\)|\1|' \
        $(git grep -l  '$(RIOTCPU)/.*/Makefile.features' boards)
2018-10-11 17:13:40 +02:00
cladmi
3bf71959d7
waspmote-pro: configure BOOTLOADER_SIZE
Size is from Francisco knowledge on stk500v1.
2018-09-05 12:20:51 +02:00
Joakim Nohlgård
8996cbe313 make: Introduce new feature flag periph_gpio_irq 2018-08-29 08:53:20 +02:00
Hauke Petersen
c2184f3454 boards/cpu/drivers/sys: use generic stdio_ if 2018-08-22 10:54:25 +02:00
Kevin Weiss
8468fe1c94
Merge pull request #8516 from jia200x/wiki_dox_convertion
doc: move wiki to Doxygen documentation (second attempt)
2018-08-07 13:27:04 +02:00
Jose Alamos
7b28fbf110 boards: fix Doxygen group directives 2018-08-01 15:24:55 +02:00
Jose Alamos
a1e17ab5af doc: add wiki documentation to Doxygen files 2018-08-01 15:24:54 +02:00
c26888c9f7 boards: adapt atmega boards with new i2c API 2018-07-25 12:01:39 +02:00
Matthew Blue
d3d2f0212d boards/waspmote-pro: remove context swap defines 2018-05-03 17:29:28 -04:00
70802fc652 boards*: cleanup doxygen
- replace brief with name where required
- remove some unwanted empty lines
- fix missing closing doxygen name block
2018-04-18 12:08:56 +02:00