Commit Graph

1041 Commits

Author SHA1 Message Date
gdisirio 09f8aa2963 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3820 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-17 13:40:58 +00:00
gdisirio 184897394e Fixed warning with Keil compiler.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3815 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-15 19:28:09 +00:00
gdisirio e2448aac99 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3811 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-15 09:37:27 +00:00
gdisirio 17f9264b09 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3810 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-14 13:30:33 +00:00
barthess a41f12ad8a RTC. Added possibility of changing RTC clock source.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3809 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-14 12:23:42 +00:00
gdisirio 685286c5c8 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3808 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-14 10:54:56 +00:00
gdisirio d29e6e338e Added I-Class APIs to the RTC driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3807 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-14 08:45:34 +00:00
barthess a2672b8dbb RTC. Error fixes and robustness improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3806 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-13 20:38:02 +00:00
gdisirio 260b6b6d19 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3800 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-12 21:01:30 +00:00
gdisirio 1a6d378ba7 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3798 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-12 18:36:16 +00:00
gdisirio 4e3e0d6278 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3797 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-12 18:26:26 +00:00
barthess 50e4567885 RTC. Added function to ensure data synchronization.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3795 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-12 08:25:50 +00:00
barthess a7e909177d RTC. Added enables/disables of writing access to BKP registers in all write operations.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3794 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-12 07:09:24 +00:00
gdisirio 7fc77129b1 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3793 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-11 21:26:10 +00:00
barthess 7f333ab456 RTC. Fixed some bugs and added locks into write functions. Haltest updated.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3790 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-11 20:07:19 +00:00
gdisirio 58f1fe92ee git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3788 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-11 18:02:20 +00:00
gdisirio 1ed89364ca Backup domain and RTC clock initialization added.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3785 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-10 18:30:38 +00:00
gdisirio 35ae8956e8 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3784 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-10 18:20:35 +00:00
gdisirio 8824a54e5e git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3783 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-10 18:14:24 +00:00
gdisirio e9e6cdc67c Added macro HAL_IMPLEMENTS_COUNTERS to all HAL driver implementations.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3778 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-09 19:43:26 +00:00
gdisirio a2708c091b Updated all halconf.h files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3777 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-09 19:37:58 +00:00
gdisirio 3de75ec6c3 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3776 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-09 18:31:54 +00:00
gdisirio 7041c5b167 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3775 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-09 18:28:29 +00:00
gdisirio da38ec03db Fixed masking error.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3774 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-09 08:49:58 +00:00
barthess 725e8f6aa5 Reverted to 3771 revision.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3773 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-08 22:04:46 +00:00
barthess 4817e5d814 DMA. Fixed possible overflow in DMA priority.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3772 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-08 21:20:41 +00:00
barthess 4284d0ee15 I2C. In functions added local pointer to I2C_TypeDef structure.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3770 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-08 20:41:27 +00:00
barthess 16d354e687 I2C. Added external fields hook in driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3769 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-08 19:36:35 +00:00
barthess 55cdd3db53 I2C. Added forgotten DMA definitions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3768 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-08 19:32:32 +00:00
gdisirio cb95efc2da git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3766 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-08 17:29:51 +00:00
gdisirio 10b661e8a6 Fixed typo.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3765 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-08 16:42:59 +00:00
gdisirio 169a4bbc7e STM32F1xx devices clock configuration updated to make it similar to the newer STM32 devices.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3764 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-08 13:41:31 +00:00
gdisirio 040c4026cc STM32F1xx devices clock configuration updated to make it similar to the newer STM32 devices.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3763 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-08 11:38:57 +00:00
gdisirio 32d143ae63 Fixed clock source for RT counter.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3762 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-08 10:21:03 +00:00
gdisirio a4bea39bfe Fixed an error message.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3761 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-08 10:07:15 +00:00
gdisirio 75bf0b4b57 Fixed harmless arithmetical overflow in the STM32_DMA_GETCHANNEL() macro.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3759 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-07 13:45:07 +00:00
gdisirio ceabd20101 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3758 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-07 13:34:43 +00:00
gdisirio 0a3c31495e git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3756 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-07 07:36:07 +00:00
gdisirio 7b14ebcc5f Fixed wrong macro prefixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3755 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-07 07:34:13 +00:00
gdisirio 618b341a05 Removed unused stuff from RTCv1.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3753 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-07 07:06:49 +00:00
gdisirio 9923c1663e Removed note about the 2GB limit.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3752 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-06 19:21:16 +00:00
gdisirio 54c975bed0 I2C driver state diagram modified, documentation improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3751 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-06 19:05:13 +00:00
gdisirio dcbb613f6d git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3750 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-06 16:41:43 +00:00
barthess 25238b87b5 I2C. Optimized interrupt handling strategy.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3749 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-06 16:29:18 +00:00
barthess 8fbd1c95e0 I2C. Fix problem with write only transactions. Code cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3747 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-06 11:49:21 +00:00
gdisirio c56e9ea70a Removed instances of //
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3746 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-06 09:20:21 +00:00
barthess c048ac69ff I2C. Initialization of RC2 register now doing only once in start() function.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3744 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-05 19:19:13 +00:00
barthess 5b8b005cbd I2C. Fixed 2 errors.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3742 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-05 17:50:11 +00:00
gdisirio 62b090c673 Improvements to the MMC over SPI driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3741 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-05 16:01:52 +00:00
gdisirio 45c0b7f9bc Documentation related fixes and updated all the mcuconf.h for the STM32.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3735 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-04 22:00:44 +00:00
barthess c506b8f2b1 PVD. Checked compilability on F1x, L1x, F4x. Testhal fro F1x
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/pvd2_dev@3732 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-04 20:03:49 +00:00
barthess 3f685aa996 I2C. Merged changes from i2c_lld_2.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3729 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-04 14:36:51 +00:00
gdisirio c498fdc4d6 Added time conversions to RT counter code. Documentation improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3728 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-04 14:29:02 +00:00
gdisirio 8bd4ec7b84 Removed two initializations that should go in the low level.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3727 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-04 11:19:31 +00:00
gdisirio c8f12b50c2 Reformatted some comments going past column 80.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3726 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-04 10:44:57 +00:00
gdisirio 354a341507 Fixed some documentation errors.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3725 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-04 10:36:13 +00:00
gdisirio dfbe833d08 Forgot a note.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3724 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-04 08:47:26 +00:00
gdisirio efa92aaed2 Realtime counter support in the generic HAL driver and implementations for al STM32 devices, others will follow.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3723 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-04 08:46:11 +00:00
gdisirio 5909d22fdd Fixed bug 3468445.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3721 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-03 19:06:48 +00:00
gdisirio 92a4c29394 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3720 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-03 18:47:14 +00:00
barthess b923d10f0e I2C. Small style improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3719 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-03 17:08:01 +00:00
barthess 9a5d5cc7f7 I2C. Merged changes from files posted in forum.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3718 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-03 16:57:22 +00:00
barthess c9b31ce737 I2C. Added safety timeouts and resets.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3717 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-03 16:32:45 +00:00
gdisirio 2e5931ea53 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3716 35acf78f-673a-0410-8e92-d51de3d6d3f4 2012-01-03 15:30:32 +00:00
barthess 1c62f74c05 I2C. Added wrappers with TIME_INFINITE timeout.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3715 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 20:35:47 +00:00
barthess e43bc0f967 I2C. Clock checks moved to header file.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3713 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 19:25:44 +00:00
barthess 86b3f07923 I2C. Reorganized locks.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3711 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 19:04:50 +00:00
barthess fc44d8dbc6 I2C. Deleted unneeded __IO macro from driver fields.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3710 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 18:17:16 +00:00
barthess 7f64ca7a5d I2C. Functions: i2c_lld_set_clock(), and i2c_lld_set_opmode() and i2c_lld_master_transceive() now static.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3709 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 17:54:20 +00:00
barthess f76898bb0f I2C. Rest of "id_" prefixes deleted from driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3708 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 17:53:20 +00:00
barthess d0c36ae0e6 I2C. "id_" prefixes deleted from driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3707 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 17:39:45 +00:00
barthess def238d3a0 I2C. #defines moved out of functions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3706 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 17:26:05 +00:00
barthess e6601833cb I2C. Deleted __NOP()
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3705 35acf78f-673a-0410-8e92-d51de3d6d3f4
2012-01-02 17:13:03 +00:00
barthess 51ec1f0e1e I2C. Outdated driver deleted.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3700 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-31 14:42:17 +00:00
gdisirio c397738010 Changes to palSetGroupMode(), various adjustments to the PAL driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3695 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-31 10:07:43 +00:00
barthess 72266f8b59 I2C. Fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3694 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-31 09:40:52 +00:00
barthess 2234fd3e31 I2C. API changes mostly done.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3692 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-30 20:45:56 +00:00
gdisirio 08feb80580 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3686 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-12-29 22:18:25 +00:00
gdisirio 411418930f Updated credits.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3685 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-29 18:07:02 +00:00
gdisirio b30ba31603 I2C API proposal.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3684 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-29 18:03:49 +00:00
gdisirio 89e829f55c git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3658 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-12-25 15:30:21 +00:00
gdisirio ae91c4936a git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3655 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-12-25 13:46:19 +00:00
gdisirio 20ee188eb8 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3652 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-12-24 11:39:04 +00:00
gdisirio 22b48b6876 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3650 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-12-22 18:53:26 +00:00
gdisirio da9678f49a Provisional STM32F2xx support.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3649 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-22 12:38:21 +00:00
gdisirio 334c7d645d git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3645 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-12-21 18:49:04 +00:00
gdisirio cefffe9013 Fixed bug 3458947.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3643 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-20 18:35:18 +00:00
barthess d1f54cbe5a I2C. Clock checks done at compile time.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3630 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-17 20:14:11 +00:00
barthess e062d10250 Cleaned "//" comments.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3628 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-17 19:08:16 +00:00
barthess 27a7716a3b I2C. Added safety checks for different STM32 platforms in frequency settings routine.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3624 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-17 12:45:50 +00:00
barthess 3ff51b09a4 PVD for STM32F4x code cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3623 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-17 11:36:46 +00:00
gdisirio af25622db8 Fixed some forgotten details.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3621 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-17 07:41:10 +00:00
barthess 968d0cf6e9 RTC. High level API rolled back.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3619 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-16 14:42:23 +00:00
barthess 172680aea3 RTC. Nop.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3617 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-16 13:18:55 +00:00
barthess edcb16ebeb STM32F4x. In HAL added support of power level detector.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3616 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-16 12:49:14 +00:00
barthess 9a98744b28 RTC. Testhal works on F4x, compiles (but not deeply tested) on F1x.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3615 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-15 20:49:24 +00:00
barthess 35ea734700 RTC. Added callback switch helper. Not tested.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3608 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-13 09:03:41 +00:00
barthess 82ee230c45 RTCv1 minor fix
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3604 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-12 13:19:21 +00:00
barthess dd834361e8 RTCv1 code cleanups and adding some safety checks.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3603 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-12 13:13:07 +00:00
barthess 527ef56ed3 Merging changes from rtc_dev branch.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3601 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-12 11:07:30 +00:00
barthess facfe77b18 RTC. Development suspended until EXTI driver API will changed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3600 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-12 10:56:51 +00:00
barthess ddff11cafe RTC. Naming convention fixed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3599 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-12 08:33:53 +00:00
barthess 9d343de5f9 RTC. Driver broken.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3598 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-11 23:40:49 +00:00
barthess 91fd67be1f RTC. Code reorganization.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3597 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-11 20:14:45 +00:00
barthess 9a52743e90 RTC. Setting and getting time works on STM32F4x
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3596 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-11 20:05:55 +00:00
barthess 4a5c4e2ae0 RTC. Merge RTC code from trunk.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3595 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-11 20:03:50 +00:00
barthess a8115a6060 RTC. Code cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3594 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-11 18:14:30 +00:00
barthess 3a0e138e7e RTC. Pointless lock removed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3593 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-11 17:41:06 +00:00
barthess ea9053eb9e RTC. Some bugs fixed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3590 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-10 19:41:46 +00:00
barthess 7a78345272 RTC. Setting and getting time now works.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3589 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-09 22:14:09 +00:00
barthess e7e63d88db RTC. Code compiles but not tested.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3588 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-09 13:58:19 +00:00
barthess 28cb4b4849 I2C. Added forgotten check of BUSY flag.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3587 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-09 10:22:41 +00:00
barthess da68de0d34 RTC. Initial commit.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3586 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-08 21:17:19 +00:00
barthess edfa9d2fae I2C. Added timeout in functions. Code clean ups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3583 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-08 19:24:21 +00:00
barthess a524ec87f1 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3581 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-12-08 14:34:44 +00:00
gdisirio c7c5942ac3 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3578 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-12-08 08:36:37 +00:00
barthess 3799bf56f5 I2C. Error handling from userland code added.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3572 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-07 19:23:09 +00:00
barthess 0738591b02 I2C. Switch to synchronous model.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3570 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-07 17:57:42 +00:00
barthess ac8123d2da I2C. Added note about different API classes usage.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3569 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-07 14:13:57 +00:00
barthess 11ed726e41 GPT on F4x. MCU has TIM6 and TIM7, fixed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3567 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-07 12:30:52 +00:00
barthess 6562e684cd GPT on F4x. Typo fixed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3566 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-07 12:23:33 +00:00
barthess 46d388fb24 I2C. Added DMA masks for other MCUs.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3565 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-07 07:52:42 +00:00
barthess 80043ff2a0 I2C. Minor code improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3564 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-07 05:44:33 +00:00
barthess 2db3c769f1 I2C. Bug fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3562 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-06 18:09:34 +00:00
barthess d34bc423c8 I2C. Merged code from trunk.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3561 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-06 14:13:45 +00:00
barthess 6777c09f08 I2C. Added checks. Cleaned copypaste errors.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3559 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-06 13:37:08 +00:00
barthess dbee267868 I2C. Added support of stm32f1x.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3557 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-06 09:08:26 +00:00
barthess 23d0cbc3b5 I2C. Added forgotten I2C3 interface
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3555 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-06 07:13:26 +00:00
barthess e05d85d2bd I2C. Added startup functions for I2C1 and I2C3 interfaces.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3554 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-05 17:17:52 +00:00
barthess 59014aa2be I2C. Tested on tmp75, mma8451, max1236.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3553 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-04 17:46:19 +00:00
gdisirio 0faef9a292 Fixed bug 3449139, increased version numbers.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3552 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-03 08:49:51 +00:00
barthess dbac0ef26b I2C. DMA works.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3550 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-02 15:01:31 +00:00
barthess c995ee2bd3 I2C. Added attributes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3549 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-02 08:29:27 +00:00
barthess 62608271ad I2C. Code compiles but does not work.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3548 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-01 20:17:58 +00:00
barthess 750f1f4ae6 I2C. Old driver moved to I2Cv1 dir.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3547 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-01 18:21:22 +00:00
barthess 7463a3f1ff I2C. Totally broken.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3546 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-01 18:17:30 +00:00
barthess 2ad41625e0 I2C. Nop.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3545 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-12-01 14:32:59 +00:00
gdisirio 1965f6c027 Removed unnecessary undefs.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3544 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-11-29 07:53:31 +00:00
gdisirio 41e7ec9ad3 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3543 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-11-28 20:34:37 +00:00
barthess 5e18cf994d I2C. Nop.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3542 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-11-27 22:18:47 +00:00
barthess e5ce81050f I2C. Minor fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3540 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-11-27 19:49:48 +00:00
gdisirio 6d11e44877 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3533 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-11-26 21:26:48 +00:00
gdisirio 64df619cf4 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3531 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-11-26 16:54:28 +00:00
gdisirio b7ad667924 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3530 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-11-26 16:48:13 +00:00
gdisirio f00651ed15 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3529 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-11-26 16:43:55 +00:00
gdisirio 163edb0187 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3527 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-11-26 13:34:15 +00:00
gdisirio c1a535d343 Unified STM32 registers header file stm32.h.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3526 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-11-26 10:30:56 +00:00
gdisirio f3bbf4800a git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3525 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-11-24 21:25:10 +00:00
gdisirio e6b38cdd37 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3524 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-11-24 21:00:24 +00:00
gdisirio 46870077b8 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3523 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-11-24 17:58:27 +00:00