chrysn
ffcd646217
boards/ek-lm4f120x: Change internal LED macro for C2Rust compatibility
...
C preprocessor defines in non-function form are assumed by C2Rust to be
constant if they are an expression and not a statement; the LED_PORT was
the only place in the code where that was wrong, and led to compiler
errors due to the value not being constant.
Altering the internal macro to use function form sidesteps that issue.
The generally preferred alternative of using a `const` is unavailable in
this case because the dereferencing operator is already part of the
vendor header file cpu/stellaris_common/include/vendor/cortex-m4-def.h.
The changed macro is documented as required by doccheck. The doccheck
rule that grandfathered in the LED_PORT macro as allowed undocumented is
not removed because it is also used in other board.h files.
2024-08-23 13:48:44 +02:00
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model
2024-03-27 10:28:12 +01: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
Francisco Molina
464d941a3e
boards: drop empty custom board_init & empty board.c
2022-02-22 18:27:37 +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
21f87efaaf
boards/ek-lm4f120xl: model Kconfig
2021-11-22 09:08:53 +01:00
Benjamin Valentin
fc88c4c4e5
boards: drop cpu_init()
2021-10-13 23:36:41 +02:00
87cf4e387f
boards: set supported programmers
2021-02-24 13:30:34 +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
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
MrKevinWeiss
7c3082a7a3
cpu/lm4f120: Update timer macros to timer_config_t
2020-09-22 16:26:01 +02:00
Benjamin Valentin
9fe1c6d0e1
boards/ek-lm4f120xl: define CLOCK_CORECLOCK
2020-09-09 16:44:12 +02:00
MrKevinWeiss
11465c941d
cpu/lm4f120: Remove dev_enums dependency
2020-09-09 10:25:37 +02:00
Leandro Lanzieri
cb01f526d1
boards/ek-lm4f120: Add Kconfig symbols
...
Also add the board to the whitelist of tests/kconfig_features
2020-07-16 13:24:06 +02:00
f49e756436
boards/ek-lm4f120xl: add ztimer config, increase ztimer_usec_min
2020-03-04 12:44:03 +01:00
Benjamin Valentin
77c2e94288
boards/ek-lm4f120xl: provide SAUL configuration
...
This adds a SAUL configuration for the buttons and LEDs on the board.
2019-09-28 19:11:03 +02:00
Gaëtan Harter
17877ca993
boards/ek-lm4f120xl: move CPU/CPU_MODEL definition to Makefile.features
...
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included
CPU_MODEL is currently kept uppercase. Making it lowercase is a future task.
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +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
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
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
b78c96ffc7
boards/*: make brief description consistent
2018-01-24 08:30:56 +01: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
Marc Poulhiès
685b42c9a2
cpu/lm4f120: SPI support
2017-06-28 16:54:37 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
882bcff048
boards: replace @brief with @name when necessary
2017-04-13 12:10:30 +02:00
Joakim Nohlgård
fe75996cbc
cpu/lm4f120: Remove stub cpuid
...
NVIC_CPUID is not a unique device ID, it is the Cortex-M core family ID.
2017-04-05 09:03:49 +02:00
Joakim Nohlgård
339a4da9dc
Makefiles: move to new directory /makefiles
2017-04-04 15:11:54 +02:00
ebc35a0613
boards: fix doxygen @brief in periph.conf
2017-01-27 10:31:56 +01:00
daniel-k
9d403d95ce
cortex_m: Add debug symbols for OpenOCD/GDB thread support
2017-01-16 20:50:35 +01:00
Hauke Petersen
af56ae6fa2
boards/ek-lm4f120xl: unified LED defines
2016-03-15 15:48:47 +01:00
Hauke Petersen
65580164bb
baords/ek-lm4f120xl: adapted ADC configuration
2016-03-14 13:06:25 +01:00
DipSwitch
41ae0af3e2
Merge pull request #4978 from dkm/pr/adc
...
cpu/lm4f120: ADC support
2016-03-14 00:05:28 +01:00
Joakim Nohlgård
ae108581d3
boards/*/Makefile.include: replace $(shell ls) by native Makefile functions
2016-03-11 15:05:06 +01:00
Marc Poulhiès
d0fb8adf45
cpu/lm4f120: ADC support
...
Only ADC_0 and no precision support.
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2016-03-09 13:24:31 +01:00
Marc Poulhiès
8f0a9ddf6f
cpu/lm4f120: GPIO support
2016-02-23 15:12:53 +01:00
Joakim Nohlgård
7835ab2be7
make: Move BOARD and CPU includes to Makefile.modules
2016-02-10 16:37:03 +01:00
Joakim Nohlgård
fae9a092fd
boards: Remove Makefile.include.cortexm_common
2016-02-10 16:37:03 +01:00
Hauke Petersen
9ddd13b0b8
boards: removed F_CPU from periph_conf.h
2016-01-27 09:52:44 +01:00
Emmanuel Baccelli
e6c943d903
modified default port to function on OS X
2016-01-22 16:24:22 +01:00
Hauke Petersen
db25206a58
boards: use default values for STDIO defines
2016-01-05 12:08:31 +01:00
Hauke Petersen
ac2b9f2524
boards: changed module name to 'board'
2015-12-07 17:53:22 +01:00
Oleg Hahm
d65d213def
CI: split up Cortex-M4 in two groups
2015-12-03 17:38:24 +01:00
Marc
96444d632e
cpu/lm4f120: reworking timer
2015-12-02 13:58:23 +01:00
Hauke Petersen
528e832c90
boards: cleaned up entries in Makefile.features
2015-10-21 16:45:21 +02:00