adustm
d6ac3b272a
DISCO_F429ZI : add ADC_3 define to NUCLEO_F446RE
...
Since DISCO_F429ZI uses 2 ADCs(#1 and #3 ), analogin_api was modified to
support it.
ADC3 is defined in stm32f446xx.h, then ADC_3 needs to be declared in
PeripheralNames.h for NUCLEO_F446RE
2015-11-09 19:37:25 +01:00
adustm
bd5f5c55f2
DISCO_F429ZI : add ADC_3 define to DISCO_F407VG
...
Since DISCO_F429ZI uses 2 ADCs(#1 and #3 ), analogin_api was modified to
support it.
DISCO_F407VG is based on STM32F407 product, that has 3 ADCs. ADC_3 thus
needs to be defined in the TARGET_DISCO_F407VG/PeripharalNames.h (even
if
not used)
2015-11-09 19:26:49 +01:00
adustm
94aa9c89ba
DISCO_F429ZI : add ADC_3 define to ARCH_MAX
...
Since DISCO_F429ZI uses 2 ADCs(#1 and #3 ), analogin_api was modified to
support it.
ARCH_MAX is based on STM32F407 product, that has 3 ADCs. ADC_3 thus
needs to be defined in the TARGET_ARCH_MAX/PeripharalNames.h (even if
not used)
2015-11-09 19:10:59 +01:00
adustm
b390f4cc27
Merge branch 'master' of https://github.com/mbedmicro/mbed into DEV_DISCOF429ZI
2015-11-09 18:04:26 +01:00
adustm
9783c7bf38
Debut RTOS_7
2015-11-09 17:40:08 +01:00
Martin Kojtal
f605825f66
Merge pull request #1410 from kpurusho/master
...
Added support for SAML21
2015-11-09 14:26:00 +01:00
adustm
202d56ef12
DISCO_F429ZI: Add uvision toolchain.
2015-11-09 11:01:12 +01:00
adustm
923617ceb4
STM_DISCO_F429ZI: allow this test to pass with 2 LEDs for DISCO_F429ZI
2015-11-09 10:41:49 +01:00
adustm
31b410f3cb
STM_DISCO_F429ZI: allow the test to pass on this DISCO_F429ZI with only 2 LEDs
2015-11-09 10:40:55 +01:00
adustm
3993489705
DISCO_F429ZI: change copyright year
2015-11-09 10:39:49 +01:00
adustm
445823aae5
DISCO_F429ZI: change LED_RED
2015-11-09 10:39:15 +01:00
adustm
1e65098a5c
DISCO_F429ZI: add a comment
2015-11-09 10:38:41 +01:00
adustm
b6cab87af1
DISCO_F429ZI: remove pins that are not on the board.
2015-11-09 10:38:16 +01:00
adustm
2bf69bc512
DICSO_F429ZI: align with other F4 products
2015-11-09 10:37:35 +01:00
adustm
9333f8546c
DISCO_F429ZI: align startup file with STM32F4Cube version
2015-11-09 10:37:00 +01:00
adustm
f182fa73ca
DISCO_F429ZI: update the file: comment every impossible combination,
...
remove pins that are not available on the board.
2015-11-09 10:36:07 +01:00
adustm
790c7f17e6
DISCO_F429ZI: remove ADC2 and DAC0
2015-11-09 10:34:57 +01:00
adustm
47f453e1a7
DISCO_F429ZI: change copyright year + minor typo
2015-11-09 10:33:33 +01:00
adustm
d22b43b9e9
DISCO_F429ZI: allow ADC1 and ADC3
2015-11-09 10:32:25 +01:00
adustm
5fc64fff9e
DISCO_F429ZI : add SPI6
2015-11-09 10:31:43 +01:00
adustm
b3be112ce6
ALL STM32F4 products : reduce LSE timeout
2015-11-09 10:29:36 +01:00
adustm
675a12c2d5
DISCO_F429ZI: align system_stm32f4xx.c file with other products
2015-11-09 10:28:55 +01:00
Mika Laurila
e46a3a4475
Changed FMPI2C specific to F410RB
2015-11-06 14:45:13 +02:00
Wojciech Gorniak
98565bc91c
fixed FMPI2C1 typo
2015-11-06 13:14:31 +01:00
Mika Laurila
fb2776dd76
Changes to make all PWM output pins available
2015-11-06 13:46:26 +02:00
dbestm
ba14dee242
Merge remote-tracking branch 'refs/remotes/mbedmicro/master' into dev_disco_f469ni
2015-11-06 10:54:09 +01:00
dbestm
96392ac3d7
[xxxxx_F4xxxx] reduce HSE startup time to 200ms
2015-11-06 10:20:44 +01:00
Mika Laurila
647c1a6777
Added TARGET_STM32F410RB to spi_frequency() in spi_api.c
2015-11-06 07:39:11 +02:00
dbestm
306f1290fe
[DISCO_F469NI] enhance files to pass pin out tests
2015-11-05 17:30:17 +01:00
Wojciech Gorniak
104bd90a44
Merge branch 'master' of https://github.com/RafalFabich/mbed
2015-11-05 16:20:22 +01:00
Wojciech Gorniak
743c3194a4
added target definition to RTOS-related files
2015-11-05 16:20:04 +01:00
Mika Laurila
acf608253e
Fixed FMPI2C ifdefs and macro names
2015-11-05 15:04:45 +02:00
Wojciech Gorniak
3df37e29a1
added SetSysClock (merged with F411)
2015-11-05 13:48:53 +01:00
Martin Kojtal
c7fe39e4bc
Merge pull request #1402 from GymTrack/fix_nrf_analogin
...
Fix analogin checking the wrong flag for completion
2015-11-05 08:47:59 +00:00
Martin Kojtal
f8c0829c67
Merge pull request #1406 from shaneleonard/fix_stm32l152re_uarts
...
Fix broken STM32_NUCLEO_L152RE UARTs 4 and 5.
2015-11-05 08:38:42 +00:00
unknown
3f7afc51bd
Removed some duplicate I2C pins
2015-11-05 09:15:13 +02:00
Martin Kojtal
46af745ef4
Merge pull request #1407 from kpurusho/master
...
Renamed TARGET_SAM_CortexM0+ to TARGET_SAM_CortexM0P for compatiblity with online compiler
2015-11-04 16:28:06 +00:00
Parthasarathy.S
7d360ad5ad
Reverted temp rename
2015-11-04 16:04:30 +05:30
akhilpanayam
d7449dc9f8
* added files for Keil IDE Support.
2015-11-04 16:02:49 +05:30
akhilpanayam
7ca0d74564
* added files for KEIL IDE Support for SAML21
...
* updated Startup files for KEIL IDE Support
2015-11-04 16:02:34 +05:30
akhilpanayam
2c5508bf77
* Base commit of SAML21J18A hal and CMSIS files.
2015-11-04 16:02:03 +05:30
akhilpanayam
6f96d862aa
* updated mbed tests for SAML21J18A.
2015-11-04 16:01:49 +05:30
akhilpanayam
5aadeb62c7
* updated with corrections in analogue out implementation for SAML21.
...
* corrected ARM license year for files.
2015-11-04 16:01:38 +05:30
Parthasarathy.S
e312ef7a0b
Temp rename for merging
2015-11-04 16:01:11 +05:30
Parthasarathy.S
28c7806b59
Temp rename for merging
2015-11-04 16:00:47 +05:30
unknown
75a5894a87
Updated I2C pin mapping
2015-11-04 10:30:20 +02:00
Wojciech Gorniak
bc1d9362a1
added DAC support
2015-11-03 12:59:00 +01:00
akhilpanayam
57dd8871ee
* Renamed TARGET_SAM_CortexM0+ to TARGET_SAM_CortexM0P for compatiblity with online compiler
2015-11-03 12:27:50 +05:30
Shane Leonard
3bd04ade93
Fix broken STM32_NUCLEO_L152RE UARTs 4 and 5.
2015-11-02 11:30:56 -08:00
Martin Kojtal
5eccd220ea
Merge pull request #1395 from kpurusho/master
...
Added Keil compiler support for Atmel Targets
2015-11-02 10:05:01 +00:00
tomoyuki yamanaka
c3c389744e
Modify the format of code
...
We modified the format of code.
2015-11-02 17:50:04 +09:00
tomoyuki yamanaka
3d708b73dd
Modify to not missed the received data in EthernetInerface
...
In EthernetInerface, we added the measures so as not to miss the received data.
2015-11-02 10:49:41 +09:00
David
1d40c27584
Fix analogin checking the wrong flag for completion
2015-10-30 11:27:00 -04:00
Wojciech Gorniak
c90cbb7663
fixed bug with pwm5
2015-10-30 16:13:49 +01:00
Wojciech Gorniak
0b6e85ec95
removed PWR5
2015-10-30 14:23:01 +01:00
Rafal Fabich
668ee0922b
Merge branch 'master' of https://github.com/RafalFabich/mbed
2015-10-30 13:33:13 +01:00
Rafal Fabich
e0dd831b4d
Updated files used by IAR compiler with those available from STM32CubeF4 package
2015-10-30 13:31:31 +01:00
Wojciech Gorniak
326f23c6e1
redefined rest of the peripherialPins
2015-10-30 13:31:27 +01:00
Rafal Fabich
4394cf7e11
Revert "Fixed bug: missing clock enable for PWM_5 (TIM5)"
...
This reverts commit f1358842bd
.
2015-10-30 11:30:20 +01:00
Rafal Fabich
0938cc034f
Fixed FMPI2C1 defines in i2c_api.c
2015-10-30 09:14:36 +01:00
Rafal Fabich
f1358842bd
Fixed bug: missing clock enable for PWM_5 (TIM5)
2015-10-29 16:18:45 +01:00
Wojciech Gorniak
eaa226b2ba
added pwm mapping in peripherialPins
2015-10-29 16:09:27 +01:00
Rafal Fabich
3d27c7d806
Added FMPI2C1 controller as 3rd available I2C
2015-10-29 14:58:30 +01:00
Rafal
e856a30c95
Fixed and re-enabled PWMs
2015-10-29 13:00:12 +01:00
0xc0170
6bdf53a4e8
mbed lib revision - 109
...
Fix in analogin - DK target does not provide the pins
2015-10-29 11:48:55 +00:00
Rafal
8ef60cdca2
Changes in pin mapping in order to build the STM32F410RB Nucelo target.
...
Target can be built, but not verified due to Flashing problems.
2015-10-29 12:12:57 +01:00
Rafal Fabich
af67241528
Upgraded HAL drivers to 1.4.1.
...
Note: NUCLEO-F410RB target cannot be built due to incorrect pin mapping, which has to be fixed.
2015-10-29 11:06:44 +01:00
Tim Hutt
dbbe290da9
Tabs -> Spaces
2015-10-28 14:01:14 +00:00
bcostm
9a9c147e49
Remove eventual pending stop bit before start
2015-10-28 13:17:19 +01:00
bcostm
d459d87749
Add HSI calibration value
2015-10-28 09:53:45 +00:00
dbestm
77a3884c33
[NUCLEO_F042K6] HSI default value rightly set
...
this resolves a lot of problems and the external clock can be check
2015-10-27 17:02:51 +01:00
Rafal Fabich
f1578435be
Renamed linker and startup files
...
Fixed memory sizes in compilers files
2015-10-27 15:57:24 +01:00
dbestm
403df2fe25
[NUCLEO_F042K6] remove external clock
2015-10-27 15:05:33 +01:00
Rafal Fabich
29922943eb
Modified memory sizes in linker script
2015-10-27 13:58:08 +01:00
Rafal Fabich
274d769a0e
Added build target for STM32F410RB.
...
Initial version that can be built is based on STM32F411RE target which is compatible with F410.
TODOs: MCU specific modifications in CMSIS/HAL like memory sizes/map, peripherals, clocks, etc.
2015-10-27 13:50:52 +01:00
akhilpanayam
8b0b517378
* updated with changes in ld files for D21 Targets.
2015-10-27 17:03:06 +05:30
akhilpanayam
8eb34cf253
* Added Keil IDE Support for SAMD21J18A and SAMD21G18A.
2015-10-27 17:03:06 +05:30
akhilpanayam
c187bc952d
* Added Keil Compiler Supprot for SAMR21G18A
2015-10-27 17:03:05 +05:30
Tim Hutt
8aaee5aa4f
Fix #1393 - I2C assumes NRF_TWI1; causes SPI lockup if that peripheral is actually used by SPI.
2015-10-27 10:48:47 +00:00
dbestm
8c549f9b9a
Merge branch 'master' of https://github.com/mbedmicro/mbed into dev_disco_f469ni
2015-10-26 10:14:58 +01:00
Martin Kojtal
22ef412435
Merge pull request #1384 from bcostm/fix_analogout
...
STM32xx -Fix analog_out issue with 12 to 16bits conversion
2015-10-26 08:57:15 +00:00
Martin Kojtal
96f5f02eda
Merge pull request #1390 from Sissors/lookmartinImadeanewbranch
...
HAL K20XX - us_ticker changes
2015-10-26 08:54:08 +00:00
Martin Kojtal
0447fe6536
Merge pull request #1388 from al177/master
...
Copy NVIC to RAM from anywhere in flash for TARGET_K22F
2015-10-26 08:48:56 +00:00
Sissors
e1feb7ce5b
[HAL][K20XX]
...
Fixed for the K20D50M a possible race condition in the software part of
the timer.
The Teensy has the ability to chain timers, so similar to the KSDK ones
we switched it to full hardware timers for both Ticker and regular
Timer.
2015-10-24 21:54:36 +02:00
al177
dbd4a85e11
Remove unused vector table flash base macro
2015-10-22 09:42:50 -05:00
dbestm
b07521e08a
[DISCO_F469NI] RTOS support
2015-10-21 17:26:09 +02:00
al177
aa6ad1c524
Copy NVIC to RAM from anywhere in flash
...
Copy the NVIC from any address below RAM, not just at 0x0. This is helpful
when using a bootloader, which must have its own vector table at 0x0. Identical
to ebcee71 for TARGET_KL46Z.
fix commit id
2015-10-21 10:17:43 -05:00
dbestm
7d245b9cff
Merge branch 'master' of https://github.com/mbedmicro/mbed into dev_disco_f469ni
2015-10-21 16:26:16 +02:00
dbestm
c01a13fe1f
[DISCO_F469NI] add support of the disco f469ni
2015-10-21 16:26:06 +02:00
bcostm
1e3f7cdbf2
Fix analogout issue on 12 to 16 bits conversion
2015-10-19 15:32:09 +02:00
bcostm
0e3e29d5f0
Merge branch 'master' of https://github.com/bcostm/mbed
...
Conflicts:
libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_MICRO/startup_stm32l476xx.s
libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_MICRO/stm32l476xx.sct
libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/startup_stm32l476xx.s
libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/stm32l476xx.sct
libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_GCC_ARM/STM32L476XX.ld
libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_IAR/stm32l476xx.icf
libraries/mbed/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0+/TARGET_SAMD21J18A/PeripheralNames.h
libraries/mbed/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0+/TARGET_SAMD21J18A/PeripheralPins.c
libraries/mbed/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0+/TARGET_SAMD21J18A/PeripheralPins.h
libraries/mbed/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0+/TARGET_SAMD21J18A/PinNames.h
libraries/mbed/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0+/TARGET_SAMD21J18A/analogout_api.c
workspace_tools/build_release.py
workspace_tools/host_tests/host_test.py
2015-10-19 14:27:45 +02:00
Martin Kojtal
856efdc67d
Merge pull request #1379 from dbestm/dev_nucleo_f303k8
...
NUCLEO_F303K8 - Dev nucleo f303k8
2015-10-16 08:35:48 +02:00
Martin Kojtal
3b17582f80
Merge pull request #1380 from star297/master
...
Teensy3.1 Update MK20DX256.h
2015-10-16 08:33:18 +02:00
tomoyuki yamanaka
0046b63862
In USB Host, fix bugs of device insertion and removal and isochronous transfer.
...
Bugs are as below.
- When user disconnect the USB during Audio playback, GR-PEACH may not recognize it.
- When running isochronous transfer multiple at the same time, GR-PEACH can not operate properly.
2015-10-16 13:41:46 +09:00
Paul Staron
1661c1dc78
Update MK20DX256.h
...
Added missing PIT timer chain defines.
2015-10-14 19:59:24 +01:00
dbestm
86c139d13b
[NUCLEO_F303K8] add support for the nucleo_f303k8
2015-10-12 11:34:06 +02:00
Martin Kojtal
3f2632bebc
Merge pull request #1375 from TomoYamanaka/master
...
Reflect the change size of structure of Mutex to Ethernet module
2015-10-09 07:50:07 +01:00
Martin Kojtal
646f4d174d
Merge pull request #1377 from star297/master
...
Update Teensy3.1 PinNames.h
2015-10-07 07:47:38 +01:00
Paul Staron
f239d463b2
Update PinNames.h
...
Correct i2c pin defines
2015-10-06 23:29:55 +01:00
Martin Kojtal
3b75452bbd
Merge pull request #1365 from dbestm/dev_nucleo_f042k6
...
Dev nucleo f042k6
2015-10-06 13:15:39 +01:00
tomoyuki yamanaka
eab7196f0f
Reflect the change size of the structure of the Mutex to ethernet module.
...
We reflected the change size of the structure of the Mutex associated with NEON of CMSIS-RTOS RTX for Cortex-A9support to ethernet module.
2015-10-06 21:10:53 +09:00
Martin Kojtal
63942c6a17
Merge pull request #1368 from star297/master
...
TARGET_STM32F7\rtc_api.c enable backup RTC function
2015-10-06 13:10:23 +01:00
Martin Kojtal
931ac06492
Merge pull request #1351 from struempelix/master
...
Enabling ADC for NRF51 P26 & P27. Currently these pins can be used as…
2015-10-06 11:45:19 +01:00
Martin Kojtal
0e0bd6f2dd
Merge pull request #1361 from Wiznet/mbed_eco
...
PR for new platform WIZWIKI_W7500ECO.
2015-10-06 11:40:41 +01:00
Mike Fiore
6bec674340
add XBEE_DIO7 pin definition for MTS mDot
2015-10-05 15:38:19 -05:00
0xc0170
d9bb12602a
Merge branch 'master' into dev_rel108b
2015-10-05 08:11:31 +01:00
0xc0170
2b2fa3a4e4
mbed lib revision - 108
2015-10-02 19:08:08 +02:00
Paul Staron
63abe6ff15
TARGET_STM32F7\rtc_api.c enable backup RTC function
...
Simple check to test the RTC ISR register if RTC is set up and running.
Avoids register reset on nRST or power cycle with vBAT present.
2015-10-01 23:50:18 +01:00
dbestm
f769fee22f
Merge branch 'master' of https://github.com/mbedmicro/mbed into dev_nucleo_f042k6
2015-10-01 14:04:34 +02:00
dbestm
d3ae38ced6
[NUCLEO_F042K6] add nucleo_f042k6 support
2015-10-01 14:03:52 +02:00
kaizen8501
9e2dd5b732
Modified LED definition error when test singletest.py.
2015-09-30 12:17:52 +09:00
kaizen8501
e3e7077784
Modified LED definition for WIZwiki-W7500ECO board.
2015-09-30 11:17:59 +09:00
hjjeon0608
59554a1021
Merge branch 'master' of https://github.com/mbedmicro/mbed into mbed_eco
2015-09-30 10:04:03 +09:00
hjjeon0608
836b50605f
Add files of WIZWIKI_W7500ECO platform in cmsis and hal folder.
2015-09-30 09:50:05 +09:00
akhilpanayam
6281ee8e71
* Added support for SAMD21G18A for Analog Test.
2015-09-29 10:33:04 +05:30
akhilpanayam
380fab0072
* updated pwmout_api.c for KnR coding standards.
2015-09-29 10:33:03 +05:30
akhilpanayam
ed74f3ae73
* Updated with corrections in PWM driver
...
* Added PWM LED test for W25 (SAMD21G18A)
2015-09-29 10:33:02 +05:30
akhilpanayam
4f52a16b31
* added board specific file for SAM W25.
2015-09-29 10:33:01 +05:30
akhilpanayam
fef98f58e3
* updated interrupt chaining test.
2015-09-29 10:33:00 +05:30
vimalrajr
71ae8b0b9f
Adding support for SAMD21G18A in SDK tests.
2015-09-29 10:32:59 +05:30
akhilpanayam
77bf03b30b
* updated with test support for SAMD21G18A targets. Used pins commonly available in expansion headers of development boards.
...
* USBTX and USBRX pins updated.
2015-09-29 10:32:58 +05:30
vimalrajr
a5fed5201c
Adding SERCOM and PWM pinouts.
2015-09-29 10:32:57 +05:30
akhilpanayam
8c6b817ca2
* Base Commit for SAMW25 support.
2015-09-29 10:32:56 +05:30
Martin Kojtal
0fa6058084
Revert "[NUCLEO_F303K8] add support of the STM32F303K8"
2015-09-28 19:01:26 +02:00
Paul Staron
3ee5d7ac62
system_MK20DX256.c 96MHz default set up
...
Added/changed clock set ups for Teensy3.1.
2015-09-28 15:49:07 +02:00
Paul Staron
f2f31c82e1
system_MK20DX256.c description wording correction
...
Corrected frequency description wording to 72MHz CPU clock, 36MHz Bus
clock, 24MHz Flash clock.
2015-09-28 15:48:46 +02:00
Paul Staron
bffd22e2fb
system_MK20DX256.c Clock Setup 3 correction
...
Reduced system and flash clock speeds to specification values. Some
MCU's became unstable at the higher speeds.
2015-09-28 15:48:34 +02:00
dbestm
d7ab336a2b
Merge branch 'master' of https://github.com/mbedmicro/mbed into dev_nucleo_f303k8
...
Conflicts:
workspace_tools/host_tests/host_test.py
2015-09-28 14:23:53 +02:00
0xc0170
4b5bb913d2
Merge branch 'mbed_dev2' of https://github.com/Wiznet/mbed into Wiznet-mbed_dev2
2015-09-28 12:43:52 +02:00
Martin Kojtal
54fbe4144f
Merge pull request #1332 from adustm/dev_NUCLEO_F031K6
...
NUCLEO_F031K6 : Add new target
2015-09-28 11:35:04 +02:00
Martin Kojtal
fd08c6a5e9
Merge pull request #1344 from wodji/patch-4
...
fix [-Wtype-limits] warning
2015-09-28 11:31:09 +02:00
Martin Kojtal
308ee306a9
Merge pull request #1343 from wodji/patch-3
...
fix [-Wtype-limits] warning
2015-09-28 11:30:57 +02:00
Martin Kojtal
fc71328378
Merge pull request #1342 from wodji/patch-2
...
fix -Wmaybe-uninitialized warning.
2015-09-28 11:30:37 +02:00
Martin Kojtal
87e468c302
Merge pull request #1353 from helmut64/master
...
Fixed stack location problem for disco and nucleo boards (STM32L4)
2015-09-28 11:23:50 +02:00
Toyomasa Watarai
1f1c68ce19
[LPC1768 GCC_CR exporter] Fixed linker description
...
* Divide AHB SRAM for USB and Ethernet RAM regions
* Add NOLOAD keyword for .bss sections to avoid redundant data in final
image
2015-09-27 19:52:11 +09:00
Helmut Tschemernjak
8dead7639d
Updated RAM config symbols to reflect the L4 device ram names
2015-09-25 19:45:14 +02:00
adustm
dd1e6f2843
Merge remote-tracking branch 'mbedmicro/master' into dev_NUCLEO_F031K6
2015-09-25 16:53:15 +02:00
adustm
7d93e9c8ef
NUCLEO_STMF031K6 : fix tabulation + coding style
...
No code change, only style modifications
2015-09-25 15:40:49 +02:00
Martin Kojtal
fe238a91ab
Merge pull request #1340 from stevew817/master
...
Silicon Labs - Add support for low-power async Serial
2015-09-25 15:09:04 +02:00
Martin Kojtal
e8c24ba90d
Merge pull request #1326 from TomoYamanaka/master
...
RZ_A1H - Modify to support NEON for RTOS.
2015-09-25 14:23:28 +02:00
Aksel Skauge Mellbye
4c4d2fa6a6
serial_api: Remove unnecessary clocking code.
2015-09-25 12:55:59 +02:00
Martin Kojtal
724c07935c
Merge pull request #1337 from kpurusho/master
...
Changes contains only "Copyright year information" and "KR styling". Safe to merge.
2015-09-25 12:52:38 +02:00
Martin Kojtal
ff849970fb
Merge pull request #1341 from WoGorniak/master
...
add Espotel Elmo platform
2015-09-25 12:51:52 +02:00
Martin Kojtal
b290644b9c
Merge pull request #1338 from PeterConheeney/master
...
changes for adding IoT Subsystem for Cortex-M target
2015-09-25 12:37:58 +02:00
Helmut Tschemernjak
cef2da3c75
Fixed stack location problem for disco and nucleo boards.
...
Move main ram to the 32k L4-SRAM2 which is being retained on in
standby mode. The additional 96k ram comes second.
The new memory layout preserves all vectors and stack in standby mode
2015-09-25 10:59:36 +02:00
Wojciech Gorniak
848494928a
updated years in device header
2015-09-25 10:08:43 +02:00
dbestm
0fb5d52a8c
[NUCLEO_F303K8] add rtos support
2015-09-24 16:33:57 +02:00
dbestm
1f04d34700
Merge branch 'master' of https://github.com/mbedmicro/mbed into dev_nucleo_f303k8
2015-09-24 16:22:15 +02:00
dbestm
a798dbf688
Revert "[NUCLEO_F303K8] add RTOS support"
...
This reverts commit e9728b552e
.
2015-09-24 16:19:40 +02:00
dbestm
e9728b552e
[NUCLEO_F303K8] add RTOS support
2015-09-24 15:49:02 +02:00
jens
f8fe8cb749
Enabling ADC for NRF51 P26 & P27. Currently these pins can be used as Digital In/Out or XTAL input only.
2015-09-24 13:02:58 +02:00
Aksel Skauge Mellbye
ec865eac30
rtc_api: Bugfix clock selection.
2015-09-23 11:56:56 +02:00
dbestm
8361259947
[NUCLEO_F303K8] add support of the STM32F303K8
2015-09-23 11:32:38 +02:00
adustm
8bb0b79ebb
NUCLEO_F031K6 Comment pins that are not on the board
2015-09-22 11:16:51 +02:00
Wodji
8c7c763d21
fix [-Wtype-limits] warning
2015-09-21 20:08:18 +01:00
Wodji
9a66d71919
fix [-Wtype-limits] warning
2015-09-21 20:07:01 +01:00
wodji
ec9f18f552
fix -Wmaybe-uninitialized warning.
2015-09-21 19:50:12 +01:00
Wojciech Gorniak
4b3edeb8a2
sx1272 driver removed from platform repo
2015-09-17 14:14:59 +02:00
Wojciech Gorniak
a68263815f
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-09-17 11:52:48 +02:00
0xc0170
37ae865a61
mbed lib revision - 107
2015-09-17 08:40:09 +01:00
Aksel Skauge Mellbye
e8b022c310
[EFM32] Fix bug in rtc_free_real
2015-09-17 08:23:11 +02:00
Linjia
8a7ce51ddf
change license header from mbed to silicon labs
2015-09-16 17:20:43 +02:00
Srod Karim
de8ce50fe5
DMA interrupt fix, and avoid potential double-unblock
2015-09-16 17:20:34 +02:00
Srod Karim
42c5af3702
fix for USART transmissions under 3 bytes long
2015-09-16 17:20:31 +02:00
Srod Karim
2af3e5dfd7
abort transfer on TXC
2015-09-16 17:20:28 +02:00
Srod Karim
403f16d83c
clear interupts on read_async, and properly abort when end is reached
2015-09-16 17:20:25 +02:00
Srod Karim
5ea16a749f
fix typo
2015-09-16 17:17:47 +02:00
Srod Karim
4b3a6e3f92
add comment
2015-09-16 17:17:44 +02:00
Srod Karim
8972fab66c
clear interupts also whem using DMA
2015-09-16 17:17:41 +02:00
Srod Karim
30041b8f3d
removed unneccesary function
2015-09-16 17:17:39 +02:00
Srod Karim
d9d9ea305b
properly disable DMA if character match is set
2015-09-16 17:17:36 +02:00
Srod Karim
199fe17376
properly reset interupt flags
2015-09-16 17:17:33 +02:00
Srod Karim
e7597d5a54
disable character match if no character is specified
2015-09-16 17:17:30 +02:00
Srod Karim
d5d3ba3a99
removed all usage of SIGF
2015-09-16 17:17:27 +02:00
Srod Karim
7d475adbb6
defaulting to EM4 instead of EM3
2015-09-16 17:17:25 +02:00
Srod Karim
096733c785
add missing #endif in clocking.h
2015-09-16 17:17:22 +02:00
Srod Karim
1d7d92ed39
move away from using enum values during preprocessing
2015-09-16 17:17:17 +02:00
Srod Karim
529a248c27
move away from using defines over cmuSelect_X
2015-09-16 17:16:17 +02:00
Srod Karim
1adaeb4a44
increased bandrate range
2015-09-16 17:15:56 +02:00
Srod Karim
54e2dd02fe
if no sleep modes are blocked, enter EM3
2015-09-16 17:15:54 +02:00
Srod Karim
f9c1ca8e29
compatability for devices without LFXO or where LFXO is not the low energy clock source
2015-09-16 17:15:51 +02:00
Srod Karim
c328fb068e
DMA fix
2015-09-16 17:15:49 +02:00
Srod Karim
f1e1977506
LEUART EM2 release
2015-09-16 17:15:46 +02:00
Srod Karim
b832689ae0
various fixes - candidate release
2015-09-16 17:15:40 +02:00
Srod Karim
7746a4be75
set clocktrees, and enable DMA in EM2
2015-09-16 17:15:01 +02:00
Srod Karim
5a9464b26a
branched block/unblock
2015-09-16 17:14:58 +02:00
Martin Kojtal
45d00c36b3
Merge pull request #1322 from dbestm/fix_rtos_support
...
[NUCLEO_L476RG] add hal and target files
2015-09-16 11:06:15 +01:00
Peter Conheeney
24ebe1790e
changes for adding IoT Subsystem for Cortex-M target
2015-09-14 12:23:32 +01:00
adustm
fbdf211df1
DISCO_F051R8: update device header file with the last STM32CubeF0 hal version
2015-09-11 17:10:43 +02:00
adustm
95bf707325
NUCLEO_F031K6 : update python and test files
2015-09-11 15:11:35 +02:00
adustm
d571b16e90
STM32F0 : Update targets after STM32F0 Cube HAL driver update
2015-09-11 15:07:42 +02:00
adustm
f7caf72009
STM32F0 : update hal api files
2015-09-11 15:06:04 +02:00
adustm
ae0891878a
NUCLEO_F031K6 : add new target
2015-09-11 15:02:05 +02:00
adustm
d9384660dc
STM32F0 - Update Cube F0 HAL driver
2015-09-11 15:00:50 +02:00
James Crosby
985d87ba7e
ignore target files not supported by the yotta module, to minimise published module size
2015-09-09 09:30:31 +01:00
hjjeon0608
481a9d97cc
Merge branch 'master' of https://github.com/mbedmicro/mbed into mbed_dev2
2015-09-09 14:20:13 +09:00
hjjeon0608
5498c96161
Add files of WIZWIKI_W7500P platform in cmsis and hal folder.
2015-09-09 14:18:41 +09:00
tomoyuki yamanaka
5d7099994a
Modify to support NEON for RTOS. (mbed common codes)
...
We modified to support NEON of CMSIS-RTOS RTX for Cortex-A9 and fixed some bugs of it.
2015-09-08 16:39:35 +09:00
tomoyuki yamanaka
7ea62c20b3
Modify to support NEON for RTOS. (mbed CMSIS HAL)
...
We modified to support NEON of CMSIS-RTOS RTX for Cortex-A9 and fixed some bugs of it.
2015-09-08 16:39:07 +09:00
tomoyuki yamanaka
39d801e5c6
Modify to support NEON for RTOS. (CMSIS-RTOS common code)
...
We modified to support NEON of CMSIS-RTOS RTX for Cortex-A9 and fixed some bugs of it.
2015-09-08 16:38:09 +09:00
tomoyuki yamanaka
d8a3c68e2c
Modify to support NEON for RTOS. (CMSIS-RTOS RTX for Cortex-A9)
...
We modified to support NEON of CMSIS-RTOS RTX for Cortex-A9 and fixed some bugs of it.
2015-09-08 16:37:18 +09:00
hjjeon0608
1c607a6c7a
UART 2 is enabled.
...
Until now, only UART 0, 1 are enabled, but now UART 2 is also enabled.
W7500P should need UART 2 because DAP use UART 2.
2015-09-08 08:44:22 +09:00
dbestm
ee21754e9a
[NUCLEO_DISCO_L476xG] add RTOS support
2015-09-07 14:39:40 +02:00
dbestm
a6f4046e7b
[NUCLEO_L476RG] add hal and target files
2015-09-07 14:01:17 +02:00
Wojciech Gorniak
14202fb35a
fixed SX1272MB1xAS constructor
2015-09-07 12:36:44 +02:00
Wojciech Gorniak
b6169668b7
delete radio before thi=0 - fixes spurious interrupts during RadioContex deleting.
2015-09-07 12:20:36 +02:00
Wojciech Gorniak
f22236b460
Defined RF pins.
...
Conflicts:
libraries/radio/SX127x/sx1272/sx1272-hal.cpp
libraries/radio/SX127x/sx1272/sx1272-hal.h
2015-09-07 12:13:34 +02:00
Martin Kojtal
40a175b168
Merge pull request #1321 from adfernandes/master
...
Fix a signed and unsigned integer comparison warning
2015-09-07 09:56:17 +01:00
Martin Kojtal
bed6e15da6
Merge pull request #1320 from Sissors/lookmartinImadeanewbranch
...
[HAL][K20XX] Fixed (possible) glitches when changing SPI mode on K20 …
2015-09-07 09:55:18 +01:00
Martin Kojtal
748fea3057
Merge pull request #1316 from kpurusho/master
...
Drivers for SAMD21
2015-09-07 09:46:11 +01:00
Andrew Fernandes
b2c122be4c
Fix a signed and unsigned integer comparison warning
2015-09-06 17:59:04 -04:00
Sissors
7423bd3d7b
[HAL][K20XX] Fixed (possibly) glitches when changing SPI mode on K20 MCUs
...
Made register access bit nicer (not first clearing bit and then setting
it again if thats not required), and additionally when clock idle level
is changed, it writes out a dummy byte. Problem is only after a write
the idle level is changed, resulting in a clock glitch at the start
2015-09-06 20:34:46 +02:00
akhilpanayam
799d2d61c3
* Updated cmsis files for KnR Coding Standards.
2015-09-04 16:10:35 +05:30
akhilpanayam
0223afcddd
* updated year in ARM mbed license.
2015-09-04 15:59:43 +05:30
Martin Kojtal
92d1bfad30
Merge pull request #1318 from Wiznet/mbed_dev1
...
Change directory structure and move files.
2015-09-04 09:29:53 +01:00
Martin Kojtal
a412b49ac5
Merge pull request #1315 from lindvalla/fix_llu35_lpcxpresso_issue
...
Fixed linker script for LPCXpresso for EA LPC11U35 QuickStart Board
2015-09-04 08:36:19 +01:00
Martin Kojtal
1f6eaa5e1d
Merge pull request #1313 from fredlak/master
...
FRDM KL43Z - Fix RTC init function for KL43Z
2015-09-04 08:33:10 +01:00
Martin Kojtal
a19d9e011d
Merge pull request #1310 from masaohamanaka/master
...
Modify the register setting method in the pin setting configuration.
2015-09-04 08:02:30 +01:00
Pawel Rozanski
feccab3e21
Full ELMO pin bindings.
2015-09-03 14:54:42 +02:00
Pawel Rozanski
4798979199
Renamed lib to more 'standard' name.
2015-09-03 13:10:07 +02:00
Pawel Rozanski
2d7b9c3e89
On SX1272 reset works other way around than on SX1276.
2015-09-03 13:09:06 +02:00
Wojciech Gorniak
755181bd28
Spurious letter.
...
Conflicts:
libraries/tests/radio/SX127xPingPong/main.cpp
2015-09-03 13:06:11 +02:00
Pawel Rozanski
4c95e443c8
Radio print function.
2015-09-03 12:54:36 +02:00
Pawel Rozanski
913b8d8971
MCU's RXTX debug on LED. Board whitout PB_BOOST.
2015-09-03 12:50:19 +02:00
Pawel Rozanski
76716dfdb0
ELMO pins for radio.
2015-09-03 12:46:47 +02:00
Pawel Rozanski
d57d85951f
Semtech's SX1276 PingPong import.
2015-09-03 12:42:10 +02:00
Pawel Rozanski
f06226df4c
ELMO's spi
2015-09-03 12:40:46 +02:00
Pawel Rozanski
4e1ca8fcad
ELMO STDIO on UART 1.
2015-09-03 12:39:37 +02:00
Pawel Rozanski
bb507ec099
ELMO's SPI aliases
2015-09-03 12:38:06 +02:00
Pawel Rozanski
cde6461116
ELMO's LED.
2015-09-03 12:21:25 +02:00
Pawel Rozanski
e8d8f93350
25Mhz xtal for ELMO.
2015-09-03 12:20:48 +02:00
Wojciech Gorniak
b9fd743216
ELMO target (NUCLEO_F411RE copy).
...
Conflicts:
workspace_tools/build_release.py
workspace_tools/export_test.py
workspace_tools/toolchains/gcc.py
2015-09-03 11:58:01 +02:00
0xc0170
8a32badea1
mbed lib revision - 106
2015-09-02 16:47:10 +01:00
hjjeon0608
cbe00fd832
Remove '#include W7500x_conf.h'
...
Add assert parameter define.
2015-09-02 17:59:15 +09:00
hjjeon0608
3208676d7a
We handle including header by W7500x_conf.h.
...
But now I deleted the W7500x_conf.h and all peri drivers have own including header.
And some code are optimized and removed warning.
2015-09-02 17:55:26 +09:00
hjjeon0608
01ce5e6580
Move defines of UART from PeripheralNames.h to device.h because to move PeripheralNames.h(not dependent mcu) to upper folder.
2015-09-02 17:34:19 +09:00
hjjeon0608
b329a1e6b5
I found wrong pin name during re-struct the folders.
...
So I correct this.
2015-09-02 17:32:01 +09:00
hjjeon0608
428eae0cdc
objects.h, PeripheralNames.h and PortNames.h are moved from TARGET_WIZwiki_W7500 folder to upper folder.
2015-09-02 17:15:13 +09:00
hjjeon0608
17d6ff861a
objects.h, PeripheralNames.h and PortNames.h are moved from TARGET_WIZwiki_W7500 folder to upper folder because they are not dependent to mcu.
2015-09-02 17:14:12 +09:00
hjjeon0608
d6d279edb5
Peripheral drivers are moved from cmsis to hal folder.
...
And cmsis.h, cmsis_nvic.c, cmsis_nvic.h, system_W7500x.c, system_W7500x.h and W7500x.h are moved to upper folder.
2015-09-02 17:11:59 +09:00
Martin Kojtal
47c81703b3
Merge pull request #1301 from Bernator/master
...
[LPC11U68] fix Uart1-4 irq handling bugs, add Pins P0_14,P0_13 for use with Uart1
2015-09-02 07:46:28 +01:00
Martin Kojtal
483bb0197f
Merge pull request #1299 from claplace/lpc81x
...
LPC81X: reduce code size and add ARM_GCC support
2015-09-01 15:45:33 +01:00
akhilpanayam
1ac74c33f2
* updated with correction in serial_api,c for finding mux setting.
2015-09-01 19:15:46 +05:30
akhilpanayam
5079132062
* updated with corrections in Analogue in and out APIs.
2015-09-01 19:15:45 +05:30
Karthik Purushothaman
127471ba30
Moved files from TARGET_SAM0 to TARGET_SAM_CortexM0+
2015-09-01 19:15:44 +05:30
akhilpanayam
ddfb57e932
* updated with corrections in default pins.
2015-09-01 19:15:43 +05:30
akhilpanayam
4d5f7a3fa7
* updated port apis.
...
* added supprot for SAMD21J18A for mbed SDK tests.
2015-09-01 19:15:43 +05:30
akhilpanayam
9a503026cf
* updated with corrections in analogueout apis.
2015-09-01 19:15:42 +05:30
akhilpanayam
37ddc4c0c3
* updated port apis for SAMD21J18A
...
* correction in analogueout api
* test support for analogueout in mbed SDK
2015-09-01 19:15:42 +05:30
akhilpanayam
24edb54690
* updated pins for external interrupt.
...
* updated default pins.
2015-09-01 19:15:41 +05:30
vimalrajr
b6e39b0735
Adding support for SAMD21J18A for mbed SDK tests.
2015-09-01 19:15:41 +05:30
akhilpanayam
013b71a56f
* updated systeminit checking for analoguein apis.
...
* updated with tested code for analogueout apis.
* updated objects for analaguein and analaogueout.
2015-09-01 19:15:40 +05:30
akhilpanayam
ecfc96f57c
* Base Commit for AnalogueOut.
2015-09-01 19:15:39 +05:30
vimalrajr
67799287aa
Adding pins for SAMD21 SERCOM and PWM, and default pinouts of SPI and I2C.
2015-09-01 19:15:39 +05:30
akhilpanayam
6798b87180
Resolved merge conflict
2015-09-01 19:15:38 +05:30
Anders Lindvall
05d41fe7db
Fixed linker script for LPCXpresso for EA LPC11U35 QuickStart Board
...
After version 7.5.0 the compiler used in LPCXpresso changed and as a
result some of the included libraries were changed. This caused a
build error when trying to compile exported mbed projects.
The error was with NewlibNano libraries (*_s.a) and as NewlibNano is
not used by mbed, this patch references the non-NewlibNano libraries
instead.
This change in the linker script has been verified on LPCXpresso versions
from 6.1.2 up to the current 7.9.0.
2015-08-31 13:21:42 +02:00
fedlak
2c2ac0f2a2
[FRDM KL43Z] Fix RTC init function for KL43Z
2015-08-29 01:27:40 +02:00
fedlak
12b0e1dc49
[FRDM KL43Z] Fix RTC init function for KL43Z
2015-08-28 01:17:49 +02:00
tomoyuki yamanaka
5588d3cef3
Modify the register setting method in the pin setting configuration.
...
Modify the register setting method in the pin setting configuration.
2015-08-26 12:58:32 +09:00
Martin Kojtal
92ca8c7b60
Merge pull request #1302 from jpbrucker/fix_s110_ldscript
...
Nordic: update application start address in GCC linker script
2015-08-20 10:41:02 +01:00
Martin Kojtal
6f6625090c
Merge pull request #1305 from bcostm/dev_NUCLEO_F446RE
...
NUCLEO_F446RE - Improvements + update of all STM32F4 (PWM12 + map/system files)
2015-08-20 10:40:11 +01:00
Martin Kojtal
63c2b2477a
Merge pull request #1297 from kpurusho/master
...
Remaining drivers for SAMR21
2015-08-20 10:31:19 +01:00
bcostm
844a2bed64
Add PWM_12
2015-08-19 11:01:13 +02:00
bcostm
e2b37fc68d
Add missing PWM_12 and update map and system files to be in line with latest official version.
2015-08-19 10:48:17 +02:00
Jean-Philippe Brucker
dfcb2c680f
Nordic: update application start address in GCC linker script
...
The S110 linker script is still using start address 0x16000, which was
required by version 7.1 of the s110 SoftDevice. Update it to the current
address, required by S110 v8.0.0.
2015-08-18 17:39:55 +01:00
0xc0170
0d637743c7
mbed lib revision - 105
2015-08-18 14:45:36 +01:00
Martin Kojtal
1c2263fbc7
Merge pull request #1288 from BlackstoneEngineering/BLoDFix
...
ST BLoD Fix
2015-08-18 08:01:01 +01:00
Bernator
8f50e1e9ea
[LPC11U68] fix Uart1-4 irq handling bugs and add Pins P0_14,P0_13 for use with Uart1
2015-08-17 19:12:28 +02:00
bcostm
ded07a59b5
Update SPI clock for STM32F446RE
2015-08-17 16:41:06 +02:00
bcostm
e4fd31fdfb
Add this platform in MBED_A8 test
2015-08-17 15:09:46 +02:00
bcostm
239decadcc
Add missing PWM_12 definition
2015-08-17 11:51:39 +02:00
bcostm
0746c2f755
[STM32L4] serial improvements
2015-08-17 11:49:04 +02:00
bcostm
3ce7c5c790
[STM32F4] pwmout improvements
2015-08-17 11:48:21 +02:00
bcostm
7b1a2e1077
Add missing startup files for ARM_STD, MICRO_ARM and IAR
2015-08-17 11:43:16 +02:00
bcostm
915ed19fe6
Update other cmsis files
...
- Interrupt vectors
- Timer clock setting for hal tick
2015-08-17 11:41:36 +02:00
bcostm
eb88f87118
Update CMSIS device driver V2.3.2
2015-08-17 11:31:25 +02:00
bcostm
f88cad9d9f
Update STM32CubeF4 HAL driver to V2.3.2
2015-08-17 11:29:07 +02:00
Cyprien Laplace
65fa7b6923
LPC81X: reduce code size and add ARM_GCC support
...
LPC810 has only 4KB of flash, thus avoiding dead code is really nice.
Here the NVIC interrupt setup was pulled from the us_ticker code even
if no code is using timer events.
This also adds ARM_GCC support for TARGET_LPC81X.
LPC81X and LPC82X support Cortex M0+ VTOR register, so it is not
necessary to put non-init text at 0x200.
2015-08-16 21:35:08 -04:00
Martin Kojtal
6d84db41c6
Merge pull request #1289 from bcostm/dev_DISCO_F746NG
...
DISCO_F746NG - Improvements
2015-08-14 13:13:40 +01:00
akhilpanayam
c30a8a1df0
* renamed TARGET_SAM0 folder name to TARGET_SAM_CortexM0+
2015-08-14 17:36:33 +05:30
akhilpanayam
1f9799eb71
* updated analoguin init for checking systeminit in beginning.
2015-08-14 17:36:32 +05:30
vimalrajr
78817e8c44
Removed unwanted comments.
2015-08-14 17:36:31 +05:30
vimalrajr
698484eb47
Bug fix in PWM APIs, not all TCC modules support upto 4 channels.
2015-08-14 17:36:31 +05:30
vimalrajr
59d3dffa0a
Modified I2C APIs as per review comments.
2015-08-14 17:36:30 +05:30
vimalrajr
c63497a363
Added support for General Call Address mode.
2015-08-14 17:36:29 +05:30
akhilpanayam
079b7cd697
* updated mbed SDK tests for SAMR21G18A
2015-08-14 17:36:29 +05:30
vimalrajr
52d4ac3ce1
Adding device specific support for SAMR21G18A in SDK tests.
2015-08-14 17:36:28 +05:30
vimalrajr
bbf884c56e
Added missing pins in PWMOut pinmap.
2015-08-14 17:36:28 +05:30
akhilpanayam
6b346253f2
* updated with corrections in serial asynch apis.
2015-08-14 17:36:27 +05:30
vimalrajr
149244d474
Bug fix in PWM APIs
2015-08-14 17:36:27 +05:30
akhilpanayam
fa56bfd164
* Base commit after integrating ASF_3.25.
2015-08-14 17:36:26 +05:30
akhilpanayam
e7da2dbe2b
* updated serial api to support 1 pin (rx / tx) operation.
2015-08-14 17:36:25 +05:30
akhilpanayam
61b7d9755a
* removed board.h in common folder - not required.
...
* common2 folder moved to TARGET_Atmel\TARGET_SAM0\drivers. common2 folder contains m0+ specific files only.
2015-08-14 17:36:24 +05:30
vimalrajr
5109745950
Modifying I2C Async API to handle null tx and rx buffers
2015-08-14 17:36:24 +05:30
akhilpanayam
8227c91f54
* added pins for ADC as per pio_samr21g18a.h
2015-08-14 17:36:23 +05:30
vimalrajr
31fb6731ca
Added handling RX only transmission in SPI APIs
2015-08-14 17:36:22 +05:30
vimalrajr
0adc8fdf6c
Bug fix in SPI API
2015-08-14 17:36:21 +05:30
akhilpanayam
1da4cbc288
* added cmsis files for pin definitions for all targets of SAMR21 and D21.
2015-08-14 17:36:21 +05:30
vimalrajr
9ccfa07ac6
Removed unwanted header file inclusions
2015-08-14 17:36:20 +05:30
vimalrajr
800bc093e9
Modified pinmap APIs and supporting functions as per review comments.
2015-08-14 17:36:20 +05:30
akhilpanayam
47d62cd8ce
* Updated IAR startup file.
...
* Grouped SAMR21G18A specific files to its particular folder.
* Added files for all variants of SAMR21 and SAMD21.
* Removed Quick Start files from ASF.
* Added Target Dependency in port.c for PORT MASK.
* Grouped PWM pin implementation to SAMR21G18A folder.
2015-08-14 17:36:19 +05:30
akhilpanayam
d34e39ff05
* updated with corrections in serial init.
2015-08-14 17:36:18 +05:30
akhilpanayam
9da56e4dfc
* updated serial_free api to make the pin Pulled up.
2015-08-14 17:36:18 +05:30
vimalrajr
3e5ac805b2
Modified SPI default baud rate as per review comments
2015-08-14 17:36:17 +05:30
vimalrajr
bf05bbcaa6
Modified PWMOut APIs as per review comments
2015-08-14 17:36:17 +05:30
vimalrajr
cd6771367d
Modified supporting functions for finding SERCOM pinmaps.
2015-08-14 17:36:16 +05:30
akhilpanayam
8188c05c64
* Removed unwanted arrays in Pinmap.
...
* corrected macros for build to be successful without ASYNCH enabled in serial apis.
* added serial_pinout_tx api in serial.
2015-08-14 17:36:16 +05:30
vimalrajr
987567ee59
Adding PWM API implementation
2015-08-14 17:36:15 +05:30
akhilpanayam
62a6bcaeeb
* updated with corrections in AnalogueIn apis.
2015-08-14 17:36:14 +05:30
akhilpanayam
c7573e43ce
* updated port apis with corrections.
2015-08-14 17:36:14 +05:30
vimalrajr
0ee229aa90
Modified I2C APIs as per review comments.
2015-08-14 17:36:13 +05:30
vimalrajr
5f9ee05e4b
Removed ASF license headers from files.
2015-08-14 17:36:13 +05:30
vimalrajr
062ee461da
Adding implementation for I2C APIs - master mode, slave mode, and master async interrupt mode.
2015-08-14 17:36:12 +05:30
akhilpanayam
87c8bc8bda
* updated with new folder structure.
...
* added more pins for external interrupt as per pio_samr21g18a.h
* updated serial_api.c for sanity checks, removed unused variables and other corrections.
2015-08-14 17:36:10 +05:30
akhilpanayam
a4fc70d463
* updated with NULL check for irq_handler.
2015-08-14 17:36:09 +05:30
akhilpanayam
e1c0fea8b7
* updated the default pin macros for R21.
2015-08-14 17:36:09 +05:30
akhilpanayam
ef2b6cfd66
* File addition for PWM.
...
* updated port apis for variable (start) data type change.
2015-08-14 17:36:08 +05:30
akhilpanayam
c47f60bb23
* updated with port driver apis. Tested and working.
2015-08-14 17:36:08 +05:30
akhilpanayam
5d0a913591
* Added missed out pins for external Interrupt. irqmask initialized to 0 in init for gpio irq.
2015-08-14 17:36:07 +05:30
Martin Kojtal
b28ce2b780
Merge pull request #1277 from modtronix-com/master
...
Changed NZ32-SC151 external oscillator to 16MHz, and moved defines to device.h
2015-08-14 12:43:02 +01:00
David H
57463eaef0
Merge pull request #5 from mbedmicro/master
...
Update my fork with original
2015-08-14 13:25:26 +10:00
modtronix-com
160d4bccf7
Cosmetic changes
...
Cosmetic change to reduce number of diffs showing up in pull request
2015-08-14 12:06:13 +10:00
modtronix-com
16327ce210
Added place for adding mbed and HAL defines
...
Added place for adding mbed and HAL defines
2015-08-14 11:53:45 +10:00
modtronix-com
ccecacc129
Moved "stm32l1xx_hal_conf.h" to project folder.
...
Moved "stm32l1xx_hal_conf.h" to target folder. This file is part of
STM32CubeL1, and this is the way it is done for the 95 examples supplied
with STM32CubeL1. This file should be part of project(target) folder,
not API. On mbed, this has been done for TARGET_STM32F4 and
TARGET_STM32F7 targets (in ../targets/cmsis/TARGET_STM folder). All
targets in these two folders already have the "stm32l1xx_hal_conf.h"
file in the target folder.
2015-08-14 10:53:11 +10:00
Steven Cooreman
62d9adfb42
In certain cases, the clock setting did not select HFXO, even though HFXO was requested in the board header.
...
Root cause: you cannot use a C-enum name in a #if compare, becaudse the preprocessor will replace all enum names with 0 (so all checks on HFXO/LFXO checked out regardless of the define).
2015-08-13 17:35:40 +02:00
Martin Kojtal
376d6a73e3
Merge pull request #1287 from stevew817/usb-device-rel3
...
Silicon Labs - Add support for USBDevice
2015-08-13 15:39:43 +01:00
Martin Kojtal
bd9a168505
Merge pull request #1273 from marcusbirkin/master
...
KL46Z - Ensure the NVIC table gets copied to RAM even when it is not at 0x0000
2015-08-13 11:43:33 +01:00
Martin Kojtal
163a66abdd
Merge pull request #1268 from martin2100/patch-1
...
STMF4 - pwmout_api.c freq fix
2015-08-13 11:21:23 +01:00
Martin Kojtal
bc07f838f8
Merge pull request #1286 from devanlai/master
...
LPC15XX - Fix GPIO port word pin registers offset
2015-08-13 11:19:31 +01:00
Martin Kojtal
59ff23cdaf
Merge pull request #1290 from BlackstoneEngineering/BLoDFix_SiLabs
...
Blue Lights of Death fix for Silicon Labs boards
2015-08-13 10:56:41 +01:00
Martin Kojtal
52618298c3
Merge pull request #1285 from masaohamanaka/master
...
RZ_A1H - Add RZ_A1H in RPC. Modify communication problem of Ethernet.
2015-08-13 10:33:27 +01:00
Martin Kojtal
88ef2fe48f
Merge pull request #1283 from kgills/pwm_fix
...
[MAXWSNENV, MAX32600MBED] Simplifying pwm search. Reordering PinMap_PWM.
2015-08-13 10:27:02 +01:00
Martin Kojtal
cc42528dbc
Merge pull request #1281 from jpbrucker/fix_us_ticker
...
Nordic: handle unwanted RTC interrupts
2015-08-13 10:21:57 +01:00
Martin Kojtal
99877b836d
Merge pull request #1276 from jpbrucker/nrf51_clock_fallback
...
Nordic: fallback to the internal LF clock in case Xtal doesn't start
2015-08-13 10:17:26 +01:00
Martin Kojtal
ab6a668ec1
Merge pull request #1227 from neilt6/master
...
FATFileSystem - Updated FatFs to R0.11
2015-08-13 10:09:43 +01:00
Jun-Ru Chang
680a647d0d
Fix compilation warning
...
The warning message is shown as below.
Compile: Thread.cpp
[Warning] Thread.cpp@45: In constructor 'rtos::Thread::Thread(void (*)(const void*), void*, osPriority, uint32_t, unsigned char*)':
comparison between signed and unsigned integer expressions [-Wsign-compare]
Signed-off-by: Jun-Ru Chang <jrjang@gmail.com>
2015-08-13 00:07:29 +08:00
Austin Blackstone
0278260cad
added BLoD functionality to all Silicon Labs boards. Added #define to all device.h files and a disable_irq() exception in common/board.c because the wait function is implemented in a interrupt for both NRF and SiLabs boards
2015-08-11 11:32:11 -05:00
bcostm
2b1b1acce6
Improvement of timer initialization for pwmout
2015-08-11 14:42:15 +02:00
bcostm
8f6a11530c
Change SERIAL_TX/RX value
2015-08-11 14:38:03 +02:00
bcostm
8b76967c29
Improvement of ticker configuration
2015-08-11 14:34:06 +02:00
bcostm
408927ec5a
[DISCO_F746NG] Update cmsis files (alignment with STM32CubeF7 package)
2015-08-11 12:16:52 +02:00
bcostm
03bd5dbd8f
[DISCO_F746NG] Update STM32CubeF7 to V1.0.1
2015-08-11 12:04:45 +02:00
Austin Blackstone
1f93de49b6
added Blue Lights of Death action to ST Nucleo and Diso boards
2015-08-10 16:54:50 -05:00
Devan Lai
37c71434dd
[LPC15XX] Fix GPIO port word pin registers offset
...
Adjust offset for GPIO port word pin registers from 0x100 to 0x1000
2015-08-07 22:32:57 -07:00
bcostm
a1bd132fc1
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-08-07 11:54:06 +02:00
tomoyuki yamanaka
746ba018c0
Modify communication problem of Ethernet.
...
In Ethernet, modify a problem that sometimes fail to "pbuf_alloc" function.
2015-08-07 16:33:04 +09:00
tomoyuki yamanaka
bb4d569cfd
Add RZ_A1H in RPC.
2015-08-07 16:20:22 +09:00
Kevin Gillespie
e3482229e0
Simplifying pwm search. Reordering PinMap_PWM.
2015-08-05 12:57:07 -05:00
0xc0170
020975119c
mbed lib revision - 104
2015-08-05 14:19:47 +01:00
Jean-Philippe Brucker
15019ef882
Nordic: fallback to the internal LF clock in case Xtal doesn't start
...
Since some Nordic platforms don't use an external clock source, they
need to be built with the TARGET_NRF_LFCLK_RC flag. If they don't,
SystemInit will wait indefinitely for an external clock to start.
This patch adds a 1s timeout to the external oscillator initialisation,
and falls back to using the internal RC one if no LFCLKSTARTED event was
received in this interval.
For most applications, this won't matter. When building for the wrong
Nordic target, pin numbers will be mixed up as well and the application
will break later on.
But on targets that can only be updated using FOTA and don't have an
interface chip, this patch avoid ending up with a bricked device after a
slight mistake. Indeed, BLE DFU service is portable across all boards
and will run even with a mixed-up target setup, allowing the user to
re-install the right application.
An example scenario is transferring an application on a standalone
NRF51 chip, after spending some time prototyping on an mKIT, which tends
to happen a bit too often...
Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
2015-08-05 10:57:57 +01:00
Jean-Philippe Brucker
1c90449f35
Nordic: handle unwanted RTC interrupts
...
This patch clears the EVENT_COMPARE register even when we're not
expecting to get a COMPARE interrupt.
Here is a scenario where we get an unwelcome interrupt, and where it
currently results in a deadlock:
* A Ticker T1 runs at 500ms
* Its handler registers a Timeout T2 at 20µs. Since LF clock runs at
32.768kHz, this will be rounded up to a multiple of 30.5µs (actually
61µs, to ensure we're in the next tick window)
T1 T2 T1' T2'
-------|---|---------------------------------|---|--------->
: : :
<---> n * 30.5µs :
<--------------- 500ms --------------->
* When the ticker API handles T1, it calls us_ticker_set_interrupt a
first time for T1', and then for registering T2.
* Since T2 period is less than one RTC tick (30.5µs), there is a high
chance it will go past *while* we're still in this first handler.
* So ticker_irq_handler also handles T2 as well, and removes it from the
queue.
* us_ticker_set_interrupt is called for T1' before returning from
ticker_irq_handler
The problem resides in the fact that us_ticker_set_interrupt takes more
than 2 RTC ticks to execute: while inside the handler, T2 interrupt will
fire.
* Because of this pending interrupt, RTC1_IRQHandler will be called
right away, but since we removed T2 from the queue, the handler is
waiting for T1' instead, and will not clear EVENT_COMPARE until we
reach the T1' tick, in about 500ms.
* This results in a lock and main isn't executed anymore.
With this patch, we avoid being stuck in RTC1_IRQHandler while waiting
for T1'.
Note: even when T2 isn't handled in the same loop as T1, we may get a
spurious interrupt, because us_ticker_set_interrupt will be called twice
for T2... and will register T2+m the second time, while T2 interrupt is
fired in the background.
That case isn't as harmful, since RTC1_IRQHandler will be waiting for
T2+m, which is only one or two ticks further, and then it won't be
called again before T1'.
Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
2015-08-05 10:39:29 +01:00
modtronix-com
25144420ab
Changed External oscillator to 16MHz, moved defined to device.h
...
For NZ32-SC151 fixed External oscillator frquency to 16MHz, and, moved
defined to device.h
2015-08-04 12:35:23 +10:00
Martin Kojtal
9d276ebad7
Merge pull request #1265 from Wiznet/mbed_dev4
...
Wiznet - I2c -> gpio
2015-07-31 14:52:52 +01:00
Martin Kojtal
e4cd8bbd3e
Merge pull request #1266 from alexbeer2048/master
...
Enable LPC8xx usart when configuring it
2015-07-31 14:12:58 +01:00
Martin Kojtal
5b1dc60c03
Merge pull request #1271 from kgills/pwm_fix
...
MAXWSNENV, MAX32600MBED - Fixing pwm array search.
2015-07-31 13:57:26 +01:00
Jay Francis
2cb58075f7
Removed PB6 debug toggling
2015-07-29 11:42:58 -04:00
Kevin Gillespie
db8697c321
[MAXWSNENV, MAX32600MBED] Fixing pwm array search.
2015-07-28 13:55:22 -05:00
Mikko Polojarvi
511b46de83
SiL USB: Disable LEM in Happy with ISOC endpoints
...
Happy Gecko's USB Low Energy Mode does not work properly with
isochronous endpoints.
Note that Happy Gecko errata USB_E112 states:
Do not use the SUSPEND mode of LEMOSCCTRL in USB_CTRL.
In rare cases with high data throughput, a transmission can
fail when this mode is enabled.
Use the GATED mode of LEMOSCCTRL for the best energy
efficiency. The NONE mode can be used to disable energy
savings
However, even using GATE mode causes problems for high-frequency
isochronous transfers. The primary effect for OUT endpoints is that
the first read will succeed, and the following one (targetting the
next frame) will fail with zero bytes incoming data, and PKTDRPSTS
is set in the related interrupt status register.
Disabling LEMOSCCTRL (set to NONE) solves the problem. Since this
will cause increased energy usage, do this only when an ISOC endpoint
is added.
2015-07-28 17:22:53 +03:00
Mikko Polojarvi
549d2b9e21
SiL USB: Fix endpoint definitions for Happy Gecko
...
Happy only has 3 endpoints, so flag out the rest.
2015-07-28 17:22:53 +03:00
amveeq
1620432608
Update USBEndpoints.h
...
No USB in Zero Gecko so removed also from here for the sake of clarity.
2015-07-28 17:22:53 +03:00
Mikko Polojarvi
088e451b7a
SiL USB: Correctly handle ep0 reset on Happy
...
Use correct function when resetting endpoint 0 (on stall etc)
on Happy Gecko.
2015-07-28 17:22:53 +03:00
Mikko Polojarvi
1eb719bc17
SiL USB: Remove incorrect Zero Gecko flagging
...
Zero Gecko has no USB support, so don't even try to compile for it.
2015-07-28 17:22:53 +03:00
Mikko Polojarvi
3eaef2e095
SiL USB: Update copyrights and licence boilerplate
...
Everything should be copyrighted to SiLabs, and licensed
under Apache 2.0.
2015-07-28 17:22:53 +03:00
Mikko Polojarvi
957d7bd942
Silicon Labs USB device support - Wonder, Leopard, Happy
...
USB device support for Wonder, Leopard and Happy Gecko. See
details on configuration etc on the previous commit.
Known issue: USBAudio does not work reliably on Happy Gecko.
2015-07-28 17:22:53 +03:00
Mikko Polojarvi
8054366915
Silicon Labs USB device support
...
** Overview
This commit provides USB device-mode drivers for Silicon Labs chips.
The code is based on the SiLabs USB driver that is part of the
Simplicity dev environment.
Because Mbed USBDevice class wants to control the USB transactions
itself, large parts of the higher level code originally present in the
driver have been stripped out. An attempt has been made to keep Mbed
code separate enough that patches can be applied with minor effort, if
needed.
** Use of dynamic memory
Due to requirements imposed by the USB hardware, the driver needs read
and write buffers for every enabled endpoint. Since information on
what EPs will be used is only available during runtime, dynamic memory
allocation is used to minimize memory usage.
If needed, dynamic memory use can be disabled via a flag in
usbconfig.h. In this case, please read the documentation to see what
limitations this imposes. Static memory usage can also be reduced by
limiting the maximum number of active endpoints - see configuration in
usbconfig.h and USBEndpoints_EFM32.h.
** Power management
Driver supports the new SiLabs functionality in Mbed sleep(). Normal
sleep (EM1) is always available, and deep sleep (EM2) is available
when USB is either disconnected or suspended. How and when different
sleep modes are made possible can be configured in usbconfig.h
** Supported hardware
Current release officially supports, and has only been tested on Giant
Gecko. Upcoming releases will add support for other SiLabs platforms
on Mbed.
2015-07-28 17:22:53 +03:00
bcostm
0f35f53699
[DISCO_L476VG] Add hal specific files
2015-07-28 10:23:26 +02:00
bcostm
151fe14452
[STM32L4] Add hal common files
2015-07-28 10:22:50 +02:00
bcostm
e2ffa3f481
[STM32L4]Add hal common files
2015-07-28 10:22:02 +02:00
hjjeon0608
20888331af
Deleted not used variable.
...
Deleted else if and using GPIO offset address.
Added GPIO out enable set/clear functions.
2015-07-28 11:19:08 +09:00
bcostm
33384ea5a5
[DISCO_L476VG] Add cmsis files
2015-07-27 15:57:47 +02:00
bcostm
df5d0a124e
[STM32L4] Add STM32Cube L4 HAL driver V1.0.0
2015-07-27 15:56:29 +02:00
Martin Simpson
bbfd190206
Update pwmout_api.c
...
Line 244 changed PclkFreq*2 to PcklFreq
Line 246 changed PclkFreq to PclkFreq*2
This is proposed as the current pwmout_api.c gives the wrong period/frequency when using e.g."mypwm.period_ms(1);"
For PWM1 1ms gave 500Hz and PWM2,3 and 4 gave 2KHz
Applied to source as above and re-compiled this gave 1KHz outputs for all PWM's selected
Tried on NUCLEO STM32F401RE will effect other NUCLEO-STM32F4 as above
HAL Clocks are as follows for the F401RE Board: PCLK1=42000000 PCLK2=84000000 HCLK=84000000
Kind Regards
Martin
2015-07-27 12:16:45 +01:00
James Devine
633b57e209
Nordic: Enabled the invocation of twi_master.h functions from a cpp context
...
In a previous commit, the content of twi_master.h did not allow the invocation
of the c functions specified by the file from a cpp context. This commit wraps
the contents of the header file with the appropriate ifdefs.
2015-07-27 11:31:49 +01:00
Jonathan Austin
c285f2e1d3
Nordic: refactor the way we select the LFCLKSRC
...
Rather than indefinitely adding platforms to a #define list that use
the internal RC oscillator instead of an external crystal, let platforms
define this and the 'core code' can be platform agnostic.
Note, that this also allows people to use this symbol in libraries.
There's one notable example in the BLE_API that can now be refactored to
the same method, hopefully saving someone some unpleasant debugging
when their platform doesn't work because of a missing platform dependent
define in the high level API.
Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
2015-07-27 11:31:49 +01:00
Jonathan Austin
382f7334fb
Nordic: added the s110 scatter files
...
This commit adds the ability for a compile flag to be set from targets.py
which changes the soft device to s110.
The compile flag is: MCU_NRF51_16K_S110. In order to avoid duplication
of the startup file, for the 16K parts we introduce an S110 or S130
scatter file. This means all 16K platforms must define
MCU_NRF51_16K
and ONE of
MCU_NRF51_16K_S110 or MCU_NRF51_16K_S130
Based on an earlier commit by Mihail but modified to avoid copy/paste
of the startup code for S110/S130
Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
2015-07-27 11:31:48 +01:00
Mihail Stoyanov
ee4c83b34f
Nordic:
...
Support multiple SoftDevices for NRF51822 based platforms
Move microbit S110 to Nordic default SoftDevice location
Remove obsolete S110 bootloader
2015-07-27 11:08:03 +01:00
James Devine
585fe6245f
Add BBC microbit platform: NRF51_MICROBIT
...
This adds the BBC micro:bit platform, based on NRF51822
Initially, add the platform to use whatever version of softdevice is the
default for the NRF51822-based platforms.
Originally written by James, modified for new target inheritance by
Jonathan Austin:
Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
2015-07-27 11:07:53 +01:00
James Devine
668644c604
Nordic: fix for Nordic PAN56 - reset twi master
...
This commit is based on Nordic's fix for an abnormality in some releases
of the nrf51822 silicon.
Without this fix, the I2C bus locks up and doesn't reset properly. The
fix resets the TWI master on powerup.
For more information see
https://www.nordicsemi.com/eng/nordic/download_resource/24634/6/47696154
Nordic Product Anomaly ID 56.
2015-07-27 11:02:20 +01:00
James Devine
e50305122d
Wallbot: update wallbot to use standard I2C definitions
...
Unlike other Nordic platforms, the wallbot doesn't use numbered I2C
ports. This makes it difficult to refer to a platforms's I2C pins from
common code.
This fix leaves the original wallbot definitions, but adds the more
'standard' ones too.
Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
2015-07-27 11:02:20 +01:00
Alexander Beer
37a478b88c
Enable LPC8xx usart when configuring it
2015-07-27 11:45:47 +02:00
Martin Kojtal
9b9bab51e5
Merge pull request #1229 from Wiznet/mbed_dev2
...
Change us_ticker - one dual timer + one pwm timer
2015-07-27 09:38:55 +01:00
Martin Kojtal
bfd1ddeee4
Merge pull request #1250 from dbestm/master
...
DISCO_F746NG - add pwm12 clock
2015-07-27 09:26:46 +01:00
hjjeon0608
641ecd065a
Add Repeated read/write functions.
2015-07-27 11:22:04 +09:00
hjjeon0608
74cdab3021
Change I2C using GPIO.
2015-07-27 10:02:03 +09:00
hjjeon0608
226d534d85
I have rectified typos
...
DULA -> DUAL
2015-07-24 14:31:48 +09:00
Martin Kojtal
c5a4d1068e
Merge pull request #1256 from screamerbg/master
...
Add bootloader versioning based on the softdevice being used for all …
2015-07-23 10:02:50 +02:00
0xc0170
35cfd8ec82
mbed lib revision - 103
2015-07-21 14:38:29 +02:00
Mihail Stoyanov
49dbe0c6cc
Add bootloader versioning based on the softdevice being used for all nRF51822 based platforms.
...
Remove obsolete S110 softdevice.
2015-07-21 13:47:40 +03:00
dbestm
75d08d8afa
[DISCO_F746NG] remove tab in pwmout_api.c
2015-07-20 13:10:57 +02:00
Martin Kojtal
a68b724d07
Merge pull request #1245 from stevew817/master
...
[Silicon Labs] Bring EFM32 HAL up to date
2015-07-20 09:46:13 +02:00
hjjeon0608
55dc1fd077
Deleted constant in calculate interrupt timing.
2015-07-20 14:54:56 +09:00
Neil Thiessen
0dde4f5597
Revert 2a49d8b..456ac21
...
This rolls back to commit 2a49d8bf99
.
2015-07-19 09:43:46 -06:00
Steven Cooreman
60b16abb27
Fix tabulation mistake
2015-07-17 10:34:49 +02:00
dbestm
02024ec968
[DISCO_F746NG] add pwm12 clock
2015-07-17 10:16:13 +02:00
Martin Kojtal
e7144f83a8
Merge pull request #1243 from kpurusho/master
...
More API implementation for SAMR21
2015-07-17 10:14:49 +02:00
ytsuboi
e67c02128c
[LPC4337] fix PinNames.h for OM13070
2015-07-17 16:36:34 +09:00
hjjeon0608
1479d07a5c
Change hardcoded prescale setting
2015-07-17 11:01:48 +09:00
Steven Cooreman
81d2687d3e
Make the stack space as large as possible when compiling with ARMCC (because GCC does this automatically). See https://github.com/mbedmicro/mbed/issues/1246 for reference.
2015-07-16 14:24:08 +02:00
Steven Cooreman
d51db9039c
Fix GPIO implementation
2015-07-16 14:23:07 +02:00
Steven Cooreman
b6c2306e4e
Fix mistake in Happy Gecko header files, reserved too little RAM space for NVIC table.
2015-07-15 16:12:14 +02:00
Martin Kojtal
9bb85c0678
Merge pull request #1240 from neilt6/assert-change
...
mbed - Modified MBED_ASSERT to use error()
2015-07-15 08:12:54 +01:00
Martin Kojtal
c0279f5c35
Merge pull request #1233 from masaohamanaka/master
...
RZ_A1H - Modify PWM driver for period improvement
2015-07-15 08:08:33 +01:00
akhilpanayam
2bf4265ca2
* removed Atmel Copyright License from all files.
2015-07-15 12:22:44 +05:30
akhilpanayam
da743d2aa7
* corrections in External Interrupt GPIO Peripheral Pins.
2015-07-15 12:22:43 +05:30
akhilpanayam
def122fb0d
* removed unavailable pins for SAMR21 in pin names.
2015-07-15 12:22:42 +05:30
akhilpanayam
d85f2020f8
* updated analogue in with pin map functions.
...
* code optimizations in adc.
* Peripheral pins arrays updated.
* removed unused variable in pinmap_function.c
2015-07-15 12:22:42 +05:30
vimalrajr
c0da42a0a3
Bug fix in SPI APIs o avoid sending dummy character for first transfer by slave
2015-07-15 12:22:41 +05:30
vimalrajr
37c52f0d9c
Bug fix in SPI API.
2015-07-15 12:22:41 +05:30
akhilpanayam
ae108230e6
* added sanity checks for serial apis.
...
* removed unused variables.
2015-07-15 12:22:40 +05:30
vimalrajr
6392162d32
Adding implementation for RTC API rtc_free().
2015-07-15 12:22:40 +05:30
akhilpanayam
fd26bb7b39
* updated with review comments for gpio_irq_api.c
2015-07-15 12:22:39 +05:30
akhilpanayam
70e1dd0178
* updated with correction in pinmap_function_sercom function usage for serial.
2015-07-15 12:22:39 +05:30
akhilpanayam
7cda3e9352
* updated serial_api.c with code rearrangement.
2015-07-15 12:22:38 +05:30
akhilpanayam
0c9b55bf52
* added cmsis file for SAMD21.
...
* updated SAMD21J18A files to avoid build errors.
2015-07-15 12:22:38 +05:30
akhilpanayam
58e94998b3
* updated serial break implementation with configuring tx pin for gpio (break set) and reverting back for break clear.
2015-07-15 12:22:37 +05:30
akhilpanayam
57dc24edf8
* updated with integrated pin mux code for serial.
...
* serial asynch updated with review comments.
* removed sercom pin mux implementation in PeripheralPins.c
2015-07-15 12:22:36 +05:30
vimalrajr
17333d6c85
Refining implementation of SPI APIs
2015-07-15 12:22:36 +05:30
akhilpanayam
1c3039fc24
* Removed DAC file for SAMR21. Controller not having peripheral.
2015-07-15 12:22:35 +05:30
akhilpanayam
5832b756c1
* updated ld file for SAMD21.
...
* Port file base commit.
2015-07-15 12:22:35 +05:30
akhilpanayam
28484f7942
* Base commit for DAC.
2015-07-15 12:22:34 +05:30
akhilpanayam
db7a269a89
* ADC implemented and tested.
2015-07-15 12:22:34 +05:30
akhilpanayam
1dae16c898
* made gpio interrupt enable pin to be in pull in init.
2015-07-15 12:22:33 +05:30
vimalrajr
a430030639
Recent added files made compliant with KR coding style.
2015-07-15 12:22:32 +05:30
vimalrajr
dc33d3ecaf
Adding implementation for Sleep APIs. Not completely tested.
2015-07-15 12:22:32 +05:30
vimalrajr
fb40f8ae97
Adding implementation of RTC APIs
2015-07-15 12:22:31 +05:30
akhilpanayam
2412fd2667
* updated with GPIO IRQ code. Tested and working.
2015-07-15 12:22:31 +05:30
akhilpanayam
6a23ca1da4
* GPIO irq files updated.
...
* updated with modification for KnR Standard.
2015-07-15 12:22:30 +05:30
akhilpanayam
503c970d98
* initial commit for gpio irq,
2015-07-15 12:22:30 +05:30
vimalrajr
b1f456ee98
Adding pinmap functions and common mux pading logic for SERCOM
2015-07-15 12:22:29 +05:30
akhilpanayam
06b1fdfb2b
* added base code for ADC. Not tested.
2015-07-15 12:22:29 +05:30
akhilpanayam
8658c77d26
* updated for making LED2, LED3, LED4 as PA19. Only one LED available in board.
2015-07-15 12:22:28 +05:30
akhilpanayam
8bd46960f3
* removed support for SAMD21J18A at this point. To be added later.
...
* removed unwanted headers in serial apis.
2015-07-15 12:22:28 +05:30
Martin Kojtal
a4c1bdc788
Merge pull request #1238 from Armstart-com/master
...
add IBDAP-LPC11U35 platform
2015-07-14 09:38:50 +01:00
hjjeon0608
d5c1af8119
Merge remote-tracking branch 'remotes/origin/mbed_dev5'
2015-07-14 09:02:40 +09:00
hjjeon0608
28c307665f
Deleted uncommented code.
...
Deleted checking interrupt status code.
2015-07-14 08:27:31 +09:00
neilt6
8d81cb49e1
[mbed] Modified MBED_ASSERT to use error()
...
Modified mbed_assert_internal() to call error() with the assertation
message instead of fprintf() followed by mbed_die(). This allows
assertation failures to be caught by custom error() functions that
replace the default weak definition.
2015-07-13 10:20:11 -06:00
tomoyuki yamanaka
9874e95e49
Fix bug of CONST declaration in PWM driver.
...
In PWM, modify CONST declaration of the table is not enough.
2015-07-13 18:04:13 +09:00
Martin Kojtal
3a12b5f998
Merge pull request #1239 from Wiznet/mbed_dev5
...
I2C PeripheralPins bug fix.
2015-07-13 09:42:37 +01:00
Martin Kojtal
f9697047f0
Merge pull request #1234 from jpbrucker/master
...
Nordic: add const qualifier to acceptedSpeeds in serial API
2015-07-13 09:41:15 +01:00
Martin Kojtal
a833d5cd17
Merge pull request #1230 from Wiznet/mbed_dev3
...
Change PinName
2015-07-13 09:39:54 +01:00
hjjeon0608
8cbddc520f
I2C PeripheralPins bug fix.
...
I found wrong pin mux about I2C.
2015-07-13 16:55:00 +09:00
Martin Kojtal
e811e6168d
Merge pull request #1236 from HAPI-Tech-Solution/fix-11U68
...
11U68 - Fixed P0_11 for GPIO
2015-07-13 08:52:55 +01:00
Yunfeng Liu
3a5b79bac7
add IBDAP-LPC11U35 platform
2015-07-11 18:53:01 -04:00
en129
d8f1daf525
Add P0_11 for GPIO
...
change P0_11 to use GPIO from TDI
2015-07-11 01:16:19 +09:00
Neil Thiessen
6a5f4abd25
[RTOS] Fixed INITIAL_SP for LPC11U68
...
According to the LPC11U68 datasheet, the top of SRAM0 occurs at 0x10008000, not 0x10004000.
2015-07-10 09:01:18 -06:00
Jean-Philippe Brucker
a4d48801ba
Nordic: add const qualifier to acceptedSpeeds in serial API
...
This is a small optimisation for ARM compiler toolchains: constant
arrays should be declared const explicitly, to let the compiler put them
into .rodata instead of .data. GCC automatically detects that the array
is read-only, and already puts it into flash.
This way, we free 136 bytes of RAM, which is nothing to sneeze at, given
that applications only get about 2048 bytes by default, on 16k targets.
Please note that you will need to disable data compression in armlink to
see the real difference, with the "--datacompressor off" switch, for
example.
2015-07-10 14:45:42 +01:00
Martin Kojtal
6cb7294c83
Merge pull request #1226 from star297/master
...
[KL25Z] add 32KHz crystal clock setup 3 + minor RTC api changes
2015-07-10 14:13:01 +01:00
tomoyuki yamanaka
59e6fbad5e
Modify PWM driver for period improvement
...
In PWM, modify the range that can be taken of the period.
2015-07-10 13:32:35 +09:00
hjjeon0608
daf4eeff2c
Change PinName
...
Some pin name were deleted and some pin name were added.
2015-07-09 10:53:06 +09:00
hjjeon0608
cf868024b2
Change ticker used by two PWM timer to used by one PWM timer and one dualtimer.
...
So I added dualtimer driver and header and I bug fix define in W7500x.h.
2015-07-09 09:23:43 +09:00
neilt6
456ac214a7
[USBHostMSD] Updated FATFileSystem methods
...
Updated the virtual FATFileSystem methods for the new argument types
2015-07-08 10:09:21 -06:00
neilt6
a46b1282d2
[FATFileSystem] Modified arguments to match FatFs
...
Changed the virtual method argument types to match the integer widths
expected by FatFs.
2015-07-08 09:52:45 -06:00
Paul Staron
5a4ba0e0a0
Tidy code formatting
2015-07-08 15:22:46 +01:00
Martin Kojtal
13790ec5ce
Merge pull request #1221 from mazgch/master
...
update target C029 (pin, clock)
2015-07-08 14:45:27 +01:00
Martin Kojtal
7a2b57896e
Merge pull request #1218 from Wiznet/master
...
Add rtc_api.c
2015-07-08 14:42:59 +01:00
Martin Kojtal
161ee189d8
Merge pull request #1206 from Josephc3/master
...
Add KL26 Target
2015-07-08 14:37:11 +01:00
Martin Kojtal
a15892332f
Merge pull request #1216 from mbedmicro/chris-styles-patch-1
...
Update mbed_overrides.c
2015-07-08 07:38:22 +01:00
neilt6
2a49d8bf99
[FATFileSystem] Updated FatFs to R0.11
...
Updated the internal FatFs library to R0.11. Minor changes were made to
FATFileSystem and FATDirHandle in order to accommodate API changes.
2015-07-07 14:41:05 -06:00
Paul Staron
e1cd282232
[KL25Z] add 32KHz crystal clock setup 3 + RTC
2015-07-07 20:24:06 +01:00
chris-styles
8b4872f08d
Rename crc16.c to crc.c
2015-07-07 15:23:24 +01:00
chris-styles
671f4723ab
Create crc.h
2015-07-07 15:22:33 +01:00
chris-styles
44992153d9
Create crc16.c
2015-07-07 15:22:03 +01:00
chris-styles
ee35963b3d
Update mbed_overrides.c
...
Added calls to "crc16" routine, as well as the required #include and #define
2015-07-07 15:20:59 +01:00
hjjeon0608
cb9d835b51
Correct spaces/tabs and indentation
2015-07-07 10:45:37 +09:00
hjjeon0608
482320fe01
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-07-07 10:32:47 +09:00
hjjeon0608
85efeff0cf
Add NVIC_SetVector function
2015-07-07 10:31:46 +09:00
mazgch
bd95d7189e
update target C029 (pin, clock)
2015-07-06 14:59:22 +02:00
0xc0170
c052d893de
Merge branch 'master' of https://github.com/dbestm/mbed into dbestm-master
...
Conflicts:
libraries/rtos/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c
2015-07-06 09:05:31 +01:00
Martin Kojtal
45004fb61e
Merge pull request #1209 from bcostm/master
...
DISCO_F746NG - Fix several issues
2015-07-06 08:48:42 +01:00
Martin Kojtal
ae2d3cdffe
Merge pull request #1213 from autopulated/yotta-build
...
Make it possible to build the core mbed library with yotta
2015-07-02 16:15:26 +01:00
PeterConheeney
ed4462705e
fixes to review comments
2015-07-02 14:30:55 +01:00
PeterConheeney
f55bafa3b5
commit of mps2 code for pull request to main mbed repo
2015-07-01 16:18:41 +01:00
Martin Kojtal
d5b4d2ab9c
Merge pull request #1214 from kpurusho/master
...
Initial version of drivers for SAMR21
2015-07-01 09:42:03 +01:00
Martin Kojtal
2f385f32b2
Merge pull request #1210 from MultiTechSystems/dragonfly-update
...
MTS_DRAGONFLY_F411RE - add additional pin names for SPI and I2C…
2015-07-01 08:44:13 +01:00
Martin Kojtal
7766e75dd8
Merge pull request #1205 from sg-/gcc_asm_updates
...
GCC asm updates
2015-07-01 08:08:10 +01:00
hjjeon0608
995cfb479d
Add rtc_api.c
...
rtc is implemented by timer in PWM.
2015-07-01 08:41:10 +09:00
Martin Kojtal
1c13bc80fe
Merge pull request #1189 from Wiznet/master
...
Wiznet - Update and bug fix.
2015-06-30 09:35:17 +01:00
chris-styles
41ff2c8773
Update mbed_overrides.c
2015-06-30 08:46:17 +01:00
chris-styles
c60b81202c
Update mbed_overrides.c
2015-06-30 06:50:38 +01:00
chris-styles
d937b67ee7
Update mbed_overrides.c
2015-06-30 03:18:36 +01:00
akhilpanayam
e22f425486
* updated with code optimizations in serial apis.
2015-06-29 17:14:17 +05:30
bcostm
ca79455787
[DISCO_F746NG] Fix error in PinNames.h
2015-06-29 12:42:09 +02:00
akhilpanayam
4dd6e5304d
* updated serial apis for character match in asynch.
2015-06-29 15:48:39 +05:30
James Crosby
9e87f22dfe
ensure startup code is included when building for armcc
2015-06-26 18:42:12 +01:00
James Crosby
ca3e131526
only set -std=gnu99 if we're compiling with a GNU compiler
2015-06-26 16:27:23 +01:00
akhilpanayam
ce1b82ea2c
* updated serial and peripheral files for hardware flow control
2015-06-26 19:19:46 +05:30
vimalrajr
dd3606ca3c
Enabling async APIs for SPI, with only interrupt method implemented for now.
2015-06-26 15:48:57 +05:30
akhilpanayam
3a8ad042e9
* updated the files for KR coding style.
...
* removed comments in serial_api.c
* added cts low interrupt service in synch routine
2015-06-26 13:48:30 +05:30
Karthik Purushothaman
dbd4502f7b
Merge remote-tracking branch 'origin/atmel'
2015-06-26 12:21:17 +05:30
akhilpanayamparambil
f55e6bd54a
* updated functions for hardware flow control apis - not tested.
...
* updated sercom pin muxing to incorporate hardware flow control.
2015-06-26 12:00:17 +05:30
akhilpanayamparambil
a582b9f6a6
* updated with ASYNCH api support for Serial.
2015-06-26 11:59:58 +05:30
vimalrajr
6fd1a45011
Modifications and bug fixes in SPI APIs' implementations.
2015-06-26 11:59:42 +05:30
vimalrajr
5d1b574d8b
Adding untested DMA APIs and supporting functions
2015-06-26 11:59:30 +05:30
akhilpanayamparambil
afcfdfc8cf
* updated serial_api.c and objects.h with optimisations.
2015-06-26 11:59:10 +05:30
akhilpanayamparambil
705dc7afc7
* correction in serial_api.c in getting index for interrupt.
...
* updated gpio_api.c for pin toggle(LED1=!LED1) working in code.
2015-06-26 11:58:47 +05:30
akhilpanayamparambil
c59613727e
* updated with changes for serial with interrupt. Working for example 51 in mbed projects.
2015-06-26 11:58:33 +05:30
akhilpanayamparambil
a7b60a4398
* removed asynch pi functions in serial_apic.c to remove build errors. To be implemented afterwards.
2015-06-26 11:58:15 +05:30
kpurusho
58c6e41f86
Set PA19 as LED1
2015-06-26 11:56:44 +05:30
vimalrajr
26fbbaa609
Refining IRQ implementation for SPI
2015-06-26 11:56:10 +05:30
akhilpanayamparambil
cbe768093d
* correction in serial_api.c
2015-06-26 11:55:54 +05:30
vimalrajr
45be774f16
Adding untested implementation of irq handler for SPI Async mode
2015-06-26 11:55:45 +05:30
akhilpanayamparambil
8223cba552
* updated with changes in ld file and corresponding change in cmsis_nvic.c
2015-06-26 11:55:34 +05:30
vimalrajr
4380fe8d35
Code made compliant with KR Coding style.
2015-06-26 11:55:23 +05:30
akhilpanayamparambil
a7b2cee60d
* Pin mux logic added for sercom
...
* added support for 6 uarts in code.
* updated gpio for output setting
* updated device.h for adding async apis for serial
2015-06-26 11:55:13 +05:30
vimalrajr
98d628b67f
Refining implementation of ticker APIs
2015-06-26 11:55:06 +05:30
vimalrajr
8a68139cf0
Refining SPI APIs implementation
2015-06-26 11:54:50 +05:30
vimalrajr
732e125c31
Refining implementation of us_ticker APIs.
2015-06-26 11:54:39 +05:30
vimalrajr
e02516d046
Adding config file from ASF for DMA
2015-06-26 11:54:22 +05:30
vimalrajr
e461e07f28
Adding files from ASF for DMA support.
2015-06-26 11:54:03 +05:30
akhilpanayamparambil
cfffe1371d
* logic added in mbed_overrides.c - for making system initialization (system_init) before usart init. Had issues for clock and buses not getting initialed before serial init. Resolved with the logic.
...
* Macro for callback added in usart.h (ASF).
* GPIO mode setting implemented in gpio_api.c
* updated files gpio_object.h ,serial_api.h(tested and working for UART synchronous APIs)
* Reverted settings.py
* Removed unused files in usart (ASF).
2015-06-26 11:53:54 +05:30
vimalrajr
d6109db325
Adding SPI and I2C instances support to SAM21
2015-06-26 11:53:42 +05:30
vimalrajr
fa85c6f74d
Adding untested code for SPI support in SAM21
2015-06-26 11:53:19 +05:30
akhilpanayamparambil
cbcf0a8ed7
* corrected the NVIC_NUM_VECTORS value in cmsis_nvic.h from 29 to 28.
...
* corrected ld script for stack and heap initializations.
* enabled main() and infinite while loop after that in startup_samd21.c
* added UART_0 in PerpheralNames.h
* updated PeripheralPins.h, objects.h, device.h, PinNames.h for including UART
* added PeripheralPins.c
* Base Commit for Serial/UART in SAMR21 (added ASFcode from Atmel Studio and serial_api.c) - Not Working (To be updated with the new code)
2015-06-26 11:53:00 +05:30
vimalrajr
5f120e40de
Adding implementation for us_ticker APIs. Not complete, yet to be tested.
2015-06-26 11:52:42 +05:30
bcostm
763c9a1292
[DISCO_F746NG] Typo corrections
2015-06-25 16:00:00 +02:00
bcostm
5f282b2053
[DISCO_F746NG] Fix different issues with SPI, I2C, Clock
2015-06-25 15:59:31 +02:00
hjjeon0608
f31c0915e0
Bug fix about I2C pinmap
...
If output, this means to set gpio.
So, I change output to AF.
2015-06-25 16:00:24 +09:00
bcostm
37d4f14aac
[DISCO_F746NG] AnalogIn and PwmOut corrections
2015-06-24 15:48:24 +02:00
Mike Fiore
4b82163782
[mbed][MTS_DRAGONFLY_F411RE] add additional pin names for SPI and I2C, update Arduino pin names to match UDK2.0
2015-06-24 08:29:32 -05:00
akhilpanayamparambil
1fbe9894cd
* Updated folder structure. Common files extracted.
...
* Removed implementations in mbed_overrides.c. This has to be done later.
* Added code for gpio_api.c
2015-06-24 11:10:18 +05:30
akhilpanayamparambil
52fda8b159
* Removed syscall.c since this is not required. Implementation done in mbed retarget.cpp file.
...
* Removed rtc_count.h and rtc_count.c since we are porting rtc calendar driver from asf. Keep both drivers for the same peripheral make error in compilation after exporting.
2015-06-24 11:10:18 +05:30
akhilpanayamparambil
ce20024b88
** Initial Commit for Atmel SAMD21J18A and SAMR21G18A.
...
*HAL and CMSIS folder for the Target.
*Updated target.py, gccarm.py for including these targets and settings.py for compiler path.
2015-06-24 11:10:17 +05:30
James Crosby
3cf18be9ee
use mbed-classic as the module name; use YOTTA_GLOBAL_INCLUDE_DIRS
2015-06-23 16:29:04 +01:00
Bogdan Marinescu
61f854b212
Bumped SDK revision number
2015-06-23 15:16:30 +03:00
bcostm
a26a3299ea
[DISCO_F746NG] Fix issue with Virtual Com Port
...
- Add also missing two PWM signals
2015-06-23 12:14:47 +02:00
James Crosby
3ba321b259
necessary definitions for backwards-compatibility build system have been added to target descriptions now, remove them from the CMakeLists.txt here
2015-06-22 12:38:09 +01:00
James Crosby
07f200e918
rename module to mbed-classic
2015-06-22 11:41:10 +01:00
Josephc3
720b8f2bc8
Added KL26 Target
...
Added KL26Z as a target.
2015-06-21 19:03:45 +01:00
sg-
85bf37b778
change all .asm to .S
2015-06-20 13:39:33 -05:00
sg-
db20b30be0
change all .s to .asm
2015-06-20 13:38:26 -05:00
James Crosby
79492c0b71
child could in theory have spaces, so quote it
2015-06-19 13:23:44 +01:00
James Crosby
616be98175
make sure assembly files are included
2015-06-19 13:21:42 +01:00
James Crosby
8c8cbb65b0
initial hard-coded cmake build system for mbed.a
2015-06-19 12:20:06 +01:00
Martin Kojtal
bb7d4bd4db
Merge pull request #1193 from masaohamanaka/master
...
RZ_A1H - Add CAN driver.
2015-06-19 09:22:01 +01:00
dbestm
29401861d8
[NUCLEO_F0xx] RTOS test enhance files to pass test
...
main files: stack size modification
F030: us_ticker.c, hal_tich.h, haltick.c, add ticker to reserve systick
for RTOS
F030+GCC: modif startup for RTOS
2015-06-19 10:21:05 +02:00
Martin Kojtal
d47834cd4d
Merge pull request #1194 from bcostm/master
...
DISCO_F746NG - Add new target
2015-06-19 09:15:00 +01:00
hjjeon0608
5298ab1d4a
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-06-19 14:38:44 +09:00
Jeremy Brodt
d39fd90085
[MAXWSNENV,MAX32600MBED] Added ring oscillator trimming procedure.
2015-06-18 10:42:28 -05:00
bcostm
03095af4a5
[DISCO_F746NG] Add new target (HAL part)
2015-06-18 11:15:03 +02:00
bcostm
31a8794932
[DISCO_F746NG] Add new target (CMSIS part)
2015-06-18 11:05:58 +02:00
tomoyuki yamanaka
f4aea8bb49
Add CAN driver.
...
Add CAN driver.
2015-06-18 14:41:39 +09:00
hjjeon0608
6dfbf69691
Correct the indentation in W7500x_i2c.c only.
2015-06-18 10:55:29 +09:00
sarahmarshy
e99d5bf764
Changed where reply is populated
2015-06-17 16:55:01 -05:00
Martin Kojtal
c33e334a22
Merge pull request #1146 from masaohamanaka/master
...
RZ_A1H - Modify the OS track acquisition method
2015-06-17 11:06:57 +01:00
Martin Kojtal
7c43e7db00
Merge pull request #1140 from neilt6/master
...
RTOS - Added stack checking methods to Thread
2015-06-17 09:56:54 +01:00
Martin Kojtal
0ce53a7cf8
Merge pull request #1175 from bridadan/serial-nc-test
...
Added tests that ensure correct handling of setting Serial pins to NC
2015-06-17 09:04:39 +01:00
Martin Kojtal
b583f22771
Merge pull request #1176 from bridadan/freescale-serial-nc-fix
...
Fix handling of Serial NC pins in K64F,K22F,KL25Z, and KL46Z
2015-06-17 08:50:16 +01:00
Martin Kojtal
a57d6f3d1d
Merge pull request #1188 from adfernandes/master
...
Nordic - Fix GCC compilation warnings
2015-06-17 08:05:52 +01:00
hjjeon0608
91cfb6ca9d
Update I2C driver.
2015-06-17 12:20:07 +09:00
hjjeon0608
925b884f6c
Change wait function.
2015-06-17 11:17:29 +09:00
hjjeon0608
8683f36547
Bug fix about PinMap
2015-06-17 11:16:35 +09:00
hjjeon0608
bc8070d2a9
Update I2C driver and hal api.
2015-06-17 11:16:02 +09:00
hjjeon0608
491ff9ce6d
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-06-17 08:04:35 +09:00
Andrew Fernandes
c0c776645d
Fix GCC compilation warnings.
2015-06-16 15:41:05 -04:00
Martin Kojtal
1ac6ed5171
Merge pull request #1172 from modtronix-com/master
...
Moved target folder, renamed target to NZ32SC151
2015-06-16 08:37:22 +02:00
Martin Kojtal
1d20254fc7
Merge pull request #1179 from dudmuck/master
...
allow outside access to RtcHandle
2015-06-16 08:28:25 +02:00
hjjeon0608
1e7fc642a5
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-06-16 10:46:09 +09:00
hjjeon0608
e128390284
Uncomment gpio_set function.
2015-06-16 08:13:27 +09:00
sarahmarshy
556b889b5f
Populated reply message
2015-06-15 12:44:55 -05:00
Martin Kojtal
bfd1361d65
Merge pull request #1178 from Wiznet/master
...
Wiznet - Change target name and support InterruptIn function.
2015-06-15 14:25:16 +02:00
0xc0170
bf69fa1cfc
Squashed PR #1170 :
...
commit c4bf11cb6a
Merge: 0d58363
77a973c
Author: Mihail Stoyanov <wm@smode.org>
Date: Mon Jun 15 14:41:28 2015 +0300
Merge branch 'master' of https://github.com/mbedmicro/mbed
Conflicts:
workspace_tools/targets.py
commit 0d58363887
Author: Mihail Stoyanov <wm@smode.org>
Date: Tue Jun 9 16:17:27 2015 +0300
Added Nordic license for the soft device
commit d504a3b58a
Merge: 2c5aab7
8902229
Author: Mihail Stoyanov <wm@smode.org>
Date: Tue Jun 9 16:14:47 2015 +0300
Merge branch 'master' of https://github.com/mbedmicro/mbed
commit 2c5aab74eb
Author: Mihail Stoyanov <wm@smode.org>
Date: Wed Jun 3 20:44:25 2015 +0300
Add base MCU support for Cortex-M4. Tidy up targets.py
commit 59b868a517
Merge: 0e23067
927c31a
Author: Mihail Stoyanov <wm@smode.org>
Date: Wed Jun 3 20:39:56 2015 +0300
Merge branch 'master' of https://github.com/mbedmicro/mbed
commit 0e23067718
Author: Mihail Stoyanov <wm@smode.org>
Date: Tue Jun 2 16:08:08 2015 +0300
Add the Delta NNN40 platform to releases
commit 62a585dcda
Merge: e1cd545
7a1d25e
Author: Mihail Stoyanov <wm@smode.org>
Date: Tue Jun 2 16:06:44 2015 +0300
Merge branch 'master' of https://github.com/mbedmicro/mbed
Conflicts:
workspace_tools/tests.py
commit e1cd545a9c
Merge: 5c5e61f
ffd5586
Author: Mihail Stoyanov <wm@smode.org>
Date: Thu May 7 13:07:48 2015 +0300
Merge branch 'master' of https://github.com/mbedmicro/mbed
commit 5c5e61f0ac
Author: Mihail Stoyanov <wm@smode.org>
Date: Thu May 7 13:07:35 2015 +0300
Remove the Disco L053 from RTOS tests as it's not ready yet
commit e75efe3467
Author: Mihail Stoyanov <wm@smode.org>
Date: Wed May 6 13:49:05 2015 +0300
Tidy up targets.py
2015-06-15 14:11:41 +02:00
Martin Kojtal
77a973c009
Merge pull request #1180 from mbedmicro/enet_rx_process_all
...
Update k64f_emac.c
2015-06-15 08:06:10 +02:00
Martin Kojtal
20e58fcc5a
Merge pull request #1181 from neilt6/usb-suspend-fix
...
[USBDevice] LPC11UXX suspend status fix
2015-06-15 08:05:59 +02:00
ajlitt
de5f6fd09b
Fix KL43Z GCC_ARM build
2015-06-14 16:30:31 -05:00
Neil Thiessen
fca1a1c981
[USBDevice] LPC11UXX suspend status fix
...
The USB suspend status changed interrupt is now correctly reported.
2015-06-12 14:51:12 -06:00
Sam Grove
ea652f9aba
Update k64f_emac.c
...
process all available packets at once. Because
the interrupt handler is triggered at an interval
and multiple packets could have been received
during that interval. Fix from private fork by Liyou Zhou
2015-06-12 09:20:18 +01:00
U-owner-PC\owner
d3ff0f24bc
allow outside access to RtcHandle
2015-06-11 18:14:52 -07:00
Martin Kojtal
81af347389
Merge pull request #1174 from 0xc0170/fix_spi_transfer_uni
...
SPI - transfer() unification
2015-06-11 09:02:25 +01:00
hjjeon0608
60a87d97e7
Completed and added pwmout_api
2015-06-11 16:32:58 +09:00
hjjeon0608
c6f7c5dc93
Create a common handler.
2015-06-11 16:28:15 +09:00
hjjeon0608
5a4ce3c600
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-06-11 09:59:34 +09:00
hjjeon0608
f34ee0d2a4
Add InterruptIn function.
...
Now we support InterruptIn.
2015-06-11 09:13:05 +09:00
Brian Daniels
75547f2b71
Fixed handling of Serial NC pins in K64F,K22F,KL25Z, and KL46Z
2015-06-10 11:25:40 -05:00
Brian Daniels
f2ea9c51c7
Added tests that ensure correct handling of setting Serial pins to NC
2015-06-10 11:04:05 -05:00
0xc0170
d971b21b89
Silabs - spi fix master transfer - byte length
2015-06-10 11:04:54 +01:00
0xc0170
e66c1cf254
TimerEvent - include us ticker - fixing us_ticker_read() not available
2015-06-10 10:58:28 +01:00
0xc0170
bd7a82166a
SPI - fix type in start transfer
2015-06-10 10:11:06 +01:00
0xc0170
a3bd9db020
I2C, SerialBase - clearify lengths are in bytes
2015-06-10 10:11:04 +01:00
0xc0170
776a0fcdfa
Silabs - correction in length calculation
2015-06-10 10:11:01 +01:00
0xc0170
6c9be89d6f
SPI - clarification for the event type
2015-06-10 10:09:27 +01:00
0xc0170
81f9c5e028
SPI - transfer unified
2015-06-10 10:09:23 +01:00
Martin Kojtal
4778e33fa1
Merge pull request #1169 from 0xc0170/fix_asynch_constness
...
Fix asynch methods constness
2015-06-10 09:52:36 +01:00
modtronix-com
45f2ca61da
STM32L151RC requires same code as STM32L152RC
...
Special code for STM32L151RC and STM32L152RC
2015-06-10 14:39:00 +10:00
modtronix-com
d314c4a586
Moved target folder as discussed with 0xc0170, renamed target to NZ32SC151
...
Moved target from ../targets/cmsis/TARGET_STM folder to
../targets/cmsis/TARGET_STM/TARGET_STM32L1 folder as discussed with
0xc0170 (github.com/mbedmicro/mbed/pull/928). Renamed target from
NZ32ST1L to NZ32SC151. Details for board at
www.modtronix.com/nz32-sc151.html
2015-06-10 14:37:19 +10:00
0xc0170
a140fc60a6
mbed lib revision - 101
2015-06-09 14:30:00 +01:00
0xc0170
3ae6d045ee
Serial - constness for tx
2015-06-09 10:02:27 +01:00
dbestm
9ed5710ac1
Revert "Revert "[NUCLEO_F030R8][NUCLEO_F070RB] add RTOS test""
...
This reverts commit 4d91eaa3d9
.
2015-06-09 10:53:20 +02:00
dbestm
4d91eaa3d9
Revert "[NUCLEO_F030R8][NUCLEO_F070RB] add RTOS test"
...
This reverts commit 9f3fb198c2
.
2015-06-09 10:51:35 +02:00
dbestm
9f3fb198c2
[NUCLEO_F030R8][NUCLEO_F070RB] add RTOS test
2015-06-09 10:41:33 +02:00
0xc0170
e7feba4e21
I2C - costness for tx buffer
2015-06-09 09:34:48 +01:00
0xc0170
614c5539bc
SPI - constness for tx buffer
2015-06-08 16:39:42 +01:00
Martin Kojtal
833f951fa4
Merge pull request #1164 from 0xc0170/fix_buffer_index
...
CircularBuffer - volatile full flag + indexes
2015-06-08 16:08:07 +01:00
Martin Kojtal
bae47ec370
Merge pull request #1162 from dbestm/master
...
NUCLEO_F103RB, NUCLEO_L152RE - RTOS test enhancement
2015-06-08 13:30:06 +01:00
0xc0170
408956f1e7
CircularBuffer - volatile full flag + indexes
2015-06-08 10:53:52 +01:00
Martin Kojtal
ccd547492b
Merge pull request #1161 from porkybrain/master
...
Fix my overflow bug in CircBuffer
2015-06-08 08:01:09 +01:00
Odin Holmes
6cc142d8b1
used Size+1 insted of size because no c++11 (no constexpr)
2015-06-05 20:04:07 +02:00
Odin Holmes
c918e92124
Fixed typeo in CircBuffer.h
2015-06-05 19:59:37 +02:00
dbestm
1f4fa2dd78
[NUCLEO_F103RB] RTOS + IAR semaphore test
2015-06-04 17:36:12 +02:00
dbestm
171657d67c
[NUCLEO_L152RE] RTOS clock conf
2015-06-04 17:34:29 +02:00
dbestm
a5272f721d
[NUCLEO_L152RE] GCC startup for RTOS
2015-06-04 17:31:36 +02:00
dbestm
1b3896f1c2
[NUCLEO_F103RB] GCC startup for RTOS
2015-06-04 17:29:56 +02:00
bcostm
49f7537f2a
[NUCLEO_F446RE] Clean-up of PeripheralPins.c + add DAC
...
Some pins were missing and others not present.
2015-06-04 17:03:03 +02:00
marcusbirkin
061cb87294
Update cmsis_nvic.c
...
Ensure the NVIC table gets copied to RAM even when it is not at 0x0000
Same as 152b58673f
for TARGET_LPC176X
2015-06-04 09:16:24 +01:00
Martin Kojtal
927c31ab84
Merge pull request #1121 from Wiznet/master
...
Add WIZwiki-W7500
2015-06-03 08:54:53 +01:00
Martin Kojtal
e775613c6b
Merge pull request #1127 from bridadan/wfiTest
...
Added tests for the WFI instruction
2015-06-03 08:44:34 +01:00
Martin Kojtal
acd04f16be
Merge pull request #1151 from toyowata/master
...
SSCI824 - Add rtos build
2015-06-03 08:39:01 +01:00
Martin Kojtal
dd1ab3a5e6
Merge pull request #1148 from stevew817/master
...
Silicon Labs - Improvements in RAM footprint of HAL.
2015-06-03 08:28:28 +01:00
Toyomasa Watarai
56e43df1c7
[SSCI824] Add rtos
...
- Add rtos TARGET_SSCI824 (same as LPC824) and test
- Fixed warning of pwmout_api.c by GCC_ARM
2015-06-03 16:13:06 +09:00
ohagendorf
0abf0f3e41
[STM32F4xx] PWM frequency calculation correction
...
All STM32F4xx mcu with a clock frequency larger than 100MHz (F405, F407,
F429, F446), have two different maximal timer frequencies: SYSCLK and
SYSCLK/2. The pwm frequency calculation was based only on SYSCLK. For
Nucleo target this was OK but for some Discovery and some other targets
the pwm frequency was partly wrong, depending on the used timer.
This PR reads out the specific timer frequency and calculates the
correct pwm frequency.
2015-06-03 01:02:38 +02:00
Steven Cooreman
4b020f80e7
[GPIO] optimize memory usage: get rid of 8 bytes of RAM allocation per GPIO object.
2015-06-02 10:16:52 +02:00
Steven Cooreman
204e716417
* [PwmOut] Fixed same bug as pulsewidth_us in period_us
...
* [PwmOut] Get rid of superfluous static uint32_t, save 4 bytes of RAM in static allocation.
* [PwmOut] Use 16-bit values for saving the top and CC register of the timer to RAM. Saves 4 bytes of RAM per PWM channel.
2015-06-02 10:11:44 +02:00
tomoyuki yamanaka
67fa33af21
modify the OS track acquisition method
...
Modify the OS stack acquisition method to align the A Series with the M Series.
2015-06-02 14:43:09 +09:00
hjjeon0608
86a6703ef5
Change header about license.
2015-06-02 11:01:27 +09:00
hjjeon0608
4d977799b6
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-06-02 08:58:50 +09:00
Martin Kojtal
7a1d25e3df
Merge pull request #1138 from stevew817/master
...
Silicon Labs - Initial test framework pin definitions for EFM32 platforms
2015-06-01 10:53:17 +01:00
Martin Kojtal
6f7f37eec7
Merge pull request #1118 from logost/LPC2460
...
Introduction of new platform LPC2460 MCU
2015-06-01 10:52:03 +01:00
Steven Cooreman
51518f0d4c
Failed to account for PWM prescaler on high frequencies.
2015-06-01 11:37:34 +02:00
Martin Kojtal
7ab478cf5c
Merge pull request #1110 from ohagendorf/nucleo_f446
...
Nucleo_F446RE - adding target
2015-06-01 10:27:07 +01:00
Marcomissyou
78f373c7fd
modify overrides flash_init/flash powerdown and PinName
2015-05-29 13:48:31 +08:00
neilt6
8c972d8867
[RTOS] Added stack checking methods to Thread
...
Added stack checking methods to the Thread class for Cortex-M targets.
The stack memory size, currently free stack memory, and currently used
stack memory are calculated using the TCB. The maximum stack memory
usage is determined by filling the stack with a magic word, and finding
the high water mark.
2015-05-27 11:43:55 -06:00
Dmitry Bogdanov
3ebee14015
Update years in copyright headers in RTX for ARM7 sourses
2015-05-27 19:18:29 +04:00
Dmitry Bogdanov
4ea75b425a
Update years in copyright headers in CMSIS&HAL sources
2015-05-27 19:11:35 +04:00
Steven Cooreman
d49d21cdca
Pin definition update
2015-05-27 16:07:40 +02:00
Martin Kojtal
d9b482ff2b
Merge pull request #1137 from dbestm/master
...
NUCLEO_L053R8 - enhance RTOS main test
2015-05-27 15:00:07 +01:00
0xc0170
1cef3ffb2d
Merge branch 'master' of https://github.com/sg-/mbed into sg--master
...
Conflicts:
libraries/mbed/common/SPI.cpp
2015-05-27 13:09:05 +01:00
0xc0170
bdc4434981
mbed lib revision - 100
2015-05-27 09:19:26 +01:00
dbestm
0370f39673
[NUCLEO_L053R8] enhance RTOS main test
...
To make them passed with GCC and ARM compilers
2015-05-27 10:07:16 +02:00
hjjeon0608
d41f3f335f
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-05-27 10:53:14 +09:00
hjjeon0608
f0f89fc9a4
remove gpio_irq_api.c because not complete
2015-05-27 10:52:34 +09:00
Steven Cooreman
02d6b3200a
Add pin definitions for Silicon Labs parts
2015-05-26 13:31:12 +02:00
Steven Cooreman
14420995b0
Fix RTC, couldn't properly set time.
2015-05-26 11:47:03 +02:00
0xc0170
fc6ffc5819
Silabs - spi - style cosmetic changes for the last 2 commits
2015-05-26 08:44:28 +01:00
hjjeon0608
39c887c769
Bug fixed for test MBED_24(Timeout)
2015-05-26 08:55:30 +09:00
hjjeon0608
b8909ae27d
Merge branch 'master' of https://github.com/mbedmicro/mbed
2015-05-26 08:05:34 +09:00
ohagendorf
5b4e745674
[NUCLEO_F446RE] resolving rebase error and missing test
...
- resolving a rebase conflict
- adding pin config for MBED_A7 test (interruptin)
2015-05-23 19:10:54 +02:00
Olaf Hagendorf
8b73e9093b
[NUCLEO_F446RE] adding to RTOS lib
...
RTOS_1 .. RTOS_8 tests are OK
2015-05-23 19:10:53 +02:00
Olaf Hagendorf
26e44eaa1b
[NUCLEO_F446RE] Exchange linker script and startup file
2015-05-23 19:03:13 +02:00
ohagendorf
455b417b8f
[NUCLEO_F446RE] create new target - part 2
...
Update system_stm32f4xx to new version, generated by STM32CubeMX
Add target name to digital_loop test
Update coide export template
2015-05-23 19:03:12 +02:00
ohagendorf
8edb20bed6
[NUCLEO_F446RE] create the new target
...
Create the new target - mbed_blinky is runnning
2015-05-23 19:03:11 +02:00
Marcus Chang
f0861ccda5
SPI transfers larger than what the DMA can handle are split up in multiple transfers.
2015-05-22 17:30:08 +01:00
Martin Kojtal
88d158e43b
Merge pull request #1130 from stevew817/master
...
Silicon Labs - Cosmetic: apply mbed coding style to HAL
2015-05-22 10:18:28 +01:00
Steven Cooreman
2c55311cfb
cosmetic changes: apply mbed coding style to Silicon Labs HAL.
2015-05-22 10:47:37 +02:00
Martin Kojtal
61deb3e97c
Merge pull request #1125 from 0xc0170/fix_#1124
...
Timer/Ticker - fix constness of the data argument/member
2015-05-22 09:31:39 +01:00
Martin Kojtal
773be33ba7
Merge pull request #1129 from stevew817/master
...
Silicon Labs - Serial ports other than stdio were not properly enabled
2015-05-22 09:31:25 +01:00
Steven Cooreman
e8ff8e7629
Bugfix in Serial: serial ports other than STDIO are not enabled properly.
2015-05-22 09:44:42 +02:00
hjjeon0608
fef219f493
Disable I2C slave
2015-05-22 14:08:01 +09:00
hjjeon0608
8fae6b7a85
Change to static.
2015-05-22 10:42:56 +09:00
hjjeon0608
446bcdd7df
Change header scripts about PeripheralPins.c and PeripheralPins.h
2015-05-22 10:05:40 +09:00
hjjeon0608
82dd920c7e
Change Stack size and heap size to 0x400
2015-05-22 09:44:03 +09:00
hjjeon0608
feb9f51e2c
Now, we support toolchain ARM.
...
So Add the files.
2015-05-22 09:34:46 +09:00