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

143 Commits

Author SHA1 Message Date
4c290e1f92
boards: remove include of serial.inc.mk 2020-12-02 09:20:57 +01:00
c6ad85a7b0
boards: don't include programmer logic at board level 2020-11-25 22:31:13 +01:00
Leandro Lanzieri
af68736798
boards/pba-d-01-kw2x: Add Kconfig symbols 2020-07-02 14:41:43 +02:00
Benjamin Valentin
dc58ef59ae boards: remove duplicate gnrc_netdev_default from Makefile.dep
`gnrc_netdev_default` will pull in `netdev_default`, so no need to
check for both in `Makefile.dep`
2020-05-05 09:58:45 +02:00
1aab4daf8f
boards*: fix position of openocd variable definitions 2020-04-07 11:38:53 +02:00
f3dd7e0e2a
boards*: don't export PRE_FLASH_CHECK_SCRIPT 2020-03-26 09:37:27 +01:00
91d883df47
boards*: don't export OPENOCD_PRE_VERIFY_CMDS 2020-03-26 09:31:21 +01:00
Gunar Schorcht
1fc18ab94f boards/pba-d-01-kw2x: fix broken links 2020-03-24 10:38:40 +01:00
f1ba22534a
boards: don't export globally OPENOCD_RESET_USE... 2020-03-03 11:42:19 +01:00
Michel Rottleuthner
9ec1a6fab5 boards/pba-d-01-kw2x: add config for tmp006 addr 2020-02-25 20:25:26 +01:00
Sebastian Meiling
85c01f2ebd boards: update supported features of pba-d-01-kw2x 2020-02-18 11:42:05 +01:00
Sebastian Meiling
867090c579 boards: update links in doc of pba-d-01-kw2x 2020-02-18 11:40:34 +01:00
Sebastian Meiling
a9cb3b637f boards: add pinout ref for pba-d-01-kw2x 2020-02-18 11:40:34 +01:00
Francisco
abdebaa86f
Merge pull request #11549 from cladmi/pr/pba_d_01_kw2x/fix_flashing
boards/pba-d-01-kw2x: fix flashing from invalid state
2019-09-23 13:09:02 +02:00
Gaëtan Harter
94dfc4dd94
boards/pba-d-01-kw2x: fix flashing from invalid state
When in an invalid state, the board could not flash anymore.
Like for example after flashing `tests/driver_adt7310` this makes it
flash again.

I used `reset_config srst_only` as the other kinetis boards are also
configured that way.
2019-09-02 15:56:14 +02:00
Gaëtan Harter
19290fe8b7
boards/pba-d-01-kw2x: rely on the common adapter selection code
Do not set 'OPENOCD_EXTRA_INIT' but rely on
'openocd/openocd-adapters/dap.inc.mk' to select the adapter.
Using 'OPENOCD_EXTRA_INIT' for this was deprecated.

When 'DEBUG_ADAPTER_ID' was set it was already the case but not with
'SERIAL'.
The compatibility with using 'SERIAL' is maintained.
2019-09-02 14:48:01 +02: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
Benjamin Valentin
8af04cd939 boards: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
a68f78bb10
boards/*: remove unused FEATURES_MCU_GROUP variable 2019-06-14 11:32:15 +02:00
francisco
9f43d632ba boards/pba-d-01-kw2x: add riotboot support 2019-06-06 11:59:55 +02:00
414c304f2b
boards/*: remove useless export when setting DEBUG_ADAPTER 2019-06-03 10:32:08 +02:00
Gaëtan Harter
e40d569204
kinetis: save 'wdog-disable.bin' binary in the repository
Keep the compiled '.bin' file to remove the need to compile it when
flashing. This remove the need to have the toolchain when flashing so
allow compiling and flashing with `BUILD_IN_DOCKER=1` without a local
toolchain.

Even if it ends up storing a binary, the file is only 34 bytes.
2019-05-28 14:37:11 +02:00
francisco
963bbe75ba kinetis/check-fcfield: merge hex and elf script 2019-05-27 17:38:46 +02:00
Juan Carrano
c6b8cbea00 kinetis-based-boards: use FLASHDEPS instead of flash: xxxx.
With the canned recipe for flashing, flash dependencies should be
added to FLASHDEPS, instead of writing `flash: dependencies`. This
ensures that both flash and flash-only depend on the same prerequisites.
2018-12-06 15:36:53 +01:00
Joakim Nohlgård
dd2fad6b9b kinetis: ADC: Add hardware averaging configuration
This allows a board configuration to select which kind of averaging
should be applied to the pin instead of always using 32 sample average.
Very high impedance sources may need to disable hardware averaging in
order to give correct values, the on-chip temperature sensor is one such
signal source.
2018-09-12 16:32:48 +02:00
cladmi
99a0664bf7
pba-d-01-kw2x: remove duplicate MCPU
MCPU is already defined to `CPU_ARCH` which is `cortex-m4`.
Removing this line does not change the value:

    make --no-print-directory -C examples/hello-world/ BOARD=pba-d-01-kw2x \
        info-debug-variable-CPU_ARCH info-debug-variable-MCPU
    cortex-m4
    cortex-m4
2018-09-11 15:38:27 +02:00
Peter Kietzmann
064485519f
Merge pull request #9406 from beduino-project/phywave-openocd-upstream
boards/pba-d-01-kw2x: use OpenOCD-supplied config
2018-08-17 11:23:53 +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
Joakim Nohlgård
238b4dda2f pba-d-01-kw2x: Update I2C ISR config 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
2728a56ed8 pba-d-01-kw2x: Update I2C configuration 2018-07-25 12:01:39 +02:00
Tristan Bruns
fbddb7e8a0 boards/pba-d-01-kw2x: use OpenOCD-supplied config 2018-06-25 11:07:19 +02:00
6bc494b928 boards: fix doxygen grouping 2018-06-11 19:12:02 +02:00
Francisco Acosta
9a0f3469b7
Merge pull request #8930 from gebart/pr/kinetis-rtt-refactor
kinetis: Refactor RTT driver
2018-05-30 14:54:15 +02:00
Joakim Nohlgård
a6c30ab61d kinetis: Move RTT config to periph_cpu.h 2018-05-22 16:46:39 +02:00
cb991cd47d boards: use RIOTTOOLS variable 2018-05-15 11:23:44 +02: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
Joakim Nohlgård
c54f6b4fcf kinetis: Refactor clock generator initialization 2018-04-17 06:59:22 +02:00
Gaëtan Harter
fff5810191 Makefile.include: FIX .DEFAULT_GOAL not being all
.DEFAULT_GOAL was reset many times which removed 'all' from being the default
goal.
By chance it was then set to `link` so was working by some magic.
2018-03-28 16:59:00 +02:00
c4769f1cc4 boards/pba-d-01-kw2x: fix driver params usage 2018-03-01 10:02:39 +01:00
Joakim Nohlgård
b61eeb9fe0 kinetis: Allow per-board config of ADC ref
ADC reference can be external pin or internal VREF module on most
Kinetis CPUs.
2018-02-14 15:16:41 +01:00
b78c96ffc7 boards/*: make brief description consistent 2018-01-24 08:30:56 +01:00
Joakim Nohlgård
f4e9cad85a boards: Separate boards from debug adapter configuration 2017-11-17 10:03:05 +01:00
smlng
5e7f0af450 boards, pba-d-01-kw2x: fix saul gpio init 2017-11-16 22:08:28 +01:00
Joakim Nohlgård
925a908d95 kinetis: Update RNGA driver configuration to automatically detect the module 2017-11-10 10:43:00 +01:00
Joakim Nohlgård
22c52bd3a8 kinetis: Unify all Kinetis CPUs in one directory 2017-11-10 10:42:59 +01:00
Joakim Nohlgård
00a0740fcc kinetis: Add support for LPUART module in parallel with UART module
A dispatcher function is implemented for directing writes to the correct
function. The dispatcher is bypassed completely if the CPU only contain
one kind of UART module.

There are at least two different UART hardware modules deployed in
different Kinetis CPU families (or possibly three or more when counting
variations of the UART module). The UART module is an older 8 bit module
with advanced functionality, while the LPUART is a 32 bit module with
focus on low power consumption.

 - The older families in the K series all have UART modules.
 - The K22F family have both UART and LPUART modules in the same CPU.
 - Older L series (e.g. KL25Z) have two variations of the UART module
 - Newer L series (e.g. KL43Z) have LPUART modules, and sometimes
   UART as well.
 - Newer W series (KW41Z) have only LPUART
2017-11-07 14:19:42 +01:00
443c8e39ed cpu: kinetis: make periph_rtc depend on periph_rtt 2017-11-06 12:01:19 +01:00
ae51dc55d0 boards: adapt to reorganized CPU Makefile.features 2017-11-02 12:59:46 +01:00