| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Got rid of native_sram.h (and native_sram.cpp), and pushed their
functionality into maple_native.cpp. Fixed includes in maple_native.h.
Fixed includes in fsmc.h.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Still a polling driver, but the libmaple proper interface exposes
enough that users enable the various interrupts and define their own
IRQ handlers if they feel like it.
Wirish HardwareSPI interface was largely redone; it's more like the
Arduino implementation now, although there are some differences when I
didn't like their API. The old methods are still there, but are
deprecated and slated for deletion in 0.1.0.
New board-specific values: BOARD_NR_SPI, BOARD_SPIx_NSS_PIN,
BOARD_SPIx_MOSI_PIN, BOARD_SPIx_MISO_PIN, and BOARD_SPIx_SCK_PIN, for
x from 1 to BOARD_NR_SPI.
Documentation was updated appropriately.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Comment changes only.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The vast majority of the Maple-specific values have been pulled out of
the higher-level overview pages and replaced with refs into documents
under /docs/source/hardware/.
Much of the work that's left to be done in this regard is labeled with
versioned TODO and FIXME comments.
Suggestions from StephenFromNYC and gbulmer were incorporated from
this forum thread:
http://forums.leaflabs.com/topic.php?id=703
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- gpio.h: afio_mapr_swj_config() renamed afio_cfg_debug_ports()
- [new] wirish_debug.h: disableDebugPorts(), enableDebugPorts()
- Maple, Maple Native, and Maple RET6 PIN_MAPs are now larger by 5,
have mappings for the extra JTAG/SW pins.
Documentation was updated appropriately.
|
|
|
|
| |
No corrections made to the pin definitions themselves.
|
|
|
|
| |
Blocking fixes for 0.0.10; other changes.
|
| |
|
|
|
|
|
| |
Other USART transmission functions are still blocking, but are now
implemented in terms of usart_tx().
|
| |
|
| |
|
|
|
|
| |
Added i2c_init() for consistency with rest of libmaple.
|
|
|
|
|
| |
Merging in the standalone refactor docs, etc. The individual libmaple
API pages are going to need to get redone.
|
| |
|
|
|
|
|
| |
License header made 80-column clean. usart_irq() comment for the
USART_SAFE_INSERT case made easier to understand.
|
| |
|
|
|
|
|
|
|
| |
Folded information in the README about the library Makefile target
into docs/source/unix-toolchain.rst. Added a pointer to the JTAG
HOWTO page on the wiki. Made some other miscellaneous cleanups,
updates and improvements.
|
| |
|
|
|
|
| |
Whitespace and column width changes only.
|
| |
|
| |
|
|
|
|
|
| |
This uses templates, which I don't like, but it's not going into the
core library, so I'm okay with it for now.
|
|
|
|
|
|
|
|
|
|
|
| |
The users really hated the code size requirements for an snprintf()-based
Print implementation, but I really hated how bad the old implementation was.
Revised version fixes bugs related to printing 64-bit values and has some
improved behavior when it comes to printing doubles. Now, instead of
happily printing garbage values when large doubles are printed, we try
printing "<large double>" or "-<large double>" (depending on sign) when
the argument is too big for the old strategy to accommodate.
|
|
|
|
| |
This reverts commit 8bd3cebbee62e2dd7e961b149cc8bb0e980eaf88.
|
|
|
|
| |
Fixes for github .rst display.
|
| |
|
|
|
|
| |
See https://github.com/leaflabs/libmaple/commit/c57d760676b97a0fc9cb51db99c8400bae2cb3b7#commitcomment-338822
|
|
|
|
| |
Whitespace corrections only.
|
|
|
|
| |
Signed-off-by: Anton Eltchaninov <anton.eltchaninov@gmail.com>
|
| |
|
|
|
|
|
| |
nvic_irq_enable() and nvic_irq_disable() previously didn't protect
against negative arguments.
|
|
|
|
| |
Fixed various Doxygen comment errors.
|
| |
|
| |
|
|
|
|
|
|
| |
Simple USART receiver to SRAM buffer demo partially working.
Interrupting when buffer is full fails mysteriously. GDB thinks
we ended up in an STM32 reserved exception.
|
| |
|
| |
|
|
|
|
|
| |
USART refactor commit f6f9a1122706ed336c52c984d76219dee0594487 only
worked for USART1.
|
| |
|