aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source
Commit message (Collapse)AuthorAgeFilesLines
...
* USART refactor.Marti Bolivar2011-04-071-1/+4
|
* Board-specific values; corresponding QA test generalizations.Marti Bolivar2011-03-3017-81/+316
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various board-specific #defines and arrays of pins added. For the changelog (some of this information predates this commit): * wirish/boards.h now declares the following arrays of pin numbers: * boardPWMPins - PWM-capable pins * boardADCPins - ADC-capable pins * boardUsedPins - pins already in use, e.g. BOARD_BUTTON_PIN It also declares a bool boardUsesPin(uint8 pin) function for convenient testing of whether a pin is in use. * wirish/boards/*.h now define: * BOARD_USART1_TX_PIN * BOARD_USART1_RX_PIN * BOARD_USART2_TX_PIN * BOARD_USART2_RX_PIN * BOARD_USART3_TX_PIN * BOARD_USART3_RX_PIN * BOARD_NR_GPIO_PINS (renamed from NR_GPIO_PINS) * BOARD_NR_USARTS (renamed from NR_USARTS) * BOARD_NR_PWM_PINS * BOARD_NR_ADC_PINS * BOARD_NR_USED_PINS * wirish/boards/maple_native.h now defines: * BOARD_UART4_TX_PIN * BOARD_UART4_RX_PIN * BOARD_UART5_TX_PIN * BOARD_UART5_RX_PIN (Unfortunately, wirish/boards/maple_RET6.h cannot, since at least one of the UART4/UART5 pins are used already; this will require layout changes for a wide-release Maple form factor RET6 board). * wirish/boards/*.cpp all include the corresponding array definitions. They all live in flash by default, thanks to the new __FLASH__ macro in wirish/wirish_types.h, which is a synonym for the existing __attr_flash #define in libmaple/libmaple_types.h. The documentation was updated to include this information. It also gained various FIXME/TODO comments related to its generalization across boards. The quality assurance-related examples (examples/qa-slave-shield.cpp and examples/test-session.cpp) now make heavy use of board-specific values to ensure portability.
* shiftOut(), docs fixesMarti Bolivar2011-03-116-177/+132
|
* USBSerial docs fix.Marti Bolivar2011-03-041-11/+11
|
* Untabifying docs/source/conf.pyMarti Bolivar2011-03-041-19/+19
|
* Cleaned out libmaple.h; this had wide-ranging implications.Marti Bolivar2011-02-271-30/+27
| | | | | | | | | | | | | | | | | | | Many of the #defines in libmaple.h were board-specific, not MCU-specific. Most of these were only used by code under libmaple/usb/. These were moved into usb_config.h, and are clearly marked as being terrible hacks. I'm going to treat the USB stack as a black box that we'll deal with later. Further, instead of having a variety of #defines like "How many USARTS do I have?", we decide that based on the density of the chip. This is determined by testing for STM32_MEDIUM_DENSITY or STM32_HIGH_DENSITY defines. libmaple currently doesn't support low-density chips, so that suffices. The Makefile will set these automatically based on the MCU. Other offending #defines are ERROR_LED_PORT and ERROR_LED_PIN; these were made optional, but they're set in the Makefile as a hack to keep things working.
* Rewrote Print class.Marti Bolivar2011-02-242-22/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | The old Print class couldn't print uint64 values, and featured hand-hacked functionality better handled by snprintf(). Redid it using snprintf(), using "[u]int[8,16,32,64]" types for more clarity, and eliminated some private methods in favor of auxiliary functions in Print.cpp. Breaking compatibility with original implementation in three ways: - Print::print(double) is now accurate to 6 digits, rather than 2; this is consistent with the default behavior of the %f format specifier, and if you're using floating point, it's slow enough that you probably want the increased accuracy. - The only bases you can print a number to are 2, 8, 10, and 16. 8, 10, and 16 already have format specifiers, and 2 is an important special case; others complicate matters unnecessarily. - Printing numbers in bases other than 10 treats them as unsigned quantities (i.e., won't print '-' characters). This is more consistent with C++'s behavior for hexadecimal and octal literals (e.g., 0xFFFFFFFF has type uint32). Updated HardwareSerial and USBSerial class documentation to reflect the new behavior.
* another minor docs fixMarti Bolivar2011-02-161-3/+2
|
* docs fixesMarti Bolivar2011-02-1611-91/+126
|
* Reorganized docs index for more readability, added information aboutMarti Bolivar2011-02-127-49/+147
| | | | Maple hardware and design files. Other tweaks and improvements.
* [wip] docs fixes; beginning to generalize for multiple devicesMarti Bolivar2011-02-116-97/+52
|
* Fixed docs bug where we say "long" when we mean "long long"Marti Bolivar2011-02-0922-193/+200
|
* Documentation bugfixesMarti Bolivar2011-02-084-22/+40
|
* removed flush() from SerialUSB docs.Marti Bolivar2010-12-211-6/+0
|
* 0.0.9 release.Marti Bolivar2010-12-151-2/+2
| | | | | | Made some changes to Servo to get it to compile from within the IDE. Also fixed a lurking broken link in the docs.
* Finalized 0.0.9 documentation.Marti Bolivar2010-12-1540-1094/+1602
|
* cleaning up previous commits.Marti Bolivar2010-12-0392-7007/+0
| | | | | | note that addition of new files under docs/source/lang/api and docs/source/lang/cpp which were just copies of files in docs/source/lang/ imply that change history is lost to git.
* side reorder, home link, template mod to add rel bar linksHanna Mendes Levitin2010-12-027-15/+21
|
* docs, now with styleHanna Mendes Levitin2010-12-01106-56/+7224
|
* New documentation content is done. Next step is to theme.Marti Bolivar2010-11-2930-272/+663
|
* Finished converting the Arduino docsMarti Bolivar2010-11-2998-1580/+1723
|
* reorganized all the arduino/ docs into a lang/ subdirectory sinceMarti Bolivar2010-11-28120-1477/+1437
| | | | they're properly CC attributed now.
* bootloader spec tweaks to be closer to stk-500Marti Bolivar2010-11-213-10/+53
|
* updated serial bootloader spec; other improvementsMarti Bolivar2010-11-2131-614/+675
|
* modified the bootloader docs, added description of the rev6 bootloader ↵AJM2010-11-171-5/+329
| | | | gameplan and description of the first rev of the serial protocol
* arduino docs nearing completion; CC-BY-SA 3.0 notice appended to all of themMarti Bolivar2010-11-1796-1/+286
|
* arduino language reference nearing completion, properly CC-BY-SA 3.0 attributedMarti Bolivar2010-11-1796-3073/+3058
|
* docsMarti Bolivar2010-10-2218-118/+217
|
* initial check-in of arduino docs in RST format (converted using wget+pandoc)Marti Bolivar2010-10-20111-109/+6902
|
* switching docs to leaflabs fork of breatheMarti Bolivar2010-10-112-5/+1
|
* more sphinx docsMarti Bolivar2010-10-1111-59/+1089
|
* more docsMarti Bolivar2010-10-1116-211/+520
|
* docsMarti Bolivar2010-10-119-46/+56
|
* current Maple documentation either rewritten or stubbed out in SphinxMarti Bolivar2010-10-0829-224/+832
|
* lots more docsMarti Bolivar2010-10-0719-27/+1109
|
* language referenceMarti Bolivar2010-10-071-9/+9
|
* language referenceMarti Bolivar2010-10-072-8/+11
|
* language referenceMarti Bolivar2010-10-071-39/+290
|
* some comment stubsMarti Bolivar2010-10-077-7/+124
|
* added docs readme fileMarti Bolivar2010-10-071-10/+15
|
* added skeleton sphinx docsMarti Bolivar2010-10-074-0/+240