We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
The assembly code is as following
ConfigurationDscr:
db DSCR_CONFIG_LEN ;; Descriptor length
db DSCR_CONFIG ;; Descriptor type
db (ConfigurationDscrEnd-ConfigurationDscr) mod 256 ;; Total Length (LSB)
db (ConfigurationDscrEnd-ConfigurationDscr) / 256 ;; Total Length (MSB)
ConfigurationDscrEnd:
The expression (ConfigurationDscrEnd-ConfigurationDscr) will cause invalid relocatable segment in LX51 but not in BL51. Is there any good solution ?
The expression (ConfigurationDscrEnd-ConfigurationDscr) will cause invalid relocatable segment in LX51 but not in BL51. Is there any good solution ? I guess you have ajmp or acall in your code. If one of the linkers locate it just a tad differently, this error could pop up.
Erik