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

32 Commits

Author SHA1 Message Date
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
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
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
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
Benjamin Valentin
8af04cd939 boards: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
Jose Alamos
7b28fbf110 boards: fix Doxygen group directives 2018-08-01 15:24:55 +02:00
b78c96ffc7 boards/*: make brief description consistent 2018-01-24 08:30:56 +01: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
ebc35a0613 boards: fix doxygen @brief in periph.conf 2017-01-27 10:31:56 +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
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
Hauke Petersen
9ddd13b0b8 boards: removed F_CPU from periph_conf.h 2016-01-27 09:52:44 +01:00
Hauke Petersen
db25206a58 boards: use default values for STDIO defines 2016-01-05 12:08:31 +01:00
Marc
96444d632e cpu/lm4f120: reworking timer 2015-12-02 13:58:23 +01:00
Hauke Petersen
18e364ae17 boards: removed deprecated HW_TIMER defines 2015-09-17 11:22:03 +02:00
b38a3493c7 boards: ek-lm4f120xl: remove obsolete UART0_BUFSIZE define 2015-09-04 17:46:23 +02:00
Oleg Hahm
d5e356a90f ek-lm4f120xl: removed unused debugging macros 2015-08-04 17:48:26 +02:00
Raken
186041b553 Addition for doxygen documentation 2015-07-24 08:59:54 +05:30
Rakendra Thapa
aa30ecd04f Interrupt file to include isr correctly. 2015-07-24 08:59:54 +05:30
Rakendra Thapa
2d656b8732 Define CLOCK_SOURCE and move the clock defines to appropriate files. 2015-07-24 08:59:54 +05:30
Rakendra Thapa
c99de05d23 Remove Not yet supported ADC peripheral. ToDo task 2015-07-24 08:59:54 +05:30
Rakendra Thapa
8e24860266 Commits: - Indentation Edits. - Edit Header Files. - Change comments to C-style indentation. - Edit Periph_conf file to exclude not used peripherals. # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # On branch master # Your branch is up-to-date with 'origin/master'. # # Changes to be committed: # modified: boards/ek-lm4f120xl/board.c # modified: boards/ek-lm4f120xl/include/board.h # modified: boards/ek-lm4f120xl/include/periph_conf.h # modified: cpu/lm4f120/cpu.c # modified: cpu/lm4f120/include/cpu_conf.h # modified: cpu/lm4f120/include/hwtimer_cpu.h # modified: cpu/lm4f120/include/lm4f120h5qr.h # modified: cpu/lm4f120/lpm_arch.c # modified: cpu/lm4f120/periph/adc.c # modified: cpu/lm4f120/periph/cpuid.c # modified: cpu/lm4f120/periph/timer.c # modified: cpu/lm4f120/periph/uart.c # modified: cpu/lm4f120/vectors.c # 2015-07-24 08:59:53 +05:30
Rakendra Thapa
4757e30e10 Remove tabs to spaces 2015-07-24 08:59:53 +05:30
Rakendra Thapa
9c4a5f5d86 Applying Coding Conventions correction 2015-07-24 08:59:53 +05:30
Rakendra Thapa
0b673e66da Adding Support for Stellaris Launchpad LM4f120. This board is based on ARM Cortex M4 from TI. 2015-07-24 08:59:53 +05:30