I find complie problem in lwip. in ip_addr.h
PACK_STRUCT_BEGIN
struct ip_addr_packed {
PACK_STRUCT_FIELD(u32_t addr);
} PACK_STRUCT_STRUCT;
PACK_STRUCT_END
In Chibios, chtypes.h, it defined as
#define PACK_STRUCT_BEGIN
#define PACK_STRUCT_STRUCT __attribute__((packed))
#define PACK_STRUCT ...
Search found 4 matches
- Fri Aug 24, 2012 1:04 pm
- Forum: Development and Feedback
- Topic: packed structure macros for different ports
- Replies: 6
- Views: 6892
- Tue Aug 07, 2012 2:56 am
- Forum: General Support
- Topic: I2CConfig error : unknown type name 'I2CConfig'
- Replies: 4
- Views: 5520
Re: I2CConfig error : unknown type name 'I2CConfig'
oh.....halconf.h .....
Change this to TRUE and make it work. Thank you.
Code: Select all
/**
* @brief Enables the I2C subsystem.
*/
#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__)
#define HAL_USE_I2C TRUE
#endifChange this to TRUE and make it work. Thank you.
- Mon Aug 06, 2012 6:51 pm
- Forum: General Support
- Topic: I2CConfig error : unknown type name 'I2CConfig'
- Replies: 4
- Views: 5520
Re: I2CConfig error : unknown type name 'I2CConfig'
Hello,
I got similar error in 2.4.2. Does it support i2c?
When I try to define the i2c constant, it come out this error.
/* I2C interface #1 */
static const I2CConfig i2cfg1 = {
OPMODE_I2C,
400000,
FAST_DUTY_CYCLE_2,
};
----------------------------------
Error[Pe020]: identifier "I2CConfig" is ...
I got similar error in 2.4.2. Does it support i2c?
When I try to define the i2c constant, it come out this error.
/* I2C interface #1 */
static const I2CConfig i2cfg1 = {
OPMODE_I2C,
400000,
FAST_DUTY_CYCLE_2,
};
----------------------------------
Error[Pe020]: identifier "I2CConfig" is ...
- Wed Aug 01, 2012 6:46 pm
- Forum: General Support
- Topic: checking the value on a pin
- Replies: 10
- Views: 8507
Re: checking the value on a pin
I got same problem with the STM32F4-Discovery demo. I spent several hours to look for solution. And also, registered an account to ask for solution.
It also displaying error during debug:
----------------------------------
Thu Aug 02, 2012 01:36:22: The stack pointer for stack 'CSTACK' (currently ...
It also displaying error during debug:
----------------------------------
Thu Aug 02, 2012 01:36:22: The stack pointer for stack 'CSTACK' (currently ...