Commit Graph

279 Commits

Author SHA1 Message Date
Uwe Hermann b5727a6c73 USB: Cosmetics and coding-style fixes. 2010-12-29 18:00:32 +01:00
Uwe Hermann c39eb69e4d Replace uint8_t with u8 et al, fix whitespace. 2010-12-29 17:28:06 +01:00
Uwe Hermann 6a16711bee Install USB headers upon 'make install'. 2010-12-29 17:09:22 +01:00
Uwe Hermann 34fd228bf9 Move generic USB stuff to a subdir, dedupe .h files.
Adapt examples and the lib code accordingly.
2010-12-29 17:02:36 +01:00
Uwe Hermann f062777930 More whitespace fixes. 2010-12-29 16:43:26 +01:00
Uwe Hermann 36931dc991 Whitespace fixes. 2010-12-29 15:55:12 +01:00
Uwe Hermann a6e6a08a3a Make the build/clean targets a bit less verbose. 2010-12-29 15:44:12 +01:00
Uwe Hermann 24e9860d30 Drop Paparazzi-specific stuff, deduplicate Makefiles. 2010-12-29 15:22:39 +01:00
Uwe Hermann 1c6d7cf06a Merge branch 'martinmm'. 2010-12-29 15:12:23 +01:00
Piotr Esden-Tempski 66fd5373b4 Implemented a uart example that is using irq for receive and transmit. 2010-12-29 13:56:22 +01:00
Piotr Esden-Tempski e5941fb075 Improved usart api implementation to be more readable. 2010-12-29 13:56:22 +01:00
Uwe Hermann 5e0c463147 stm32-h103/Makefile: Fix usb_cdcacm build. 2010-12-29 12:59:01 +01:00
Uwe Hermann d729cf9576 other/usb_hid: Small fixes in the README. 2010-12-29 12:59:01 +01:00
Piotr Esden-Tempski 600d8c3458 Added gc-sections. Now unused functions are being garbage collected. 2010-12-27 21:30:12 +01:00
Piotr Esden-Tempski 81045ff279 Fixed PLL setup for systick. 2010-12-27 17:43:48 +01:00
Piotr Esden-Tempski e08e19e149 Added some more files to gitignore. 2010-12-27 17:40:52 +01:00
Piotr Esden-Tempski bf0b987fe3 Splitted out the usart recv and send functions to have blocking and non blocking versions of those. 2010-12-27 15:29:22 +01:00
Uwe Hermann 571c4d37d0 CAN: Reduce nesting level via code transformations. 2010-12-26 00:36:32 +01:00
Uwe Hermann 06d1a5ca80 CAN: Cosmetics and coding-style fixes. 2010-12-26 00:30:05 +01:00
Piotr Esden-Tempski e7d765ea90 Factored out CAN helper functions out of the example. Test code now also uses the received data. 2010-12-25 20:39:46 +01:00
Piotr Esden-Tempski c6e86901e8 Fixed timing settings. Now CAN test code works!!! 2010-12-23 21:53:02 +01:00
Piotr Esden-Tempski 1471b6d297 Various fixes to the can test program.
- External Clock is 8Mhz not 16Mhz
- CAN peripherial should be deinitialized at the beginning
- Added can receive interrupt handler
- Added some more led indicators of internal state (error reporting)
  - Orange: send indicator
  - Blue: message queue full indicator
  - Red: INACK failure indicator
2010-12-23 02:04:07 +01:00
Piotr Esden-Tempski d1e5a5069e Fixed behavior of rcc_peripheral_clear_reset... 2010-12-23 00:18:23 +01:00
Piotr Esden-Tempski 3c12fc6cd3 Initial implementation of CAN test program. 2010-12-22 22:57:25 +01:00
Piotr Esden-Tempski 7f15dd0fc2 Added selection of jtag serial number through make commandline. 2010-12-22 22:55:56 +01:00
Piotr Esden-Tempski 02f6c4a921 Fixed defines for extended id's. 2010-12-22 21:53:14 +01:00
Piotr Esden-Tempski 3d4e1fa8b8 Fixed wrong register name in bit defines. 2010-12-22 21:15:22 +01:00
Piotr Esden-Tempski 618912e45f Added CAN bit definitions. 2010-12-22 02:50:47 +01:00
Piotr Esden-Tempski 77fbe48a5e Added usart test version for obldc. 2010-12-21 20:55:04 +01:00
Piotr Esden-Tempski 45e57fa51e Corrected pwmleds to use the right GPIO defines. 2010-12-21 20:14:54 +01:00
Piotr Esden-Tempski c038ee0361 Added more pin remap pin definitions and gpio function remap definitions. 2010-12-21 20:14:54 +01:00
Piotr Esden-Tempski c38aac0d2a Cosmetic fix. 2010-12-21 20:14:49 +01:00
Uwe Hermann 5060261413 Cosmetics. 2010-12-20 19:52:51 +01:00
Piotr Esden-Tempski 44442e44c9 Added obldc systick test program. 2010-12-18 00:08:39 +01:00
Piotr Esden-Tempski 5e76fe66b7 Added obldc board led test program. 2010-12-18 00:08:34 +01:00
Piotr Esden-Tempski 58e36dab2d First implementation of CAN peripheral register definitions. 2010-12-17 21:45:38 +01:00
Piotr Esden-Tempski c031b6691e Moved common example make code to a central file. Added more gitignores. 2010-12-17 21:45:38 +01:00
Uwe Hermann eebbd508fc TIM1 GPIO remapping + gpio_port_config_lock().
Thanks to Philip Court <philip@greenstage.co.nz> for the patch.
2010-12-17 06:04:28 +01:00
Uwe Hermann 9539f3bf06 Fix typo. 2010-12-17 05:50:00 +01:00
Uwe Hermann e2d82ff44c Build fixes for ethernet.c, and hook it up. 2010-12-17 05:50:00 +01:00
Uwe Hermann af61aaef21 Minor ld script changes.
Add wildcards to the input section names.
This fixes the script for use with the "-ffunction-sections
-fdata-sections -Wl,--gc-sections" options when compiling/linking.

Also, discard the .eh_frame section. This section is emitted by GCC 4.4,
but not 4.5. Discarding it doesn't appear to break anything. I suspect this is
used for C++ exception implementation.

I found this to be a problem when building with GCC 4.4 (arm-elf),
because the USB DFU demo exceeded the 8k I allowed for it.

Thanks to Gareth McMullin <gareth@blacksphere.co.nz> for the patch.
2010-12-17 05:50:00 +01:00
Uwe Hermann 4ef35380e8 Register definitions for the STM32F107 Ethernet.
Thanks to Gareth McMullin <gareth@blacksphere.co.nz>.
2010-12-17 05:50:00 +01:00
Martin Mueller 586a4740d5 adapt to new usb interface 2010-12-06 00:07:14 +01:00
Martin Mueller 963588aba0 Lisa/M board tests 2010-12-05 23:59:12 +01:00
Gareth McMullin e0cd352990 Fixed HID example to work with new control mechanism. 2010-11-06 19:05:57 +13:00
Gareth McMullin e355906345 Fixed DFU example to work with new control mechanism. 2010-11-06 18:53:10 +13:00
Gareth McMullin 7f002110dc Improved dispatching of user control callbacks.
Only cdc_acm example is updated.
2010-11-06 12:21:46 +13:00
Gareth McMullin 5bba6d9206 Fixed logic for clearing data toggle bits. 2010-11-04 18:20:28 +13:00
Gareth McMullin 87960830f4 Fixed HALT condition handling and data toggle. 2010-11-04 16:49:03 +13:00
Martin Mueller d6eacce827 add standard request 2010-11-04 00:44:47 +01:00