jeromecoutant
21606569da
STM32F4: replace CLOCK_SOURCE_USB by DEVICE_USBDEVICE
2019-02-22 10:53:15 -06:00
Deepika
3fd5f53b51
Dynamic heap support will be breaking change for all targets in IAR 7.x
...
Reverting this feature till IAR 8.x is stable and supported in Mbed OS
for few releases
1. Revert "Add Dynamic heap support to IAR"
This reverts commit 8ee29bbfa2
.
2. Revert "Splited RAM section not compatible with dynamic HEAP."
This reverts commit a645bb2a6b
.
3. Revert "Add Dynamic heap support to IAR"
This reverts commit 891e1f261b
.
2019-02-22 09:25:09 +00:00
deepikabhavnani
b91dbab4bd
Add Dynamic heap support to IAR
...
Two new block properties available in linker configuration files:
"expanding size" and "minimum size" for IAR 8.11.2 and above
Sample:
define block HEAP with expanding size, minimum size = 16K, alignment = 8 {};
This block will expand to consume all remaining available space in
the range where it is placed. If several such blocks end up in the same
range, they will share the remaining space.
Cannot place a block with expanding size inside another block with
expanding size, inside a block with maximum size, or inside an overlay.
2019-02-22 09:25:07 +00:00
aqin
84f52a871b
adding updated binary for IAR v8.32
2019-02-22 09:25:06 +00:00
Martin Kojtal
39c8374760
Merge pull request #9554 from SeeedJP/hal-wio_3g-9450
...
Wio 3G: Modified sequence of module startup.
2019-02-20 13:57:33 +01:00
Yoshihiro TSUBOI
c41f1c75d7
[Wio 3G] Fix onboard modem initialization
...
Fix for issue #9450 by adding turning off the modem power at startup, so that modem is sure to be in the initial state.
Fix for wrong filename and classname.
// WIP
2019-02-20 19:00:12 +09:00
Deepika
e522c4691e
Target_STM:_sbrk updated to use limits from linker files no need to set defines
...
_sbrk uses the exports from linker file __end and __HeapLimit to allocate memory
in heap. Linker scripts were updated accordingly to set the limits.
2019-02-19 15:49:49 -06:00
Yoshihiro TSUBOI
89bb25efc1
[Wio BG96] Fix onboard modem initialization
...
Fix for issue #9450 by adding turning off the modem power at startup, so that modem is sure to be in the initial state.
2019-02-19 00:44:38 +09:00
Nir Sonnenschein
8c2ad14ace
Merge pull request #9568 from ARMmbed/feature-cellular-refactor
...
Merge feature cellular refactor
2019-02-07 18:17:32 +02:00
Martin Kojtal
7106d0d201
Merge pull request #9557 from SeeedJP/hal-wio_bg96-9026
...
[Wio BG96] Modified pin map
2019-02-05 10:51:59 +01:00
Yoshihiro TSUBOI
e19ddef069
[Wio BG96] Modified pin map
...
* Remove unused Peripheral Pins definitions and add UART_1 TXD/RXD pins (fix #9026 ) for the Wio BG96 board
* Remove/Fix unused PinName definitions for the Wio BG96 board from the PinNames enum
2019-02-04 23:04:37 +09:00
Martin Kojtal
346ebe6344
Merge pull request #9556 from SeeedJP/hal-wio_3g-9026
...
[Wio 3G] Modified pin map
2019-02-04 14:41:58 +01:00
Yoshihiro TSUBOI
a2f1e9c01e
[Wio 3G] Modified pin map
...
* Remove unused Peripheral Pins definitions and add UART_1 TXD/RXD pins (fix #9026 ) for the Wio 3G board
* Remove/Fix unused PinName definitions for the Wio 3G board from the PinNames enum
2019-02-04 18:12:29 +09:00
Ari Parkkila
7578d5b174
Cellular: Fix mbed2-build of onboard-modems
2019-01-29 01:08:17 -08:00
jeromecoutant
a5ef971402
STM32: PeripheralPins files minor update
...
Script version 1.4
CubeMX DB version DB.5.0.1
2019-01-24 10:51:30 +01:00
Ari Parkkila
af0d2cf61d
Cellular: Update API description to match better onboard_modem_api
2019-01-22 02:24:45 -08:00
Ari Parkkila
c4de2f2f0e
Cellular: Power API updated to match onboard_modem_api
2019-01-22 02:24:45 -08:00
Ari Parkkila
269d151b12
Cellular: Default modem drivers with FF_ARDUINO
2019-01-22 02:24:45 -08:00
Ari Parkkila
75caa75a96
Cellular: Add get_target_default_instance in CellularDevice
2019-01-22 02:24:45 -08:00
Przemyslaw Stekiel
58f6bf7292
[STM] Support boot stack size configuration option
2019-01-08 15:32:06 +01:00
Martin Kojtal
63eca294a1
Merge pull request #9163 from InfernoEmbedded/fix-8913-partner
...
Don't use define checks on DEVICE_FOO macros (partner code)
2019-01-07 16:37:24 +00:00
Cruz Monrreal
a8fa6ec38b
Merge pull request #9174 from ashok-rao/MTB_ODIN_v2_fixes
...
MTB_ODIN_v2_fixes
2018-12-22 12:33:53 -06:00
Ashok Rao
64e9ad0b11
MTB_ODIN_v2_fixes
...
1. Removed redundant code comments. Added relevant ones for MTB pins.
2. More SPI_CS pins added for peripherals on the MTB.
3. Disabled LSE_Clock as it is not present on the MTB in targets.json
2018-12-21 11:40:43 +00:00
Alastair D'Silva
aa80b7c70a
Don't use define checks on DEVICE_FOO macros (partner code)
...
The DEVICE_FOO macros are always defined (either 0 or 1).
This patch replaces any instances of a define check on a DEVICE_FOO
macro with value test instead.
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-20 20:02:29 +11:00
jeromecoutant
a8c87c0804
STM32F429/STM32F439 alignment
2018-11-30 09:20:29 +01:00
Cruz Monrreal
1c1638342d
Merge pull request #8708 from SeeedJP/wio_bg96_hal
...
[Wio BG96] Adding platform HAL
2018-11-26 11:22:29 -06:00
Senthil Ramakrishnan
ef8c1c3cb6
Linker script modifications for crash data region
2018-11-16 13:59:59 -06:00
Yoshihiro TSUBOI
dad6ede7f5
[Wio 3G] Added default I/F type and pin defs
2018-11-15 17:38:03 +09:00
Yoshihiro TSUBOI
cd2a5835f8
fixed year and added SPDX identifier
2018-11-13 00:03:02 +09:00
Yoshihiro TSUBOI
222b21e593
[Wio BG96] Adding platform HAL
2018-11-11 23:32:22 +09:00
Cruz Monrreal
1bbcfff8f3
Merge pull request #8566 from u-blox/github8520issue
...
Wifi: ublox fix to keep the credentials stored
2018-10-30 08:47:58 -05:00
Ammad Rehmat
74ce0b78a4
fixes the credentials storage, copies them internally rather than just a pointer to external storage
2018-10-29 17:32:41 +05:00
Cruz Monrreal
63946d56d8
Merge pull request #8452 from u-blox/ublox_odin_driver_os_5_v3.5.0_rc1
...
ble: update ODIN drivers to v3.5.0 RC1
2018-10-27 09:50:12 -05:00
aqin
2ac6cff107
BLE support added
2018-10-17 14:19:14 +05:00
Janne Kiiskila
de77695b08
Use wait_ms instead of wait(n)
...
Small space savings, the casting from int to float will bloat
the code a bit. Using wait(1.0f) for example would avoid it,
but seems a bit silly to use floats for anything unless
really needed (in embedded products).
2018-10-16 10:00:54 +03:00
Deepika
bf1a2c8485
[ST]: Fix alignment of execute region to 8-byte boundary in ARM linker files
...
--legacyalign, --no_legacyalign are deprecated from ARMC6 compiler, in order to
remove deprecated flags all linker files should strictly align to 8-byte boundary
2018-10-09 14:47:14 -05:00
Yossi Levy
acfda5895e
Changes in PR #7774 of PinNames.h should be reverted. This commit reverts those files excpet for K82F and K64F which are left as an example
2018-09-05 14:13:05 +03:00
Martin Kojtal
44925d8527
Merge pull request #7579 from u-blox/ublox_odin_driver_os_5_v3.0.0_rc1
...
Updated ODIN drivers to v3.0.0 RC1
2018-09-03 09:25:32 +02:00
Ammad Rehmat
b934632653
Access Point API
2018-08-31 11:33:30 +05:00
Yossi Levy
ed8e170d15
Moving SD, SPIF and FLASHIAP into mbedos and refactoring features storage directory structure.
2018-08-29 12:01:11 +03:00
jeromecoutant
b47c1ef6c4
STM32F4 assert in SetSysClock replaced
2018-08-13 15:54:51 +02:00
Cruz Monrreal
d65abb662f
Merge pull request #7289 from mikaleppanen/odin_iar_heap_inc
...
On STM32F439xI IAR linker file decreased stack size and increased heap
2018-07-31 11:36:52 -05:00
bcostm
7097e07b62
stm32 ticker: typo corrections
2018-07-11 14:43:36 +02:00
bcostm
d8e839a789
stm32 ticker: change license
2018-07-11 14:43:16 +02:00
bcostm
32031cbab3
stm32 ticker: rename hal_tick.h in us_ticker_data.h
2018-07-11 14:42:44 +02:00
bcostm
fbd7a97e19
stm32 ticker: rename macro and update ST HAL Tick functions
...
- rename TIM_MST_16BIT in TIM_MST_BIT_WIDTH in order to use it directly in ticker info structure
- change HAL_InitTick() and HAL_GetTick()
2018-07-11 14:39:42 +02:00
jeromecoutant
f50720e2a4
TARGET_STM32F4 astyle
2018-06-27 14:42:28 +02:00
Mika Leppänen
50a130b61d
On STM32F439xI IAR linker file decreased stack size and increased heap
...
Decreased stack size from 24kB to 1kB (stack is used on boot-up/interrupt
handler). Increased heap size from 65kB to 89kB.
Change is related to issue https://github.com/ARMmbed/mbed-os/issues/7137
where UBLOX_EVK_ODIN_W2 runs out of heap on WLAN.
2018-06-25 10:19:16 +03:00
Seppo Takalo
b4726cbca5
Provide default WiFi interface for Ublox EVK ODIN W2
2018-06-19 16:40:55 +03:00
Cruz Monrreal
276588f9fa
Merge pull request #7098 from SeeedJP/feature-cellular-mux
...
[Wio 3G] Adding platform
2018-06-14 10:17:19 -05:00
Yoshihiro TSUBOI
16e706ecd4
[Wio 3G] Changed suggested points
...
Changed accessibility cellular features member functions, fixed minor target issues
2018-06-08 20:13:58 +09:00
bcostm
b087390a1a
Remove HAL_TICK_DELAY (no more used)
2018-06-05 16:53:40 +02:00
ytsuboi
e5b8591818
[Wio 3G] Adding platform
2018-06-04 15:55:43 +09:00
Kevin Bracey
13dcef63e3
Merge pull request #6847 from ARMmbed/feature-emac
...
Merge feature-emac branch into master
2018-05-24 16:47:04 +03:00
Asif Rizwan
332c6eabeb
recompiled driver against NetworkInterface changes on latest feature-emac
2018-05-23 12:25:23 +03:00
Asif Rizwan
ce08691dad
WiFi EMAC class name reflected in WiFi drivers binaries
2018-05-23 12:25:22 +03:00
Asif Rizwan
657ac3f643
WIFI_EMAC class renamed to OdinWiFiEMAC, Formatting
...
Revert "in ODIN emac initialization required before connection"
2018-05-23 12:25:21 +03:00
Asif Rizwan
0b14f1277e
EMAC adaption added, updated ODIN drivers to v2.5.0 RC1
2018-05-23 12:25:18 +03:00
Mika Leppänen
ef68eb8b4d
Enabled greentea and mbed-os-example-tls/client/sockets test for STM
2018-05-23 12:24:02 +03:00
Kevin Bracey
6930c6d3cf
Ignore old EMAC Wifi drivers
...
Suppress Odin W2 and Realtek Wi-fi drivers using .mbedignore
2018-05-23 12:23:59 +03:00
jeromecoutant
b30f3abf11
STM32 PeripheralPins.c second update after review
...
genpinmap script version 1.1
2018-05-17 17:58:09 +02:00
jeromecoutant
bcadeff645
STM32F4 NUCLEO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:04:15 +02:00
Ashok Rao
a5899db9e5
ODIN MTB LEDs Fix
2018-02-23 17:10:09 +00:00
jeromecoutant
ea9c1f29a1
STM32F4 Cube v1.19.0 update : ST CMSIS files
...
Previous version was v1.16.0
2018-02-15 16:33:32 +01:00
Kevin Bracey
984cc1ab50
Merge pull request #6032 from jarlamsa/status-callbacks
...
Status callbacks
2018-02-15 13:02:10 +02:00
Wilfried Chauveau
d1a0ff9964
remove magic calibration value for HSI in ST's targets
2018-02-12 16:47:35 +00:00
Andreas Larsson
67772a5e95
Added u-blox ODIN-W2 driver binaries v2.4 rc1
2018-02-09 12:54:47 +02:00
Ashok Rao
188a68829f
Fixed serial pins and a typo for ODIN MTB
2018-02-07 15:12:40 +00:00
jeromecoutant
8f647beacb
STM32 : set all PinMap structures as weak
...
This allow custom overwrites
2018-01-29 09:26:49 +01:00
jeromecoutant
9c6e7c0fa0
STM32F4: STDIO_UART_TX and STDIO_UART_RX can be now user defined
...
NB for UBLOX targets: usb_rx and usb_tx config name are still available
in order to not break current applications.
2018-01-08 11:42:46 +01:00
Jimmy Brisson
af9e07357a
Merge pull request #5740 from ashok-rao/master
...
Adding MTB ublox ODIN W2 as a new target.
2018-01-04 10:05:02 -06:00
Anna Bridge
20ad454f2b
Merge pull request #5613 from andreaslarssonublox/ublox_init_odin_evk_leds
...
Added init for ODIN EVK LEDs to be off by default
2017-12-29 14:30:50 +00:00
Ashok Rao
e324d16fab
Fixing indentation
2017-12-21 15:38:58 +00:00
Ashok Rao
dc3c7fc11e
Adding MTB ublox ODIN W2
2017-12-20 18:52:04 +00:00
andreas.larsson
1eef1cd771
Added license header
2017-11-30 08:50:11 +01:00
andreas.larsson
b5e9a5ca14
Added init for ODIN EVK LEDs to be off by default
2017-11-29 08:24:42 +01:00
andreas.larsson
f2de0956b4
Updated ODIN drivers to v2.3 RC1
2017-11-28 12:22:45 +01:00
Andrea Corrado
53c476acf2
introduced mbed Connect Cloud board based on ODIN-W2 Module rety commit, added ublox changes
...
Corrected error
Corrected error in targets json
Reworked JSON
Added lwip-eth to Connect ODIN removes ARM CC error
Fixed formating issues
Correct formating error in .json
Indentation errors
2017-10-31 11:24:28 +00:00
Jimmy Brisson
f596c714bd
Merge pull request #5287 from andreaslarssonublox/ublox_odin_driver_os_5_v2.2_rc1
...
Updated u-blox ODIN-W2 binaries to 2.2 rc1
2017-10-13 09:27:29 -05:00
andreas.larsson
bc3fd12a0d
Updated u-blox ODIN-W2 binaries to 2.2 rc1
2017-10-04 16:41:59 +02:00
andreas.larsson
120c9ad56c
Moved STDIO_UART defines to targets.json for UBLOX_EVK_ODIN_W2 instead of hardcoded.
2017-10-02 17:45:41 +02:00
Jimmy Brisson
cc0b3d05aa
Merge pull request #5130 from bcostm/freeze_timer_in_debug
...
STM32: Freeze master timer on stop/breakpoint
2017-10-02 10:38:57 -05:00
Jimmy Brisson
60ca4e9615
Merge pull request #5029 from kegilbert/odin-pinNames-whitespace-adjust
...
Adjust whitespace in Odin PinNames file to fit verbose LED pin mappings
2017-09-29 10:07:46 -05:00
Jimmy Brisson
a2cdb10bf7
Merge pull request #4932 from LMESTM/can_reset
...
Fix STM32 CAN reset to not lose context
2017-09-20 16:24:40 -05:00
bcostm
9f86a32baf
Add freeze timer on debug for all STM32 devices
...
This is a continuation of the work done on the STM32F401xE devices only.
2017-09-18 13:31:46 +02:00
Jimmy Brisson
15a9a0382b
Enable Compiling with ARMC6 across all targets
...
remove duplicate sys.cpp
2017-09-11 13:20:32 -05:00
Kevin Gilbert
6fa766da50
Adjust whitespace in Odin PinNames file to fit verbose LED pin mappings
2017-09-05 13:43:06 -05:00
Laurent MEUNIER
66162c6b1d
STM32: move can_s definition to common_objects.h
...
This will ease up further changes to the structure.
2017-09-05 10:27:21 +02:00
Kevin Gilbert
41000e091c
Add LED color remapping definitions to Odin target
2017-09-01 17:00:24 -05:00
Janne Kiiskilä
2e6cd907d4
UBLOX_ODIN_EVK_W2 - add BUTTON1/2 definitions
...
UBLOX_ODIN_EVK_W2 is missing the abstract button definitions originally
introduced with PR https://github.com/ARMmbed/mbed-os/pull/4249 .
Fix two tab to spaces issues on the go as well.
2017-08-22 09:54:53 +03:00
adustm
8bd7b595d8
Move flash_api.c to STM32F4 level + add flash_data.h for STM32F412 device
...
add FLASH to targets.json
2017-08-03 14:14:05 +02:00
Laurent MEUNIER
8540e8a1dd
STM32: Analogin - define handle in object not as a global
...
In this commit, the analogin_s structure is moved to commonn_objects.h file
to limit the duplicaion.
The ADC handle is moved from a global variable to a struct member of the
analogin object. This allows multiple ADC instances to work correctly.
Note that State needs to be explicitely set to HAL_ADC_STATE_RESET
because the object is not zero initialized.
2017-07-17 13:23:45 +02:00
Jimmy Brisson
3d86959dd8
Merge pull request #4485 from kegilbert/f429_sdk_flash_driver-rebase
...
Replace CMSIS flash driver by SDK flash driver
2017-07-10 12:03:03 -05:00
Jimmy Brisson
d382d44f06
Merge pull request #4529 from LMESTM/issue_1083
...
Manage multiple instances of analog out
2017-06-30 13:53:46 -05:00
adustm
90bc8ca7ae
Replase CMSIS flash driver by SDK flash driver
2017-06-29 14:25:27 -05:00
adustm
e7fb5b4edd
Rebase of: dfd0cf63e9
...
fix STM32F439 flash HAL
2017-06-29 14:24:40 -05:00
adustm
64e902edda
Rebase: 0d1c6c2d34
...
This commit completely rewrote flash_api.c in a few places so kicked out changes from Master and accepted the branch changes.
F429 + F439 : changes after code review
GetSector has been rewritten
2017-06-29 14:24:40 -05:00
jeromecoutant
2ae2d9896e
STM32F4: json clock source configuration
...
- default value is the same as before patch
- system_stm32f4xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c
- nvic_addr.h file is now in TARGET_STM level, and can be used everywhere
2017-06-29 09:57:40 +02:00
Laurent MEUNIER
024b3da5f1
STM32: analog_out: generalize code for multiple instance handling
...
Moving some code in common to be able to manage several ADC instances,
or several channels of an instance.
The change involves:
- moving dac_s structure definition to common_object.h
- create TARGET_STM/analogout_api.c and move fully common analog_out
functions in there
- rename analogout_api.c of each target family into analogout_device.c
to keep platform specific code
- update analogout_device.c to rely on obj->handle and obj->channel
- align analogout_init function as much as possible between families in
analogout_device.c files
2017-06-27 09:27:46 +02:00
Anna Bridge
55355d7374
Merge pull request #4401 from jeromecoutant/PR_USB_PIN
...
STM32 : Add USB used pins in PinNames.h files
2017-06-23 11:37:19 +01:00