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

25 Commits

Author SHA1 Message Date
18bc6492fd
boards/msba2: adapt to new lpc23xx CPU name 2020-07-16 17:01:10 +02:00
Benjamin Valentin
4d5d3eb9e6 boards/msba2: hook up i2c
I2C is not used by any chip on the board, but I2C2 is availiable
on the JP3 connector (shared with UART2).

 - SDA: P0.10
 - SCL: P0.11
2020-02-26 23:41:38 +01:00
Benjamin Valentin
9c0dfaada9 boards/msba2: add ADC configuration
ADC pins are on the AD/DA pins (JP8).
Configure AD0.0 - AD0.2 as laid out on the board schematics.
2020-02-10 13:25:26 +01:00
Benjamin Valentin
60686c96dc boards/common: clean up msba2 common files
The 'msba2' common files have accumulated many empty files are files that
do nothing.
This makes reasoning about the boards needlessly difficult.

Trim down on `common/msba2/` so that it now only contains the setup for the
UART/bootloader based flashing.

This should eventuelly be moved to `makefiles/tools/`
2019-11-16 11:57:15 +01:00
Marian Buschsieweke
9a0657af9b
boards: Refactored avsextrem & msba2
- Removed features already provided at CPU level
- Sorted features alphabetically
2019-11-08 14:02:42 +01:00
cladmi
5b00d3a942
boards/msba2-based: use common/msba2/Makefile.features
Introduce and use a common/msba2/Makefile.features.
The boards were already using the common `Makefile.include` and
`Makefile.dep`.

This makes 'include $(RIOTCPU)/lpc2387/Makefile.features' be done in
the same module where 'CPU' is defined.

Preparation for moving 'CPU' definition to Makefile.features.
2019-07-01 18:09:57 +02:00
a68f78bb10
boards/*: remove unused FEATURES_MCU_GROUP variable 2019-06-14 11:32:15 +02: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
Joakim Nohlgård
8996cbe313 make: Introduce new feature flag periph_gpio_irq 2018-08-29 08:53:20 +02:00
ae51dc55d0 boards: adapt to reorganized CPU Makefile.features 2017-11-02 12:59:46 +01:00
02e055fc81 make: include cpu Makefile.features from board Makefile.features 2017-09-14 13:15:52 +02:00
Hauke Petersen
eb46b6b80d boards/msba2: adjusted to UART changes 2015-10-27 14:59:38 +01:00
Hauke Petersen
528e832c90 boards: cleaned up entries in Makefile.features 2015-10-21 16:45:21 +02:00
Hauke Petersen
a052f5515f boards/msba2: added periph timer configuration 2015-09-04 15:32:50 +02:00
4dd63dd24e cpu: lpc2387: add periph/spi support 2015-08-14 16:50:41 +02:00
3c5f31eb95 cpu: lpc2387: add periph/gpio imlementation 2015-08-14 16:50:41 +02:00
Hauke Petersen
bff1d7e73e boards: remove feature 'transceiver' 2015-08-06 12:13:54 +02:00
Tom Van den Eynde
087b3e6b85 boards/msba2: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:13:13 +01:00
Philipp Rosenkranz
02d0c88284 tests/travis: split buildtests into MCU groups. 2015-02-22 15:04:52 +01:00
Oleg Hahm
d798539f86 make: boards: add feature config to Makefiles 2014-12-22 20:34:40 +01:00
Oleg Hahm
60cd0d357d periph_rtc: streamline lpc2387 and cc430 naming 2014-12-16 17:02:44 +01:00
Martin
bfaacbbd38 cpu/arm_common: c++: initial support for c++ added _kill (weak) and weak attribute for _kill_r
boards/msba2: provided c++ feature (cpp)
2014-12-03 07:30:29 +01:00
René Kijewski
765c88d08a make: allow drivers to implement features
This change allows drivers (or any module for that matter) to provide
features. This is e.g. useful if a board does not have a transceiver,
but your application uses `USEMODULE += some_driver`, which implements
the transceiver interface.

The line `FEATURES_PROVIDED += some_feature` should go to the guarded
block in `{sys,drivers}/Makefile.include`.
2014-10-26 23:54:10 +01:00
Ludwig Ortmann
b3ecfd0a6e make: introduce and use periph_pwm feature 2014-10-16 19:35:41 +02:00
René Kijewski
f49bd3e660 make: add Makefile.features telling the BOARDs' features
Please see #1715.
Closes #1715.

This PR implements the new Makefile variables "FEATURES_PROVIDED" and
"FEATURES_REQUIRED". A board *can* have a new file `Makefile.features`
which looks like:

```make
FEATURES_PROVIDED = transceiver
```

An application can have a corresponding line

```make
FEATURES_REQUIRED = transceiver
```

If the selected BOARD does not fulfil the requirements of the
application, then a *warning* is issued at compile time.

This change only includes the feature "transceiver", further features
are expected to be listed in further PRs. The requirement "transceiver"
is automatically added if the application uses the module
"defaulttransceiver".

`make buildtest` understands the new feature listing, so the user won't
need to add boards to `BOARD_BLACKLIST` manually.

Part of the change are the added Make targets
* `info-features-missing`, which prints the required features
  `\setminus` the provided features. The output is empty if there are no
  features missing.
* `info-boards-features-missing`, the same as `info-features-missing`
  but as a table for all boards, but heeded `BOARD_WHITELIST` and
  `BOARD_BLACKLIST`.

Applications don't have to use this new feature. This change does not
break existing Makefile.
2014-10-06 17:42:11 +02:00