| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This should get changed on each release branch when the time comes. A
FIXME comment has been added to that effect.
|
|
|
|
|
| |
These two examples from board-values.rst really belong in the
documentation for the functions they reference.
|
|
|
|
|
| |
Flesh out and uncomment maple-mini.rst. Add links to pieces of it in
various appropriate places throughout the rest of the documentation.
|
|
|
|
|
|
|
|
|
|
| |
Pick a standard layout for the information and fix mistakes. Looks
like some of these errors were copy-pasted in from the old HTML
documentation, some crept in due to API changes, and some were just
wrong.
I've checked all the claims against the datasheets and source code, so
we should be in good shape now.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ugh.
Fix BOARD_NR_ADC_PINS and boardADCPins on Maple, Maple Mini, and Maple
RET6 Edition:
Maple and Maple RET6 Ed. don't have ADC on pin 3. Seems likely that
the error was due to AIN being missing on the silkscreen. They also
have ADC on pin 13. This is not really true due to the voltage drop
across the built-in LED.
Maple Mini really should not include BOARD_LED_PIN among its ADC pins,
since it's not broken out to a header.
Fix BOARD_NR_PWM_PINS and boardPWMPins on Maple and RET6 Ed:
Both boards falsely include pin 25 as a PWM pin. Maple RET6 Edition
also lacks some PWM pins.
Fix BOARD_NR_SPI on Maple RET6 Edition:
SPI3 uses PB4, which is unusable since it's tied to NRST. This means
that SPI3 is not available on the RET6 edition. Decreasing
BOARD_NR_SPI to 2 to accomodate this. Leave the BOARD_SPI3_*_PIN
defines intact so as not to further clutter the rest of the library
with RET6-specific wrinkles.
|
|
|
|
| |
Mostly, make it less pedantic. Also some stylistic and content fixes.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace
#define XXX_BASE ((xxx_reg_map*)0xDEADBEEF)
with
#define XXX_BASE ((struct xxx_reg_map*)0xDEADBEEF)
for increased GDB-friendliness.
|
| |
|
|
|
|
|
|
|
| |
In line with some changes made earlier today to the maple-ide repo,
the master libmaple branch no longer points to a particular IDE
release as "current", since there's no way it can know. From now on,
only release branches will contain the blessed download links.
|
| |
|
| |
|
|
|
|
| |
We should be good to go.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
In keeping with convention.
|
|
|
|
|
| |
Various names in timer.h were too unwieldy. Making these slightly
more bearable.
|
|
|
|
| |
From declaration to definition, to keep with convention.
|
|
|
|
|
|
| |
Renamed timer_reg_map_union -> timer_reg_map.
Named the anonymous timer_type.
|
| |
|
|
|
|
|
| |
Moving SPIn Doxygen comments to point of definition in keeping with
libmaple conventions.
|
|
|
|
| |
Named spi_mode, spi_baud_rate, spi_cfg_flag, spi_interrupt.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The various clock divider enums suitable for passing to
rcc_set_prescaler() were badly named. They have been renamed as
follows:
* adc_prescaler_divider -> rcc_adc_divider
* apb1_prescaler_divider -> rcc_apb1_divider
* apb2_prescaler_divider -> rcc_apb2_divider
* ahb_prescaler_divider -> rcc_ahb_divider
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes to struct i2c_dev members:
- uint8 clk_line's type is changing and is being renamed, is now
rcc_clk_id clk_id
- uint8 ev_nvic_line's type is changing to nvic_irq_num
- uint8 er_nvic_line's type is changing to nvic_irq_num
Previous names were badly typed and inconsistent with the rest of
libmaple.
Exposing i2c_init(), also for consistency.
Adding/editing many Doxygen comments, for documentation and general
housekeeping.
|
|
|
|
|
| |
It's an i2c_state; calling it one. Previous uint8 type was broken
since I2C_STATE_ERROR is negative.
|
| |
|
|
|
|
|
| |
Anonymous enum typedefed to iwdg_prescaler is now also enum
iwdg_prescaler, for consistency with the rest of the library.
|
|
|
|
|
| |
Gave the anonymous enum typedefed to afio_exti_num the same name;
renamed AFIORemapPeripheral afio_remap_peripheral.
|
|
|
|
|
| |
You have to call rcc_set_prescaler() yourself now. adc_init() never
should have been doing that anyway.
|
| |
|
| |
|
|
|
|
|
| |
For SRAM functions, __io was in error. Everything else just for
consistency.
|
| |
|
| |
|
| |
|