Commit Graph

4071 Commits (a417bc4114f202b35fb9fbda654882397138b03c)

Author SHA1 Message Date
ohagendorf 8176b7c773 [DISCO_F303VC] reorg hal part i 2015-03-22 16:35:00 +01:00
Sissors e74074eba8 [HAL][K20XX/KLXX] Fixed deepsleep power consumption when AnalogIn is used
The power consumption was reported by Paul Staron to be 100uA higher
when an AnalogIn was used previously.

Problem 1 is that 40uA was used by the async ADC clock, which is never
actually used, so it is disabled. Problem 2 is that setting it for high
speed mode increased it by another 60uA while in deepsleep. This
currently seems to me to be possibly a bug in the design, but the
workaround is checking if this is the case before going to deepsleep,
and if yes, disable it. Afterwards it is re-enabled.
2015-03-22 15:15:40 +01:00
ohagendorf 20221e1376 [DISCO_F334C8] reorg hal part I 2015-03-21 23:50:21 +01:00
ohagendorf 5c27455a81 [NUCLEO_F334R8] reorg hal part I 2015-03-21 23:30:16 +01:00
ohagendorf 5e9b323cec [NUCLEO_F302R8] reorg hal part I 2015-03-21 23:09:44 +01:00
ohagendorf d199416792 [NUCLEO_F303RE] reorg hal 2015-03-21 20:32:47 +01:00
ohagendorf 55b4a142a5 [NUCLEO_F070RB] exporter for CoIDE
- Added exporter
- Updated workspace_tools/export/README.md
2015-03-21 20:22:09 +01:00
Wim e6e51c3375 Update device.h
Enabled I2CSlave
2015-03-21 15:26:57 +01:00
Wim 153d03cb2b Update device.h
Enabled I2CSlave
2015-03-21 15:26:20 +01:00
Wim 52be993683 Update i2c_api.c
Replaced I2C ROM call by direct calls to I2C engines. The ROM code has some bugs and does not allow support for the mbed I2CSlave methods. The Slave methods have been added same as for LPC812.
2015-03-21 15:25:13 +01:00
Wim 8cfb41f56c Update us_ticker.c 2015-03-21 15:10:39 +01:00
Wim 3e76f8cf2a Update us_ticker.c
Fixed hardcoded MRT_Clock_MHz so that the code will also work at a SystemCoreClock different from 30MHz. Optimized time calculations for us_ticker_read. Same modifications as done previously for LPC812.
2015-03-21 14:59:21 +01:00
Rohit Grover 79a05aa39c fixes #984: updating to v7.1 of the Nordic SDK.
Re-organized file layout to match that from the SDK.
2015-03-20 14:46:54 +00:00
Przemek Wirkus a8de31c4be Added timeouts (delays) on serial port and mounting point accesses in host_test and copy plugins to prevent serial/disk io errors when device remounts USB iface of interface chip 2015-03-20 14:11:20 +00:00
Rohit Grover d1d900d30c replace AppTimer on Nordic's nRF5x with a driver for RTC1.
AppTimer was an overhead; and it was also reseting the RTC from time to time.
2015-03-20 09:18:13 +00:00
Martin Kojtal ec8dd1d2c2 Merge pull request #972 from bcostm/master
NUCLEO_L073RZ - Add new target
2015-03-20 09:06:37 +00:00
Martin Kojtal 33b8d291c1 Merge pull request #975 from explora26/master
Tools - add gcc/uvision templates for RedBearLab nRF51822.
2015-03-20 08:50:55 +00:00
Martin Kojtal fea8de93d7 Merge pull request #982 from ohagendorf/arch_max_coide
Tools - ARCH_MAX - exporter for CoIDE
2015-03-20 08:38:02 +00:00
Martin Kojtal f9560eaef7 Merge pull request #977 from ohagendorf/NUCLEO_F303RE_coide_gcc_arm_exporter
Tools - NUCLEO_F303RE - exporter for GCC_ARM and CoIDE
2015-03-20 08:37:50 +00:00
ohagendorf bece72c83f [ARCH_MAX] exporter for CoIDE 2015-03-20 01:32:51 +01:00
0xc0170 ba8264717c mbed header file - mbed lib revision - 96 2015-03-18 10:09:17 +00:00
Jeremy Brodt bbe2e0caed Using "Data Terminal Ready" signal to determine when the host is connected. 2015-03-17 14:18:56 -05:00
Jeremy Brodt 1bbb0ee109 Added macros to alias the endpoint callback functions to support configurability. 2015-03-17 13:41:40 -05:00
Rohit Grover 1108cf9526 going back to the previously successful logic to create a 64-bit timestamp. 2015-03-17 14:39:58 +00:00
Martin Kojtal d1b1a93371 Merge pull request #978 from 0xc0170/fix_nucleo103_gpio_connected
Nucleo F103RB - gpio_is_connected method readdition
2015-03-17 10:40:30 +00:00
0xc0170 b75b7a456e Nucleo F103RB - gpio_is_connected method readdition 2015-03-17 10:34:52 +00:00
Rohit Grover 543e8c89d0 remove un-necessary comment block. 2015-03-17 10:07:14 +00:00
Rohit Grover 2376a58193 use 64-bit RTC virtual counter (with 56-bit precision) to compute us-ticker value. 2015-03-17 09:40:53 +00:00
Martin Kojtal bad3d049d8 Merge pull request #976 from explora26/fix_hrm1070_softdevice
HRM1017 - Fix the incorrect softdevice path.
2015-03-17 08:44:47 +00:00
ohagendorf 3dcdba1636 [NUCLEO_F303RE] exporter for GCC_ARM and CoIDE
Added exporter to GCC_ARM and CoIDE.
2015-03-17 02:13:23 +01:00
explora26 766ed49226 [HRM1017] Fix the incorrect softdevice path. 2015-03-17 00:17:37 +08:00
explora26 d8ce906f54 [export] add gcc/uvision templates for RedBearLab nRF51822. 2015-03-17 00:13:55 +08:00
Rohit Grover c619bbbedf add a cast for correctness. 2015-03-16 14:05:44 +00:00
Rohit Grover 35eb4b5250 use rtc1_getCounter64() as it should have been from the beginning. 2015-03-16 14:05:05 +00:00
Martin Kojtal fdc75bf508 Merge pull request #971 from PrzemekWirkus/mcu_filter_for_auto
Added to option --auto handler for -f <mcu> filter switch.
2015-03-16 14:04:25 +00:00
Rohit Grover f32efaee90 cleanup for a comment block. 2015-03-16 14:04:23 +00:00
Rohit Grover 712b53ff64 add rtc1_getCounter64() 2015-03-16 14:04:00 +00:00
Rohit Grover 8febc5aa93 replace a use of __INLINE with inline 2015-03-16 14:01:00 +00:00
Rohit Grover 71407656d2 trying a simplification to the math which computes RTC callback time. 2015-03-16 13:45:33 +00:00
bcostm 5af36d1e3b [NUCLEO_L073RZ] Add target in test files 2015-03-16 14:44:36 +01:00
bcostm c33c193dcf [NUCLEO_L073RZ] Update python files and add toolchains template 2015-03-16 14:43:51 +01:00
bcostm 7aee02aa12 [NUCLEO_L073RZ] Add hal files 2015-03-16 14:42:22 +01:00
bcostm 0c3cf4ffdc [NUCLEO_L073RZ] Add toolchains 2015-03-16 14:41:49 +01:00
Przemek Wirkus 35bb258f0a singletest.py version updated to 1.4 2015-03-16 12:56:19 +00:00
Rohit Grover b20dc8e4d4 another trivial change to a comment; fixed a typo. 2015-03-16 12:55:10 +00:00
Rohit Grover ea4537df7d shortened the comment in us_ticker_set_interrupt(). 2015-03-16 12:48:54 +00:00
Martin Kojtal cc6830bf9e Merge pull request #965 from bcostm/master
NUCLEO_L053R8/DISCO_L053C8 - hal files refactoring
2015-03-16 09:36:06 +00:00
Przemek Wirkus cf7f03254a Added to option --auto handler for -f <mcu> filter switch. Now using -f switch
will filter target platforms to test. Use comma to pass more MCU names to
filter.

```
$ singletest.py --auto -j 8 -O --config
MBEDLS: Detecting connected mbed-enabled devices...
MBEDLS: Detected NUCLEO_L053R8, port: COM35, mounted: E:
MBEDLS: Detected KL25Z, port: COM89, mounted: F:
MUTs configuration in auto-detected:
+-------+-------------+---------------+------+-------+
| index | peripherals | mcu           | disk | port  |
+-------+-------------+---------------+------+-------+
| 1     |             | NUCLEO_L053R8 | E:   | COM35 |
| 2     |             | KL25Z         | F:   | COM89 |
+-------+-------------+---------------+------+-------+

Test specification in auto-detected:
+---------------+-----+------+
| mcu           | ARM | uARM |
+---------------+-----+------+
| KL25Z         | Yes | -    |
| NUCLEO_L053R8 | -   | Yes  |
+---------------+-----+------+
```

Building original configuration (no filter):
```
$ singletest.py --auto -j 8 -O
MBEDLS: Detecting connected mbed-enabled devices...
MBEDLS: Detected NUCLEO_L053R8, port: COM35, mounted: E:
MBEDLS: Detected KL25Z, port: COM89, mounted: F:
Building library CMSIS (KL25Z, ARM)
Building library MBED (KL25Z, ARM)
Building project DETECT (KL25Z, ARM)
.
.
.
Building library CMSIS (NUCLEO_L053R8, uARM)
Building library MBED (NUCLEO_L053R8, uARM)
Building project DETECT (NUCLEO_L053R8, uARM)
.
.
.
Completed in 3.68 sec
```

```
$ singletest.py --auto -j 8 -O -f KL25Z --config
MBEDLS: Detecting connected mbed-enabled devices...
MBEDLS: Detected NUCLEO_L053R8, port: COM35, mounted: E:
MBEDLS: Detected KL25Z, port: COM89, mounted: F:
MUTs configuration in auto-detected:
+-------+-------------+-------+------+-------+
| index | peripherals | mcu   | disk | port  |
+-------+-------------+-------+------+-------+
| 2     |             | KL25Z | F:   | COM89 |
+-------+-------------+-------+------+-------+

Test specification in auto-detected:
+-------+-----+
| mcu   | ARM |
+-------+-----+
| KL25Z | Yes |
+-------+-----+
```

Building original configuration (with applied filter):
```
$ singletest.py --auto -j 8 -O -f KL25Z
MBEDLS: Detecting connected mbed-enabled devices...
MBEDLS: Detected NUCLEO_L053R8, port: COM35, mounted: E:
MBEDLS: Detected KL25Z, port: COM89, mounted: F:
Building library CMSIS (KL25Z, ARM)
Building library MBED (KL25Z, ARM)
Building project DETECT (KL25Z, ARM)
.
.
.
Completed in 1.33 sec
```
2015-03-13 15:30:44 +00:00
Martin Kojtal d477c486d2 Merge pull request #967 from PrzemekWirkus/devel_shell_plugin_update
Host test minor shell plugin update and bugfix
2015-03-13 15:29:47 +00:00
Martin Kojtal 38e1c7c94b Merge pull request #969 from mazgch/master
Update pin mapping form ODIN and C029
2015-03-13 10:37:27 +00:00